[opensuse] zypper dup results in error: DB_RUNRECOVERY
Hiall, just trying to do a distro upgrade with zypper from 11.2 to 11.4. I replaced the repos with the corresponding 11.4 versions and the zypper update went well. Now after zypper dup and about 15 mins of downloading and installing, I see a whole series of errors in the following style (there are hundreds until the shell buffer ends, all within /usr/src/linux-2.6.37.6-0.5- obj/i386/debug/include/config/): error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) getting "/usr/src/linux-2.6.37.6-0.5- obj/i386/debug/include/config/strip/asm/" records from Dirnames index Any ideas? should I just retry zypper dup? Kostas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, May 25, 2011 at 10:10:46AM +0300, Konstantinos Georgokitsos wrote:
Hiall,
just trying to do a distro upgrade with zypper from 11.2 to 11.4. I replaced the repos with the corresponding 11.4 versions and the zypper update went well. Now after zypper dup and about 15 mins of downloading and installing, I see a whole series of errors in the following style (there are hundreds until the shell buffer ends, all within /usr/src/linux-2.6.37.6-0.5- obj/i386/debug/include/config/):
error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) getting "/usr/src/linux-2.6.37.6-0.5- obj/i386/debug/include/config/strip/asm/" records from Dirnames index
Any ideas? should I just retry zypper dup?
For some reason the rpm database became corrupted. It usually helps to run once: rpm --rebuilddb and then run zypper again. Ciao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday, May 25, 2011 10:17:24 AM Marcus Meissner wrote:
On Wed, May 25, 2011 at 10:10:46AM +0300, Konstantinos Georgokitsos wrote:
Hiall,
just trying to do a distro upgrade with zypper from 11.2 to 11.4. I replaced the repos with the corresponding 11.4 versions and the zypper update went well. Now after zypper dup and about 15 mins of downloading and installing, I see a whole series of errors in the following style (there are hundreds until the shell buffer ends, all within /usr/src/linux-2.6.37.6-0.5- obj/i386/debug/include/config/):
error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) getting "/usr/src/linux-2.6.37.6-0.5- obj/i386/debug/include/config/strip/asm/" records from Dirnames index
Any ideas? should I just retry zypper dup?
For some reason the rpm database became corrupted.
It usually helps to run once: rpm --rebuilddb
and then run zypper again.
Ciao, Marcus
OK, worked! Cool! Thanks Marcus. Kostas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hiall,
just trying to do a distro upgrade with zypper from 11.2 to 11.4. I replaced the repos with the corresponding 11.4 versions and the zypper update went well. Now after zypper dup and about 15 mins of downloading and installing, I see a whole series of errors in the following style (there are hundreds until the shell buffer ends, all within /usr/src/linux-2.6.37.6-0.5- obj/i386/debug/include/config/):
error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) getting "/usr/src/linux-2.6.37.6-0.5- obj/i386/debug/include/config/strip/asm/" records from Dirnames index
Any ideas? should I just retry zypper dup? you might try a "rpm --rebuilddb" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
"Markus Koßmann"
-
Konstantinos Georgokitsos
-
Marcus Meissner