在使用yum或者apt的升级过程中,可能会出现如下错误:
rpmdb: Program version 4.2 doesn't match environment version
error: db4 error(22) from dbenv->open: 无效的参数
error: cannot open Packages index using db3 - 无效的参数 (22)
error: cannot open Packages database in /var/lib/rpm
E: could not open RPM database