Mailinglist Archive: opensuse-bugs (3319 mails)

< Previous Next >
[Bug 697207] 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#c1


--- Comment #1 from Michael Schröder <mls@xxxxxxxxxx> 2011-06-01 13:26:53 UTC
---
A failing 'rpm --rebuilddb' is really a bad thing. It means, that the main
packages database is corrupt.

1) there's a cronjob entry that backups the rpm database every day. Check the
/var/adm/backup/rpmdb directory

2) you can try to use the berkeleydb tools to get rid of the broken entries:

# cd /var/lib/rpm
# mv Packages Packages.bad
# db_dump Packages.bad | db_load Packages
# rpm --rebuilddb

--
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.
< Previous Next >
This Thread
  • No further messages