在使用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
解决方法:
# rm -f /var/lib/rpm/__db*
下载地址:
其他下载:
1.
2.
MD5:
2ecb8a9991ae4186645f7190a0d18862 rhel-3-U4-i386-as-disc1.iso
b6a68c61d32a63bfbd8dcf2f7c15a021 rhel-3-U4-i386-as-disc2.iso
b54d6d93f321a9ab76ab3c9fdef33705 rhel-3-U4-i386-as-disc3.iso
c4b0cc1210d78f942f87a6bd6e501ac1 rhel-3-U4-i386-as-disc4.iso
yum源1:
[RHAS3-download.ourlinux.net-up4]
name=AS3 $releasever - $basearch - up4
baseurl=
yum源2:[使用非电信的宽带速度会比较快]
[RHAS3-yum.ourlinux.net-up4]
name=AS3 $releasever - $basearch - up4
baseurl=
apt源1:
#for RHAS3 UP4
rpm yum/redhat/AS/3/up4 os updates
apt源2:[使用非电信的宽带速度会比较快]
#for RHAS3 UP4
rpm redhat/AS/3/up4 os updates
在使用过程中有问题请联系我,MSN:bixuan At linuxfans dot org
阅读(1228) | 评论(0) | 转发(0) |