Home > OS >  For help: the RPM database is damaged, use -- rebuilddb reconstruction or an error
For help: the RPM database is damaged, use -- rebuilddb reconstruction or an error

Time:04-27

[root @ localhost RPM] # ls
Basenames __db. 001 __db. 003 Group Name Packages Requirename Sigmd5
Conflictname __db. 002 Dirnames Installtid Obsoletename Providename Sha1header Triggername
[root @ localhost RPM] # rm - rf __db. *
[root @ localhost RPM] # ls
Basenames Dirnames Installtid Obsoletename Providename Sha1header Triggername
Conflictname Group Name Packages Requirename Sigmd5
[root @ localhost RPM] # RPM -- rebuilddb
Error: RPMDB: BDB3037/var/lib/RPM Packages: the file size not a multiple of the pagesize
Error: unable to use the db5 - invalid parameter index (22) to open the Packages
[root @ localhost RPM] # ls
Basenames Dirnames Installtid Obsoletename Providename Sha1header Triggername
Conflictname Group Name Packages Requirename Sigmd5
[root @ localhost RPM] #
  • Related