Bonjour,
With last update of kernel (4.11.9-200.fc25.x86_64) akmod is unable to install nvidia modules.
Error message:
erreur : db5 erreur(-30969) de dbenv->open: BDB0091 DB_VERSION_MISMATCH: Database environment version mismatch erreur : impossible d'ouvrir l'index Packages en utilisant db5 - (-30969) erreur : impossible d'ouvrir la base de données paquet dans /var/lib/rpm Erreur : Error: rpmdb open failed
But rpm kmod-nvidia-340xx-4.11.9-200.fc25.x86_64-340.102-3.fc25.x86_64.rpm was built and I could install it manually usinf dnf install.
What is wrong with the automatic install through akmod?
Thank you.
On Sun, 2017-07-16 at 10:40 +0200, François Patte wrote:
Bonjour,
With last update of kernel (4.11.9-200.fc25.x86_64) akmod is unable to install nvidia modules.
Error message:
erreur : db5 erreur(-30969) de dbenv->open: BDB0091 DB_VERSION_MISMATCH: Database environment version mismatch erreur : impossible d'ouvrir l'index Packages en utilisant db5 - (-30969) erreur : impossible d'ouvrir la base de données paquet dans /var/lib/rpm Erreur : Error: rpmdb open failed
But rpm kmod-nvidia-340xx-4.11.9-200.fc25.x86_64-340.102-3.fc25.x86_64.rpm was built and I could install it manually usinf dnf install.
What is wrong with the automatic install through akmod?
This may or may not be the problem, but in the past I would often have issues when akmod could not install a package after building it, because dnf had the database locked. You can look in /var/cache/akmods/nvidia/*.log to see the details. In every case, simply running 'dnf install' on the compiled rpm (same directory) worked with no problems.
poc
On 07/16/17 16:40, François Patte wrote:
Bonjour,
With last update of kernel (4.11.9-200.fc25.x86_64) akmod is unable to install nvidia modules.
Error message:
erreur : db5 erreur(-30969) de dbenv->open: BDB0091 DB_VERSION_MISMATCH: Database environment version mismatch erreur : impossible d'ouvrir l'index Packages en utilisant db5 - (-30969) erreur : impossible d'ouvrir la base de données paquet dans /var/lib/rpm Erreur : Error: rpmdb open failed
But rpm kmod-nvidia-340xx-4.11.9-200.fc25.x86_64-340.102-3.fc25.x86_64.rpm was built and I could install it manually usinf dnf install.
What is wrong with the automatic install through akmod?
This seems to be pointing to a problem with the rpm database.
I would probably consider
rm /var/lib/rpm/__db* rpmdb --rebuilddb