以及我试图安装它,但没有一个错误。
kernel-2.6.35.11-83.9.amzn1.i686 has missing requires of mkinitrd >= ('0', '6.0.91', None)
它看起来像你正在使用预制的亚马逊Linux的图像。 他们从本地存储库中修剪了很多默认的CentOS库。 您可以手动添加CentOS存储库,它应该可以帮助您find任何丢失的包。
对于那些对默认的CentOS仓库感兴趣的人:
[base] name=CentOS-5 - Base mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=os #baseurl=http://mirror.centos.org/centos/5/os/i386/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 priority=1 [updates] name=CentOS-5 - Updates mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=updates #baseurl=http://mirror.centos.org/centos/5/updates/i386/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 priority=1 [extras] name=CentOS-5 - Extras mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=extras #baseurl=http://mirror.centos.org/centos/5/extras/i386/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 priority=1 #additional packages that extend functionality of existing packages
GPG密钥
rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
来源: https : //forums.aws.amazon.com/message.jspa?messageID=196807