Be very careful messing with your RPM database. You can cause serious system failure if you mess up your RPM packages. One trick that works for us is to rebuild the RPM database.
root@www root]# cd /var/lib/rpm/
[root@www rpm]# ls
Basenames __db.003 Installtid Provideversion Sha1header
Conflictname Dirnames Name Pubkeys Sigmd5
__db.001 Filemd5s Packages Requirename Triggername
__db.002 Group Providename Requireversion
[root@www rpm]# rm __db*
rm: remove regular file `__db.001'? y
rm: remove regular file `__db.002'? y
rm: remove regular file `__db.003'? y
[root@www rpm]# rpm --rebuilddb
[root@www rpm]#
A corrupted RPM database can cause problems with up2date locking up.
Categories
- GNU/Linux (20)
- Linux Security (12)
- Ubuntu Tutorials (20)
- Web Browsers (1)
- Windows 2000 (20)
- Windows 2003 (13)
- Windows 7 (8)
- Windows Vista (43)
- Windows XP (54)
Bookmark us
Sunday, July 20, 2008
Rebuilding the RPM Database
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment