Ask Your Question
2

Remove package from copr repo and reinstall "normal" package

asked 2018-10-17 05:48:31 -0500

Onox gravatar image

Hi,

I am on Fedora 28 and some months ago, I installed the mutter package with eglstream support from there (this is what is explained in the RPM Fusion nvidia how-to if you want to use Wayland with an nvidia card). But that copr package is not being updated anymore, and it seems that you won’t need it in Fedora 29 anyway (and I am not using Wayland right now). Since it’s an older version, that package now blocks other upgrades :

Problème 1: package mutter-1:3.28.2-1.fc28.x86_64 requires libpipewire-0.1.so.0()(64bit), but none of the providers can be installed
  - cannot install both pipewire-0.2.3-1.fc28.x86_64 and pipewire-0.1.9-1.fc28.x86_64
  - cannot install both pipewire-0.1.9-1.fc28.x86_64 and pipewire-0.2.3-1.fc28.x86_64
  - cannot install the best update candidate for package pipewire-0.1.9-1.fc28.x86_64
  - cannot install the best update candidate for package mutter-1:3.28.2-1.fc28.x86_64
 Problème 2: problem with installed package mutter-1:3.28.2-1.fc28.x86_64
  - package mutter-1:3.28.2-1.fc28.x86_64 requires libpipewire-0.1.so.0()(64bit), but none of the providers can be installed
  - cannot install both pipewire-0.2.3-1.fc28.x86_64 and pipewire-0.1.9-1.fc28.x86_64
  - cannot install both pipewire-0.1.9-1.fc28.x86_64 and pipewire-0.2.3-1.fc28.x86_64
  - package firefox-62.0.3-4.fc28.x86_64 requires libpipewire-0.2.so.1()(64bit), but none of the providers can be installed
  - cannot install the best update candidate for package firefox-62.0.3-1.fc28.x86_64

I would like to remove the copr mutter package and install the latest package from the Fedora repositories, but I cannot get it to work ! If I disable the copr repo or use a command like dnf --disablerepo=mati865-mutter-eglstream --enablerepo=updates install mutter, dnf replies that mutter is already installed and does nothing, and if use the same command with reinstall instead, it still wants to reinstall the one from mati865. I did not dare yet to completely uninstall mutter because then, dnf wants to remove all the dependencies that become unused, and I think that the GNOME desktop will not work anymore. What is the best way to solve this ? Thanks !

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
4

answered 2018-10-17 06:22:02 -0500

villykruse gravatar image

You can use the full name of mutter, for example

dnf install mutter-3.28.1-1.fc28.x86_64

This will downgrade or upgraded as required to install that exact version.

edit flag offensive delete link more

Comments

Thank you very much, this worked ! (I installed version 3.28.3-4, then I just disabled the copr repo)

Onox gravatar imageOnox ( 2018-10-17 11:46:31 -0500 )edit
2

answered 2018-11-04 07:15:06 -0500

genodeftest gravatar image

updated 2018-11-04 07:16:19 -0500

You can also run

dnf copr disable fasname/reponame

followed by

dnf distro-sync

Explanation: The latter does try to upgrade or downgrade any package which does not match the latest version in the repositories.

edit flag offensive delete link more

Comments

I think this is better than the accepted answer; no need to explicitly specify package versions. Thanks for the dnf distro-sync command, I didn't know about that.

jnuutinen gravatar imagejnuutinen ( 2019-01-27 00:18:52 -0500 )edit

Question Tools

Stats

Asked: 2018-10-17 05:48:31 -0500

Seen: 549 times

Last updated: Nov 04 '18