[英]Transaction check error due to conflicting python versions during packstack install of OpenStack-Train
The packstack installation of openstack is failing with the following error - openstack 的 packstack 安装失败并出现以下错误 -
/Stage[main]/Nova::Vncproxy/Nova::Generic_service[vncproxy]/Package[nova-vncproxy]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install openstack-nova-novncproxy' returned 1: Transaction check error:
file /usr/bin/websockify from install of python2-websockify-0.8.0-13.el7.noarch conflicts with file from package python3-websockify-0.10.0-3.el8.noarch
file /usr/share/man/man1/websockify.1.gz from install of python2-websockify-0.8.0-13.el7.noarch conflicts with file from package python3-websockify-0.10.0-3.el8.noarch
Above you can see that two files (/usr/bin/websockify & /usr/share/man/man1/websockify.1.gz) are conflicting between python2-websockify & python3-websockify & so any one of them has to be removed but,在上面你可以看到两个文件(/usr/bin/websockify & /usr/share/man/man1/websockify.1.gz)在 python2-websockify & python3-websockify 之间有冲突,所以他们中的任何一个都必须被删除但,
while checking the installed packages of the system I can see that python2-websockify is only available in the system but not installed in the system.在查看系统安装的包时,发现python2-websockify只在系统中可用,并没有安装在系统中。
[root@controller ~]# yum list | grep -i python2-web
python2-webob.noarch 1.8.5-1.el7 @centos-ceph-nautilus
python2-websocket-client.noarch 0.54.0-1.el7 centos-ceph-nautilus
python2-websockify.noarch 0.8.0-13.el7 centos-openstack-train
[root@controller ~]# yum list installed | grep -i python2-web
python2-webob.noarch 1.8.5-1.el7 @centos-ceph-nautilus
However python3-websockify is installed in the system & I cannot remove it because the nova-novnc package has a dependency on that one.但是python3-websockify安装在系统中,我无法删除它,因为 nova-novnc package 依赖于它。
[root@controller ~]# yum list installed | grep -i python3-web
python3-websockify.noarch 0.10.0-3.el8 @/python3-websockify-0.10.0-3.el8.noarch
Now, how can I remove the python2-websockify.noarch which is not even installed on the system?现在,我怎样才能删除系统上什至没有安装的python2-websockify.noarch ? & when it is not installed then why the error is mentioning &当它没有安装时,为什么会提到错误
from install of python2-websockify-0.8.0-13.el7.noarch conflicts with file from package python3-websockify-0.10.0-3.el8.noarch
I tried to delete the python2-websockify but as it is not installed so giving following messages -我试图删除 python2-websockify 但因为它没有安装所以给出以下消息 -
[root@controller ~]# yum remove python2-websockify-0.8.0-13.el7.noarch
Loaded plugins: fastestmirror
No Match for argument: python2-websockify-0.8.0-13.el7.noarch
No Packages marked for removal
Problem solved after removing the epel-release because the puppet was coming updated from Epel instead of packstack删除 epel-release 后问题解决了,因为人偶是从 Epel 而不是 packstack 更新的
#yum autoremove epel-release #yum autoremove epel-release
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.