Hi all I run the preupgrade software from F9 to F10.
After the reboot I obtain a window in which I have an anaconda 11.4.1.62 exception report. I cant write the report because it was not able to write to disk.
In the text terminal I can read:
rpmdb: Program version 4.5 doesn't match environment version 0.128 error: db4 error(-30972) from dbenv->open: DB_VERSION_MISMATCH: database environment version mismatch error: cannot open Packages index using db3 error: cannot open Packages database in /mnt/sysimage/var/lib/rpm
I tried to rebuild the rpm db as seen in some google search removing the __db.* and then rebuild them with rpm --rebuilddb, but all that was done by fedora 9.
I think I should use rpm from fedora 10 to have the right db, but I can't imagine how to pause the installer.
Another chance could be to start the installer without the __db*, but I don't know if rpm rebuild the database before to start the upgrade process.
Can someone point me to the right solution? Tnx Ambrogio
On Thu, 2009-09-17 at 14:36 +0200, Ambrogio wrote:
Hi all I run the preupgrade software from F9 to F10.
After the reboot I obtain a window in which I have an anaconda 11.4.1.62 exception report. I cant write the report because it was not able to write to disk.
In the text terminal I can read:
rpmdb: Program version 4.5 doesn't match environment version 0.128 error: db4 error(-30972) from dbenv->open: DB_VERSION_MISMATCH: database environment version mismatch error: cannot open Packages index using db3 error: cannot open Packages database in /mnt/sysimage/var/lib/rpm
I tried to rebuild the rpm db as seen in some google search removing the __db.* and then rebuild them with rpm --rebuilddb, but all that was done by fedora 9.
I think I should use rpm from fedora 10 to have the right db, but I can't imagine how to pause the installer.
Another chance could be to start the installer without the __db*, but I don't know if rpm rebuild the database before to start the upgrade process.
Can someone point me to the right solution?
---- if I recall correctly, you had to update yum in Fedora 9 because a change was made during the lifetime of Fedora 9 and Fedora 10 used the newer version of the RPM database. If you can reboot into Fedora 9 instead and run (as root), 'yum update yum', this would probably fix it.
Again, I am going from memory here...it's been a while.
Craig
Tnx Craig for the response
Il giorno gio, 17/09/2009 alle 08.26 -0700, Craig White ha scritto:
if I recall correctly, you had to update yum in Fedora 9 because a change was made during the lifetime of Fedora 9 and Fedora 10 used the newer version of the RPM database. If you can reboot into Fedora 9 instead and run (as root), 'yum update yum', this would probably fix it.
F9 works perfectly because no update processes start.
Again, I am going from memory here...it's been a while.
Ops... my fedora 9 is uptodated. I don't see update for a long time
I can't understand what is appens. I used also the terminal 2 from the anaconda to rebuild the rpm database with: # rm -f /mnt/sysimage/var/lib/rpm/__db* # rpm --root /mnt/sysimage --rebuilddb
but this didn't solve the problem.
yum check-update Plugin caricati:downloadonly, fastestmirror, fedorakmod, kernel-module, list-data, presto, priorities, refresh-packagekit, verify Setting up and reading Presto delta metadata livna | 2.4 kB 00:00 No Presto metadata available for livna fedora | 2.4 kB 00:00 No Presto metadata available for fedora rpmfusion-free-updates | 2.4 kB 00:00 No Presto metadata available for rpmfusion-free-updates rpmfusion-nonfree-updates | 2.4 kB 00:00 No Presto metadata available for rpmfusion-nonfree-updates rpmfusion-free | 951 B 00:00 No Presto metadata available for rpmfusion-free adobe-linux-i386 | 951 B 00:00 No Presto metadata available for adobe-linux-i386 updates-newkey | 3.4 kB 00:00 No Presto metadata available for updates-newkey freshrpms | 2.8 kB 00:00 No Presto metadata available for freshrpms rpmfusion-nonfree | 951 B 00:00 No Presto metadata available for rpmfusion-nonfree panorama | 951 B 00:00 No Presto metadata available for panorama updates | 2.6 kB 00:00 No Presto metadata available for updates Loading mirror speeds from cached hostfile * livna: ftp-stud.fht-esslingen.de * fedora: mirror.switch.ch * updates-newkey: mirror.switch.ch * updates: mirror.switch.ch
flash-plugin.i386 10.0.32.18-release adobe-linux-i386
Il giorno gio, 17/09/2009 alle 17.38 +0200, Ambrogio ha scritto:
Tnx Craig for the response
Il giorno gio, 17/09/2009 alle 08.26 -0700, Craig White ha scritto:
if I recall correctly, you had to update yum in Fedora 9 because a change was made during the lifetime of Fedora 9 and Fedora 10 used the newer version of the RPM database. If you can reboot into Fedora 9 instead and run (as root), 'yum update yum', this would probably fix it.
F9 works perfectly because no update processes start.
Again, I am going from memory here...it's been a while.
Ops... my fedora 9 is uptodated. I don't see update for a long time
I can't understand what is appens. I used also the terminal 2 from the anaconda to rebuild the rpm database with: # rm -f /mnt/sysimage/var/lib/rpm/__db* # rpm --root /mnt/sysimage --rebuilddb
but this didn't solve the problem.
Hi all I solved the problem installing on my Fedora 9. The problem was that anaconda told the error: PackageSackError: No Package matching kernel
I use the PAE kernel version.
After some attempts I installed the kernel for i586. After that I run the preupgrade that downloaded the updated kernel for i586 and at reboot all worked well.
I don't know if it's a problem on preupgrade (in fedora 9) or on anaconda (in the new fedora 10) but I think is a big problem.
In a few weeks I will try also the step F10 -> F11 and if I found the same problem I will file a bug.
Bye Ambrogio