May 31, 2012

rpmError

Forums: 

root@debian:/home/linjieli# rpm -i linuxqq*.rpm
rpm: RPM should not be used directly install RPM packages, use Alien instead!
rpm: However assuming you know what you are doing...
rpmdb: Program version 4.8 doesn't match environment version 5.1
error: db3 error(-30971) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch
error: cannot open Packages index using db3 - (-30971)
error: cannot open Packages database in /root/.rpmdb
rpmdb: Program version 4.8 doesn't match environment version 5.1
error: db3 error(-30971) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch
error: cannot open Packages database in /root/.rpmdb

How can I do ?