# yum install subversion subversion-devel neon neon-devel
尝试安装某些软件包时yum
(如上所示),我收到以下错误
Transaction Check Error:
file /usr/share/locale/de/LC_MESSAGES/libpq.mo from install of postgresql-libs-8.1.22-1.el5_5.1.i386 conflicts with file from package postgresql-libs-8.1.11-1.el5_1.1.x86_64
file /usr/share/locale/es/LC_MESSAGES/libpq.mo from install of postgresql-libs-8.1.22-1.el5_5.1.i386 conflicts with file from package postgresql-libs-8.1.11-1.el5_1.1.x86_64
file /usr/share/locale/fr/LC_MESSAGES/libpq.mo from install of postgresql-libs-8.1.22-1.el5_5.1.i386 conflicts with file from package postgresql-libs-8.1.11-1.el5_1.1.x86_64
file /usr/share/locale/pt_BR/LC_MESSAGES/libpq.mo from install of postgresql-libs-8.1.22-1.el5_5.1.i386 conflicts with file from package postgresql-libs-8.1.11-1.el5_1.1.x86_64
file /usr/share/locale/tr/LC_MESSAGES/libpq.mo from install of postgresql-libs-8.1.22-1.el5_5.1.i386 conflicts with file from package postgresql-libs-8.1.11-1.el5_1.1.x86_64
现在,问题是,如果我尝试运行yum-complete-transaction
,它会删除 130 个包 (!)。我怎样才能在不删除从 bash 到 openssl 再到 yum 的所有包的情况下解决此错误!
答案1
旧版本的 yum 默认会安装 x86_64 和 i386 软件包。尝试
# yum install subversion.x86_64 subversion-devel.x86_64 neon.x86_64 neon-devel.x86_64