好吧,我尝试安装它,但是出现错误。
kernel-2.6.35.11-83.9.amzn1.i686 has missing requires of mkinitrd >= ('0', '6.0.91', None)
答案1
看起来您正在使用预制的 Amazon Linux 映像。它们从本地存储库中修剪了许多默认的 CentOS 库。您可以手动重新添加 CentOS 存储库,它应该可以帮助您找到任何缺失的软件包。
答案2
对于那些对默认 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