I am unable to dnf update due to the following error:
Running transaction check
error: rpmdbNextIterator: skipping h# 1872
Header V4 RSA/SHA256 Signature, key ID 45719a39: BAD
Header SHA256 digest: OK
Header SHA1 digest: OK
error: rpmdbNextIterator: skipping h# 1872
Header V4 RSA/SHA256 Signature, key ID 45719a39: BAD
Header SHA256 digest: OK
Header SHA1 digest: OK
Error: transaction check vs depsolve:
libjpeg.so.62()(64bit) is needed by libgs-9.55.0-1.fc34.x86_64
libjpeg.so.62(LIBJPEG_6.2)(64bit) is needed by libgs-9.55.0-1.fc34.x86_64
To diagnose the problem, try running: 'rpm -Va --nofiles --nodigest'.
You probably have corrupted RPMDB, running 'rpm --rebuilddb' might fix the issue.
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
I tried the recommended solutions but the RPMDB rebuild didn’t work and I didn’t understand the digest output:
To diagnose the problem, try running: ‘rpm -Va --nofiles --nodigest’.
You probably have corrupted RPMDB, running ‘rpm --rebuilddb’ might fix the issue.
Hi, @fedoradev
You did follow the two given possibilities?
To diagnose the problem, try running: 'rpm -Va --nofiles --nodigest'.
You probably have corrupted RPMDB, running 'rpm --rebuilddb' might fix the issue.
dnf instll libjpeg just stated it was already installed.
sudo rpm -U https://www.rpmfind.net/linux/fedora/linux/releases/33/Everything/x86_64/os/Packages/l/libjpeg-turbo-2.0.5-5.fc33.x86_64.rpm
warning: /var/tmp/rpm-tmp.qwtvJN: Header V4 RSA/SHA256 Signature, key ID 9570ff31: NOKEY
error: rpmdbNextIterator: skipping h# 1872
Header V4 RSA/SHA256 Signature, key ID 45719a39: BAD
Header SHA256 digest: OK
Header SHA1 digest: OK
error: rpmdbNextIterator: skipping h# 1872
Header V4 RSA/SHA256 Signature, key ID 45719a39: BAD
Header SHA256 digest: OK
Header SHA1 digest: OK
error: rpmdbNextIterator: skipping h# 1872
Header V4 RSA/SHA256 Signature, key ID 45719a39: BAD
Header SHA256 digest: OK
Header SHA1 digest: OK
file /usr/lib64/libjpeg.so.62.3.0 from install of libjpeg-turbo-2.0.5-5.fc33.x86_64 conflicts with file from package libjpeg-turbo-2.0.90-3.fc34.x86_64
file /usr/share/doc/libjpeg-turbo/ChangeLog.md from install of libjpeg-turbo-2.0.5-5.fc33.x86_64 conflicts with file from package libjpeg-turbo-2.0.90-3.fc34.x86_64
file /usr/share/doc/libjpeg-turbo/README.ijg from install of libjpeg-turbo-2.0.5-5.fc33.x86_64 conflicts with file from package libjpeg-turbo-2.0.90-3.fc34.x86_64
file /usr/share/doc/libjpeg-turbo/README.md from install of libjpeg-turbo-2.0.5-5.fc33.x86_64 conflicts with file from package libjpeg-turbo-2.0.90-3.fc34.x86_64
Since alot of those files are from Fedora 33 you should check out DNF System Upgrade :: Fedora Docs and scroll to the part on how to remove the conflicting files and rebuild the database.