RHEL5 — 由于 i386 rpm 与 x86_64 rpm 冲突,因此无法更新软件包

RHEL5 — 由于 i386 rpm 与 x86_64 rpm 冲突,因此无法更新软件包

尝试运行 yum update 时,我收到以下错误:

Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
  file /usr/lib/rpm/macros from install of rpm-4.4.2.3-36.el5_11.x86_64 conflicts with file from package rpm-4.4.2.3-36.el5_11.i386
  file /usr/lib/rpm/noarch-linux/macros from install of rpm-4.4.2.3-36.el5_11.x86_64 conflicts with file from package rpm-4.4.2.3-36.el5_11.i386
  file /usr/share/man/man8/pam_sss.8.gz from install of sssd-client-1.5.1-71.el5.x86_64 conflicts with file from package sssd-client-1.5.1-70.el5.i386
  file /usr/share/man/man8/sssd_krb5_locator_plugin.8.gz from install of sssd-client-1.5.1-71.el5.x86_64 conflicts with file from package sssd-client-1.5.1-70.el5.i386

Error Summary
-------------

我尝试过强制更新单个软件包,但没有任何效果。有人能帮我解决这个问题吗?看起来 x86_64 软件包和 i386 软件包发生了冲突。这是在设置 skip-broken 标志的情况下运行的。

答案1

我认为在这种情况下最好使用整个数据包名称

yum remove rpm-4.4.2.3-36.el5_11.i386

yum remove sssd-client-1.5.1-70.el5.i386

答案2

删除冲突的包:

yum 删除 rpm sssd-客户端

然后重新安装它们:

yum 安装 rpm sssd 客户端

相关内容