rpm包安装没有反应
[[email protected] root]# rpm -ivh screen-3.9.13-5.i386.rpm
就是没有反应啦
怎么办?
进入 /var/lib/rpm
删除 db打头的rpm包就可以了
[[email protected] rpm]# cp -ax /var/lib/rpm /var/lib/rpm.hd.orig
[[email protected] rpm]# ls
Basenames __db.001 __db.003 Filemd5s Installtid Packages Provideversion Requirename Sha1header Triggername
Conflictname __db.002 Dirnames Group Name Providename Pubkeys Requireversion Sigmd5
[[email protected] rpm]# rm -rf __db*
[[email protected] rpm]# ls
Basenames Dirnames Group Name Providename Pubkeys Requireversion Sigmd5
Conflictname Filemd5s Installtid Packages Provideversion Requirename Sha1header Triggername
[[email protected] rpm]# cd
[[email protected] root]# rpm -ivvh screen-3.9.13-5.i386.rpm
D: ============== screen-3.9.13-5.i386.rpm
D: Expected size: 457511 = lead(96)+sigs(344)+pad(0)+data(457071)
D: Actual size: 457511
D: opening db environment /var/lib/rpm/Packages create:cdb:mpool
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0