我有一个 CentOS6 服务器,已经 5 年没有出现问题了,但是它突然开始出现错误yum update
。
这是 yum update 的输出:
libc.so.6(GLIBC_2.14)(64bit) is needed by libdc1394-2.2.2-3.el7.x86_64
libc.so.6(GLIBC_2.14)(64bit) is needed by smp_utils-libs-0.98-3.el7.x86_64
libc.so.6(GLIBC_2.15)(64bit) is needed by sshpass-1.05-5.el7.x86_64
libc.so.6(GLIBC_2.14)(64bit) is needed by fdupes-1.51-6.el7.x86_64
libc.so.6(GLIBC_2.14)(64bit) is needed by arj-3.10.22-22.el7.x86_64
libc.so.6(GLIBC_2.14)(64bit) is needed by wireless-tools-1:29-13.el7.x86_64
libc.so.6(GLIBC_2.15)(64bit) is needed by wireless-tools-1:29-13.el7.x86_64
libc.so.6(GLIBC_2.14)(64bit) is needed by libwnck-2.31.0-1.el7.x86_64
libc.so.6(GLIBC_2.14)(64bit) is needed by libc-client-2007f-4.el7.1.x86_64
libc.so.6(GLIBC_2.15)(64bit) is needed by libc-client-2007f-4.el7.1.x86_64
libc.so.6(GLIBC_2.14)(64bit) is needed by smp_utils-0.98-3.el7.x86_64
libc.so.6(GLIBC_2.14)(64bit) is needed by libmcrypt-2.5.8-13.el7.x86_64
libc.so.6(GLIBC_2.14)(64bit) is needed by unique-1.1.6-10.el7.x86_64
libc.so.6(GLIBC_2.14)(64bit) is needed by xclip-0.12-5.el7.x86_64
libc.so.6(GLIBC_2.14)(64bit) is needed by libva-1.2.1-3.el7.x86_64
libc.so.6(GLIBC_2.14)(64bit) is needed by libtidy-0.99.0-31.20091203.el7.x86_64
我已经尝试使用,yum --skip-broken
但没有成功。
服务器libc.so.6
是 2.12,没有更新。
我该怎么做才能解决这个问题?
答案1
您安装了 CentOS 7 的 EPEL 存储库,但您正在运行 CentOS 6。
从 中删除该epel-release
包和/或 EPEL repo 文件/etc/yum.repos.d
,然后使用正确的包重试。