在 RHEL 5.3 box,如何修复yum错误

分享于 

4分钟阅读

电脑

  繁體 雙語

问题:

当我尝试安装 5.3版linux框中的任何软件包时,出现错误。 以前我已经使用yum安装了 mc ( 午夜指挥官),但最近它。

我怎么修复它?

谢谢你

我已经在下面插入了一个会话的日志。


[root@anjanb ~]# yum install multitail


Repository engineering-update is listed more than once in the configuration


Repository engineering-install is listed more than once in the configuration


Repository emergency-update is listed more than once in the configuration


Repository emergency-install is listed more than once in the configuration


emergency-install | 951 B 00:00


primary.xml.gz | 215 B 00:00


emergency-desktop-update | 951 B 00:00


primary.xml.gz | 222 B 00:00


emergency-desktop-install | 951 B 00:00


primary.xml.gz | 223 B 00:00


emergency-engineering-update | 951 B 00:00


primary.xml.gz | 226 B 00:00


emergency-engineering-install | 951 B 00:00


primary.xml.gz | 227 B 00:00


engineering-install | 951 B 00:00


primary.xml.gz | 157 B 00:00


engineering-update | 1.1 kB 00:00


primary.xml.gz | 6.3 kB 00:00


engineering-update 41/41


desktop-install | 951 B 00:00


primary.xml.gz | 157 B 00:00


workstation | 1.3 kB 00:00


primary.xml.gz | 265 kB 00:00


workstation 1205/1205


base | 1.3 kB 00:00


primary.xml.gz | 614 kB 00:00


base 1953/1953


desktop-update | 1.1 kB 00:00


primary.xml.gz | 36 kB 00:00


desktop-update 142/142


cisco-linux-common | 1.1 kB 00:00


primary.xml.gz | 5.3 kB 00:00


cisco-linux-common 18/18


vt | 1.3 kB 00:00


primary.xml.gz | 8.8 kB 00:00


vt 40/40


emergency-update | 1.1 kB 00:00


primary.xml.gz | 82 kB 00:00


emergency-update 190/190


cisco-linux-desktop | 1.1 kB 00:00


primary.xml.gz | 18 kB 00:00


cisco-linux-desktop 62/62


adobe-linux-i386 | 951 B 00:00


primary.xml.gz | 12 kB 00:00


http://linuxdownload.adobe.com/linux/i386/repodata/primary.xml.gz: [Errno -1] Me tadata file does not match checksum


Trying other mirror.


primary.xml.gz | 12 kB 00:00


http://linuxdownload.adobe.com/linux/i386/repodata/primary.xml.gz: [Errno -1] Me tadata file does not match checksum


Trying other mirror.


Error: failure: repodata/primary.xml.gz from adobe-linux-i386: [Errno 256] No mo re mirrors to try.


[root@anjanb ~]#


[root@anjanb ~]#


[root@anjanb ~]# yum install multitail


Repository engineering-update is listed more than once in the configuration


Repository engineering-install is listed more than once in the configuration


Repository emergency-update is listed more than once in the configuration


Repository emergency-install is listed more than once in the configuration


primary.xml.gz | 12 kB 00:00


http://linuxdownload.adobe.com/linux/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum


Trying other mirror.


Error: failure: repodata/primary.xml.gz from adobe-linux-i386: [Errno 256] No more mirrors to try.


[root@anjanb ~]#




回答 1:

除非是网络问题( 尝试在浏览器中打开 URL ),否则不能确定。 将 --disablerepo=adobe-linux-i386 传递到yum以暂时禁用 repo。


回答 2:

below 命令行 可能会帮助你:


yum clean all && yum makecache && yum update




回答 3:

转到/eyc/yum.repos. d,而chek在( 输出显示出这个方向的投诉) 中没有重复项。 看看不同的仓库,并确保你确实需要他们的("yum列表安装"告诉你每个包裹是从哪里来的)。



BOX  FIX  errors  YUM  RHEL  
相关文章