Mutter causes version conflict when updating

sudo dnf update

Last metadata expiration check: 0:02:37 ago on Sun 07 Apr 2024 06:15:55 PM IST.
Dependencies resolved.

 Problem: package mutter-45.0-12.fc39.x86_64 from @System requires mutter-common = 45.0-12.fc39, but none of the providers can be installed
  - cannot install both mutter-common-45.5-1.fc39.noarch from updates and mutter-common-45.0-12.fc39.noarch from @System
  - cannot install both mutter-common-45.5-1.fc39.noarch from updates and mutter-common-45.0-12.fc39.noarch from fedora
  - cannot install the best update candidate for package mutter-common-45.0-12.fc39.noarch
  - cannot install the best update candidate for package mutter-45.0-12.fc39.x86_64
==============================================================================================================
 Package                      Architecture          Version                      Repository              Size
==============================================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 mutter-common                noarch                45.5-1.fc39                  updates                 20 k

Transaction Summary
==============================================================================================================
Skip  1 Package

Nothing to do.
Complete!

sudo dnf update --allowerasing --best

Last metadata expiration check: 0:03:10 ago on Sun 07 Apr 2024 06:15:55 PM IST.
Error: 
 Problem: The operation would result in removing the following protected packages: gnome-shell
(try to add '--skip-broken' to skip uninstallable packages)

sudo dnf update --allowerasing --best --skip-broken

Last metadata expiration check: 0:03:39 ago on Sun 07 Apr 2024 06:15:55 PM IST.
Error: 
 Problem: The operation would result in removing the following protected packages: gnome-shell

What can I do here, and why will updating mutter remove gnome-shell?

I have the same problem, I can’t figure out how to solve it, can you help me?

Please share rpm -qa | grep mutter

1 Like

Thank you for taking care of the problem.

output:

mutter-common-45.0-12.fc39.noarch
mutter-45.0-12.fc39.x86_64

Do you have anything in /etc/yum.repos.d/fedora-updates.repo excluding mutter? Possibly from using a third-party repo for mutter with the VRR patch?

1 Like

I couldn’t figure out exactly what the problem was, I was just trying to upgrade to version 40 of Fedora.
How can I go about solving the problem? Is there a guide?


I disabled 3rd party repos.

As @chrisawi said, check your fedora.repo and fedora-updates.repo in /etc/yum.repos.d/ for the exclude line. If not present in any of them, try doing a sudo dnf distro-sync --refresh before upgrading to F40.

After updating my issue with the mutter got solved…

1 Like

Does it really still show Fedora 39 on the mutter package?

If yes I guess you have to make a distro-sinc first as @zardian mentioned.

Have a look on this section in the Manual:

1 Like