如何修复RHEL 5.3框上的yum错误


0

尝试在RHEL 5.3 linux机器上安装任何软件包时出现错误。我以前使用yum安装了mc(midnight commander),但最近它开始失败。

我该如何解决?

谢谢,

我在下面插入了会话的日志。

[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 ~]#

Answers:


2

除非是网络问题(尝试在浏览器中打开URL),否则无法真正解决该问题。传递--disablerepo=adobe-linux-i386给yum暂时禁用存储库。


谢谢。我无法将yum指向不同的存储库吗?
anjanbacchu 2011年

Adobe的存储库只有一个位置。
伊格纳西奥·巴斯克斯

但是为什么我需要去土坯取包呢?
anjanbacchu 2011年

因为大概在某个时候有人希望在系统上使用Flash。
伊格纳西奥·巴斯克斯


0

转到/eyc/yum.repos.d,然后检查您那里没有重复项(输出显示该方向的投诉)。查看不同的存储库,并确保您确实需要它们(“安装的yum列表”会告诉您每个软件包的来源)。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.