我尝试将我的电脑从 Centos 7.3 升级到 Centos 7.4,但是出现以下错误:
Transaction check error:
file /usr/bin/pydoc3 from install of python34-3.4.5-4.el7.x86_64 conflicts with file from package python3-3.3.2-12.el7.nux.x86_64
file /usr/bin/python3 from install of python34-3.4.5-4.el7.x86_64 conflicts with file from package python3-3.3.2-12.el7.nux.x86_64
file /usr/bin/pyvenv from install of python34-3.4.5-4.el7.x86_64 conflicts with file from package python3-3.3.2-12.el7.nux.x86_64
file /usr/share/man/man1/python3.1.gz from install of python34-3.4.5-4.el7.x86_64 conflicts with file from package python3-3.3.2-12.el7.nux.x86_64
file /usr/lib64/libpython3.so from install of python34-libs-3.4.5-4.el7.x86_64 conflicts with file from package python3-libs-3.3.2-12.el7.nux.x86_64
Error Summary
-------------
我已经浏览过发行说明 在处理已知问题的部分中没有发现任何与此问题相关的内容。在谷歌上搜索此错误时,我也没有找到任何结论性的信息。
有人可以向我解释一下导致此错误的原因以及如何解决它吗?
非常感谢,安德烈
答案1
您只需在终端中输入以下内容即可:
yum remove python3-libs-3.3.2-12.el7.nux.x86_64
yum remove python3-3.3.2-12.el7.nux.x86_64
然后再试一次
亲切的问候