CORRUPT RPM DATABASE
Strange things sometimes happen, one of them is a corrupt rpm database. This means that the computer tells you something is installed and it really is not.
Here is how to solve this problem.
First backup and then delete by doing the following command:
$ su
< password >
# cp /var/lib/rpm/__db.001 /home/bruno
# rm /var/lib/rpm/__db.001
and
# cp /var/lib/rpm/__db.002 /home/bruno
( NOTE: ¨__¨ is 2x¨_¨ !!! )
# rm /var/lib/rpm/ __db.002
then:
# rpm –rebuilddb
In case your urpmi database is locked you can do:
# rm -f /var/lib/urpmi/.LOCK
A little reminder: the urpmi database ( install on demand ) needs to be updated at least once a month. See to in that you are connected to the internet for this one and :
# urpmi.update -a
uddtm 2011-10-20
« 上一篇:
echo输出叹号 ¦ 下一篇:
tomcat Context startup failed due to previous errors »

网站地图