[Bug 697207] New: Package data base can not be rebuild.
https://bugzilla.novell.com/show_bug.cgi?id=697207 https://bugzilla.novell.com/show_bug.cgi?id=697207#c0 Summary: Package data base can not be rebuild. Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Markus.Elfring@web.de QAContact: jsrain@novell.com Found By: --- Blocker: --- I have noticed the following situation. Name : rpm Relocations: (not relocatable) Version : 4.8.0 Vendor: openSUSE Release : 27.1 Build Date: Do 17 Feb 2011 19:28:43 CET Install Date: Fr 11 Mär 2011 13:08:09 CET Build Host: build11 Group : System/Packages Source RPM: rpm-4.8.0-27.1.src.rpm Sonne:~ # rpm --rebuilddb rpmdb: page 1: illegal page type or format rpmdb: PANIC: Invalid argument rpmdb: Packages: pgin failed for page 1 error: db3 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery rpmdb: PANIC: fatal region error detected; run recovery error: db3 error(-30977) from dbcursor->c_put: DB_RUNRECOVERY: Fatal error, run database recovery rpmdb: PANIC: fatal region error detected; run recovery error: db3 error(-30977) from db->sync: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) allocating new package instance error: cannot add record originally at 8005 rpmdb: PANIC: fatal region error detected; run recovery error: db3 error(-30977) from db->close: DB_RUNRECOVERY: Fatal error, run database recovery rpmdb: PANIC: fatal region error detected; run recovery error: db3 error(-30977) from dbenv->close: DB_RUNRECOVERY: Fatal error, run database recovery warning: failed to rebuild database: original database remains in place error: failed to remove directory /var/lib/rpmrebuilddb.5755: No such file or directory Would an undocumented command like "rpm --recoverdb" repair this issue? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c1
--- Comment #1 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c2
Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c3
--- Comment #3 from Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c4
--- Comment #4 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c5
--- Comment #5 from Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c6
--- Comment #6 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c7
--- Comment #7 from Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c8
--- Comment #8 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c9
--- Comment #9 from Markus Elfring
And "Packages" does not exist before that line? And there is no stray __db* file?
Yes. - I did not see these files before my load command. Does it matter that the page type/format is reported as "illegal" for different page numbers if I repeat my load command?
Can you attach that Packages-20110603-1419.bdb file, please?
No because 115 MB exceed the upload size limit here. Does another communication channel exist to provide useful details in a safe way? (I would feel uncomfortable to provide my complete package data base by a "mail attachment".) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c10
--- Comment #10 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c11
--- Comment #11 from Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c12
--- Comment #12 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c13
--- Comment #13 from Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c14
--- Comment #14 from Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c15
--- Comment #15 from Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c16
--- Comment #16 from Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c17
--- Comment #17 from Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c18
--- Comment #18 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c19
--- Comment #19 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c20
--- Comment #20 from Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c21
--- Comment #21 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c22
--- Comment #22 from Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c23
--- Comment #23 from Markus Elfring
It finished without any error!
The command "rpm --rebuilddb" has also worked on my system a moment ago. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c24
--- Comment #24 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c25
--- Comment #25 from Markus Elfring
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c26
--- Comment #26 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=697207
https://bugzilla.novell.com/show_bug.cgi?id=697207#c27
Michael Schröder
participants (1)
-
bugzilla_noreply@novell.com