[supprimé]
D'où vient le problème et comment y remédier ? :-o[root@localhost rpm]# rpm -ivh /mnt/sata/archive/archive/Linux/logiciels/AdobeReader_enu-7.0.0-1.i386.rpm
error: cannot open Packages database in /var/lib/rpm
[root@localhost rpm]#
D'où vient le problème et comment y remédier ? :-o[root@localhost rpm]# rpm -ivh /mnt/sata/archive/archive/Linux/logiciels/AdobeReader_enu-7.0.0-1.i386.rpm
error: cannot open Packages database in /var/lib/rpm
[root@localhost rpm]#
[root@localhost 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@localhost archives]# rpm --rebuilddb
error: unrecognized db option: "db3" ignored.
Marche pas ![root@localhost rpm]# rm -f /var/lib/rpm/__db.*
[root@localhost rpm]# ls
Basenames Group Providename Requireversion
Conflictname Installtid Provideversion Sha1header
Dirnames Name Pubkeys Sigmd5
Filemd5s Packages Requirename Triggername
[root@localhost rpm]# rpm --rebuilddb
error: unrecognized db option: "db3" ignored.
Then do "rpm --rebuilddb" to fix your database.mkdir -p /var/tmp/xxx
cd /var/tmp/xxx
rpm2cpio rpm-4.0.3-1.03.6x.*.rpm | cpio -dim
chmod -R 755 *
tar cf - ./usr ./etc | (cd /; tar xvf -)