error: cannot open Packages database in /var/lib/rpm in F26 after suspend/resume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anybody has seen this in F26: After suspending and resuming, very often is happens that dnf refuses to update or install some package:

error: db5 error(5) from dbenv->open: Input/output error
error: cannot open Packages index using db5 - Input/output error (5)
error: cannot open Packages database in /var/lib/rpm
Error: Error: rpmdb open failed

Workaround: rebulding the rpm database by: removing the files /var/lib/rpm/__db* and rebuilding them by "rpm --rebuilddb".

Kind regards

Joachim Backes

--

Fedora release 26 (Twenty Six)
Kernel-4.11.4-300.fc26.x86_64


Joachim Backes <joachim.backes@xxxxxxxxxxxxxx>
https://www-user.rhrk.uni-kl.de/~backes/
_______________________________________________
test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux