Bash

bash 卡在 3.2-24.el5 (Redhat)

  • September 29, 2014

我正在嘗試在我們的 Red Hat Enterprise Linux Server 5.6 版伺服器上更新 bash。但它不會找到晚於“3.2-24.el5”的更新。我已經檢查過了,它很容易受到 shellshock 漏洞的影響。我已經完成了 yum clean-all、yum update bash、yum reinstall bash。但它總是回到版本“3.2-24.el5”。

任何人都可以幫忙嗎?

謝謝

如果您不再訂閱並且這種情況不太可能改變,並且您不關心將來會失去 Redhat(或其他供應商)對這個盒子的支持,您可以將其切換到 CentOS 並擁有您的盒子更新了它的包。這並不理想,但它可能仍然比擁有一個無法再更新的盒子更可取。

你被警告了。

“你需要做的就是安裝 centos-release,刪除 redhat-release rpms,然後 yum 更新機器,這應該會引入所有由 CentOS 更改的軟體包(因為它們的 EVR 會稍高一些)。” - 根據 centos-list 上的 KaranbirSingh

您可能還希望從 yum 中刪除“rhnplugin”(不是必需的,但會給出錯誤消息)

或 - 根據 Craig White 在 centos-list Mon, 29 Oct 2007(更新至 5.8)…

# cp /etc/redhat-release /etc/redhat-release-saved
# rpm -e --nodeps redhat-release-notes redhat-release yum-rhn-plugin redhat-logos
# rpm -ivh \ http://mirror.centos.org/centos/5/os/i386/CentOS/centos-release-5-8.el5.centos.i386.rpm \
http://mirror.centos.org/centos/5/os/i386/CentOS/centos-release-notes-5.8-0.i386.rpm \
http://mirror.centos.org/centos/5/os/i386/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm
# yum update

資料來源: http ://wiki.centos.org/HowTos/MigrationGuide

CentOS 中的固定包公告連結: https ://www.centos.org/forums/viewtopic.php?f=47&t=48677

引用自:https://serverfault.com/questions/632232