简体   繁体   English

OpenStack-Train packstack 安装过程中由于 python 版本冲突导致的事务检查错误

[英]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.

相关问题 Openstack:错误:由于 EnvironmentError 无法安装软件包 - Openstack: ERROR: Could not install packages due to an EnvironmentError 同一系统错误中的python版本冲突 - Conflicting python versions in the same system error ubuntu中python的冲突版本 - Conflicting versions of python in ubuntu 由于`configure: error: C compiler cannot create executables`,Pyenv 无法安装 Python 3 的旧版本 - Pyenv unable to install older versions of Python 3 due to `configure: error: C compiler cannot create executables` 冲突 package 版本/Python 中的依赖项 - Conflicting package versions / dependencies in Python 错误:无法安装 gluonts、mxnet、numpy 和 pandas,因为这些软件包版本具有相互冲突的依赖项 - ERROR: Cannot install gluonts, mxnet, numpy and pandas because these package versions have conflicting dependencies 错误:无法安装 en-core-web-trf,因为这些 package 版本具有冲突的依赖项 - ERROR: Cannot install en-core-web-trf because these package versions have conflicting dependencies 由于环境错误无法安装python包 - Unable to install python packages due to enviroment error 由于 cmake 错误,无法安装 python package - Cannot install python package due to cmake error Python中的冲突库错误 - Conflicting libraries error in Python
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM