unix - 如何在 Centos 5.8 上安装 YUM

标签 unix installation centos rpm yum

<分区>


想改进这个问题吗? Update the question所以它是on-topic用于堆栈溢出。

关闭 10 年前

我不小心把它卸载了。我找到了 yum-3.2.22-39.e15.centos.noarch.rpm 包,当我尝试安装它时显示依赖项失败:

yum-3.2.22-39.el5.centos.noarch 需要 yum-fastestmirror

所以我得到了它并尝试安装它,但我得到了更多失败的依赖项:

yum-plugin-fastestmirror-1.1.30-14.el6.noarch 需要 rpmlib(FileDigests) <= 4.6.0-1 yum-plugin-fastestmirror-1.1.30-14.el6.noarch 需要 yum >= 3.0 yum-plugin-fastestmirror-1.1.30-14.el6.noarch 需要 rpmlib(PayloadIsXz) <= 5.2-1

如何快速正确地安装 YUM 而不会出现不断出现的依赖性问题。

最佳答案

我的解决方案来自:

http://www.linuxquestions.org/questions/linux-general-1/install-yum-934200/

确保在 RPM 上安装快速镜像时添加 nodep 标志。

关于unix - 如何在 Centos 5.8 上安装 YUM,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12480419/

上一篇:centos - Exim垃圾邮件centos,我如何检测来源

下一篇:python - mod_wsgi 测试 wsgi 运行良好,应用程序给出 HTTP 500

相关文章:

Linux : How can the sed command filter all fields except first and last?

java - 安装 JRI 时遇到问题(R 到 java)

java - Hadoop 2.7.2单节点安装windows 10

linux - Rsync - 将源拆分为多组

java file.renameTo() 在 unix 中失败

linux - 如何将一个文件中的行替换/添加到另一个文件

java - 从 Android 应用程序内更新 apk 时解析错误

gcc - CentOS:使用来自 devtoolset 的 GCC 4.7 导致错误地链接 libstdc++( undefined symbol )

linux - 在 shell 脚本中将全局变量从子级导出到父级

asp.net - mod_mono : Random CompilationException errors