Many Errors and Apps not starting/missing after failed update via dnf

Hey everybody,

new to linux, so please be patient. While updating via command line, Fedora 35 shutdown two times and I had to reboot. Since then, gnome is pretty much broken and a few apps like Gnome Maps or Thunderbird are suddenly not installed anymore or wont start like gnome command center.

I am using Fedora 35 x86-64 with gnome 41.4 and Wayland.

The GUI log looks like this:

When I try to reinstall the missing packages I get the following error:

 Problem 1: package kernel-modules-extra-5.16.17-200.fc35.x86_64 requires kernel-uname-r = 5.16.17-200.fc35.x86_64, but none of the providers can be installed
  - widersprĂĽchliche Anforderungen
 Problem 2: package kernel-5.16.17-200.fc35.x86_64 requires kernel-core-uname-r = 5.16.17-200.fc35.x86_64, but none of the providers can be installed
  - widersprĂĽchliche Anforderungen
(try to add '--skip-broken' to skip uninstallable packages)

Which is strange, because according to uname i got 5.16.18-200.fc35.x86_64 installed…

Installation of system updates using the Software Center also fails with error “Could not depsolve transaktion”

Since updating via command line does not work I cannot just reinstall gnome.

How can I fix this? What informationen should I provide aditionally?

Thanks in advance.

Peter

Does the system boot?
If it does then attempt this.
sudo dnf distro-sync

What can happen with a failed update that is interrupted while performing the update is a corrupted database as well as mismatched package versions, so getting everything back to a matching config is the first step.

3 Likes

Thanks for your reply. Yes the systems boots. I can use a lot of Apps like Browser, GIMP and so on.

When trying this command I get the same error message as shown above:

 Problem 1: package kernel-modules-extra-5.16.17-200.fc35.x86_64 requires kernel-uname-r = 5.16.17-200.fc35.x86_64, but none of the providers can be installed
  - widersprĂĽchliche Anforderungen
 Problem 2: package kernel-5.16.17-200.fc35.x86_64 requires kernel-core-uname-r = 5.16.17-200.fc35.x86_64, but none of the providers can be installed
  - widersprĂĽchliche Anforderungen
(try to add '--skip-broken' to skip uninstallable packages)

When I add “–skip-broken” I still get this error.

When I try to reinstall any gnome app I get the following error and the app wont start after installation:

ransaktion wird ausgefĂĽhrt
  Vorbereitung läuft    :                                                                                                                                            1/1 
  Installieren          : gnome-maps-41.4-1.fc35.x86_64                                                                                                              1/1 
  AusgefĂĽhrtes Scriptlet: gnome-maps-41.4-1.fc35.x86_64                                                                                                              1/1 
/sbin/ldconfig: Datei /lib64/libperl.so.5.34.1 ist leer; keine ĂśberprĂĽfung.
/sbin/ldconfig: Datei /lib64/libopenjp2.so.2.4.0 ist leer; keine ĂśberprĂĽfung.
/sbin/ldconfig: Kann die Datei »/lib64/libopenjp2.so.7« nicht »mmap«-en.

/sbin/ldconfig: Kann die Datei »/lib64/libMagickCore-6.Q16.so.7« nicht »mmap«-en.

/sbin/ldconfig: Datei /lib64/libMagickCore-6.Q16.so.7.0.0 ist leer; keine ĂśberprĂĽfung.
/sbin/ldconfig: Kann die Datei »/lib64/libMagickWand-6.Q16.so.7« nicht »mmap«-en.

/sbin/ldconfig: Datei /lib64/libMagickWand-6.Q16.so.7.0.0 ist leer; keine ĂśberprĂĽfung.
/sbin/ldconfig: Kann die Datei »/lib64/libgutenprint.so.9« nicht »mmap«-en.

/sbin/ldconfig: Datei /lib64/libgutenprint.so.9.5.0 ist leer; keine ĂśberprĂĽfung.

  Überprüfung läuft     : gnome-maps-41.4-1.fc35.x86_64                                                                                                              1/1 

Installiert:
  gnome-maps-41.4-1.fc35.x86_64                                                                                                                                          

Fertig!

This may be due to an rpm database corruption.
The database can be rebuilt following the instructions here.
https://www.cyberciti.biz/tips/rebuilding-corrupted-rpm-database.html

You can use one or more of these options.
--skip-broken, --allowerasing, or --best to allow dnf to attempt to fix things. It especially may be helpful with those options when doing dnf distro-sync since it seems things are really hosed right now.

Another thing to consider is the command dnf list installed --showduplicates since during an upgrade the new packages are installed before the old ones are removed and duplicates of the same package can cause these errors as well.