Hi,
I’m receiving these error messages while updating. Also cannot rpm --rebuilddb.
Can you please tell me what’s wrong and maybe how to fix this one?
This one could coincide with this one: https://ask.fedoraproject.org/t/fedora-32-loading-nouveau-and-not-nvidia-drivers/7802/6
(the main issue is that F33 is not working with the secondary display after latest automatical update - driver nVidia 3:460.39-1.fc33).
# dnf update --best --allowerasing
warning: Found bdb Packages database while attempting sqlite backend: using bdb backend.
warning: Found bdb Packages database while attempting sqlite backend: using bdb backend.
error: rpmdb: damaged header #5862 retrieved -- skipping.
error: rpmdb: damaged header #5854 retrieved -- skipping.
Last metadata expiration check: 0:30:38 ago on Wed 10 Feb 2021 01:52:04 PM CET.
Dependencies resolved.
Nothing to do.
Complete!
# mv /var/lib/rpm/__db.00* /tmp
# rpm --rebuilddb
warning: Converting database from bdb to sqlite backend
error: cannot open Packages index using bdb - Permission denied (13)
Also tried this guide:
https://docs.fedoraproject.org/en-US/quick-docs/how-to-set-nvidia-as-primary-gpu-on-optimus-based-laptops/