centos_Error: Protected multilib versions_解决方法
yum install libc.so.6
Loaded plugins: fastestmirror, refresh-packagekit
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* base: ftp.stust.edu.tw
* epel: mirrors.yun-idc.com
* extras: mirror01.idc.hinet.net
* rpmforge: ftp.riken.jp
* updates: ftp.tc.edu.tw
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package glibc.i686 0:2.12-1.107.el6_4.2 will be installed
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.107.el6_4.2.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.107.el6_4.2.i686
--> Running transaction check
---> Package nss-softokn-freebl.i686 0:3.14.3-3.el6_4 will be installed
--> Finished Dependency Resolution
Error: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:
1. You have an upgrade for glibc which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of glibc of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude glibc.otherarch ... this should give you an error
message showing the root cause of the problem.
2. You have multiple architectures of glibc installed, but
yum can only see an upgrade for one of those arcitectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.
3. You have duplicate versions of glibc installed already.
You can use "yum check" to get yum show these errors.
...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).
Protected multilib versions: glibc-2.12-1.107.el6_4.2.i686 != glibc-2.12-1.47.el6.x86_64
Error: Protected multilib versions: nss-softokn-freebl-3.14.3-3.el6_4.i686 != nss-softokn-freebl-3.12.9-11.el6.x86_64
You could try using --skip-broken to work around the problem
** Found 111 pre-existing rpmdb problem(s), 'yum check' output follows:
SDL-1.2.14-3.el6.x86_64 is a duplicate with SDL-1.2.14-2.el6.x86_64
atlas-3.8.4-2.el6.x86_64 is a duplicate with atlas-3.8.4-1.el6.x86_64
audit-libs-2.2-2.el6.x86_64 is a duplicate with audit-libs-2.1.3-3.el6.x86_64
augeas-libs-0.9.0-4.el6.x86_64 is a duplicate with augeas-libs-0.9.0-1.el6.x86_64
bash-4.1.2-15.el6_4.x86_64 is a duplicate with bash-4.1.2-8.el6.centos.x86_64
boost-date-time-1.41.0-17.el6_4.x86_64 is a duplicate with boost-date-time-1.41.0-11.el6_1.2.x86_64
错误的解决方法(很多就在提示里面):
#1 手动处理重复
这个是要死人的
#2 删除重复的
这个有时候会导致已经编译和安装的软件出问题,所以还是要有心理准备
#3 自动删除重复命令
package-cleanup --cleandupes
这个也会导致#2 的问题
#4 在yum命令后面加入忽略参数:--setopt=protected_multilib=false
you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).
这里说了,很可能导致more probems。不过么,现实中,可以试试看,尤其是保持一个老系统照旧运行时,这个方法会起作用的。
=
-
0
9
*
&
……
%
¥
相关推荐
解决这个问题的一种方法是在安装命令后添加`--setopt=protected_multilib=false`选项。这条命令告诉`yum`临时禁用多库保护机制,以便能够安装不一致版本的库。完整的命令如下: ``` yum install -y zlib zlib-devel ...
CIS_CentOS_Linux_7_Benchmark_v3.0.0.
CentOS_Tomcat_OpenJDK 具有Centos 7,OpenJDK 11.0.9,OpenSSL 1.1.1和Tomcat 9.0.41 / Tomcat本机库1.2.26的容器映像从dockerhub获取图像使用以下方法获取此容器:docker pull techcasita / centos_tomcat_openjdk...
gcc-4.8.5-36.el7.x86_64 cpp-4.8.5-36.el7.x86_64 gcc-c++-4.8.5-36.el7.x86_64 glibc-2.17-260.el7.x86_64 glibc-common-2.17-260.el7.x86_64 glibc-devel-2.17-260.el7.x86_64 ...glibc-headers-2.17-260.el7....
erlang_23.0.2-1版本 centos7 64bit esl-erlang_23.0.2-1_centos_7_amd64.rpm
CentOS 7.9 命令lsb_release: command not found解决方案 RPM安装文件
CIS_CentOS_Linux_8_Benchmark_v1.0.0
在使用CentOS 7进行系统更新时,可能会遇到一个名为“Multilib version problems”的错误,这通常是由于多架构库版本不匹配导致的。Multilib是一个允许在同一个系统中同时安装不同架构(例如32位和64位)的库的技术...
RHEL / CentOS-您所有设备上的所有数据 要求 没有任何 角色变量 下面列出了可用的变量以及默认值。 rslsync_bind_interface: "{{ ansible_default_ipv4.interface }}" rslsync_config_refresh_interval: 3600 ...
近期在修改一台CentOS服务器的dns时发现只要重启服务器DNS就会被强制还原,解决方案如下: 1、首先在网卡设置中修改NM_CONTROLLED的值: 修改文件/etc/sysconfig/network-scripts/ifcfg-eth0的内容: NM_CONTROLLED...
解决方法: yum install libxml2-devel 此错误是由于缺少 libxml2-devel 库文件所引起的。libxml2-devel 库文件是 PHP 编译所需的依赖项,可以使用 yum 命令来安装。 2. configure: error: Cannot find OpenSSL’s...
配置centos服务器的基本设置,工具和变量 要求 没有 角色变量 可选默认值: centos_timezone:“欧洲/维也纳”#默认变量 centos_hostname:“ {{inventory_hostname}}”#根据invetory文件设置主机名) 强制变量:...
linux base漏洞 Centos_redhat_rpm包5.1和5.2.rar 32位及64位均有 第一次(9月25号的包) Centos_Redhat 6 bash-4.1.2-15.el6_5.1.i686.rpm bash-4.1.2-15.el6_5.1.x86_64.rpm Centos_Redhat 5 bash-3.2-33.el5.1....
CentOS的 德比安 科学Linux 的Ubuntu 以下平台已通过Test Kitchen测试: 平台 MySQL PostgreSQL SQLite的 NGINX CentOS的5 :check_mark: CentOS的6 :check_mark: (travis) :check_mark: (travis) ...
CentOS perfectServ 该脚本将在最小和新的CentOS 7系统上安装所有具有ISPConfig 3完整配置所需的内容。 它没有任何保证,需要肯定地加以改进! 这项工作是基于您必须先阅读本文档和脚本本身。 您必须全新安装...
Jul 8 16:44:50 cslouis-pc kernel: [15595.155904] FAT: Filesystem error (dev sdb4) Jul 8 16:44:50 cslouis-pc kernel: [15595.155905] fat_get_cluster: invalid cluster chain (i_pos 0) 从上面可以看出U盘...
《使用CentOS 7.1进行Ansible离线安装的详细指南》 在现代的IT运维领域,自动化工具的重要性不言而喻,Ansible作为一款强大的自动化工具,因其易用性和广泛的功能,深受广大系统管理员的喜爱。对于网络环境不稳定...
解决docker报错Error response from daemon oci runtime error
在Linux世界中,CentOS是一个广泛使用的开源操作系统,它基于Red Hat Enterprise Linux并提供了一个稳定的、企业级的计算平台。Git则是一款强大的分布式版本控制系统,用于管理软件开发过程中的源代码。在CentOS上...
一键安装ChinaDNS-NG,SmartDNS,AdGuardHome到CentOS 8 请注意!!!本脚本尚未完成,存在大量BUG,不建议在实体机或ECS上直接运行 脚本主要功能 部署并配置SmartDNS 部署并配置ChinaDNS-NG,配合Supervisor实现...