我正在尝试在Linux环境( RHEL 6.5)中设置chef服务器和工作站。我使用的是chef-server版本11.0.10。在设置chef工作站时,我安装了12.3版。
由于我在执行刀具配置命令时遇到了问题,所以我尝试卸载chef-client并安装11.0.0版。
我执行了以下命令来卸载chef-client:
rpm -qa \*chef\*
yum remove <package>当我尝试安装chef-client 11.0.0时,我得到如下错误:
from package chef-12.3.0-1.el6.x86_64
file /opt/chef/embedded/share/terminfo/x/xnuppc-144x48 from install of chef-11.0.0-1.el6.x86_64 conflicts with file from package chef-12.3.0-1.el6.x86_64
file /opt/chef/embedded/share/terminfo/x/xnuppc-144x48-m from install of chef-11.0.0-1.el6.x86_64 conflicts with file from package chef-12.3.0-1.el6.x86_64
file /opt/chef/embedded/share/terminfo/x/xnuppc-160x64 from install of chef-11.0.0-1.el6.x86_64 conflicts with file from package chef-12.3.0-1.el6.x86_64
file /opt/chef/embedded/ssl/misc/c_info from install of chef-11.0.0-1.el6.x86_64 conflicts with file from package chef-12.3.0-1.el6.x86_64
file /opt/chef/embedded/ssl/misc/c_issuer from install of chef-11.0.0-1.el6.x86_64 conflicts with file from package chef-12.3.0-1.el6.x86_64
file /opt/chef/embedded/ssl/misc/c_name from install of chef-11.0.0-1.el6.x86_64 conflicts with file from package chef-12.3.0-1.el6.x86_64
file /opt/chef/embedded/ssl/misc/tsget from install of chef-11.0.0-1.el6.x86_64 conflicts with file from package chef-12.3.0-1.el6.x86_64
file /opt/chef/embedded/ssl/openssl.cnf from install of chef-11.0.0-1.el6.x86_64 conflicts with file from package chef-12.3.0-1.el6.x86_64
file /opt/chef/version-manifest.txt from install of chef-11.0.0-1.el6.x86_64 conflicts with file from package chef-12.3.0-1.el6.x86_64任何解决这个问题的建议都是非常感谢的。提前谢谢。
发布于 2015-06-18 19:58:26
我不是rpm专家,但似乎安装了该包的另一个版本(12.3.0)。
检查它是否是真的,以及为什么要安装它,可能会导致问题。
发布于 2016-03-21 22:47:49
我能够使用-e标志完全删除chef包。
尝试:
rpm -e packagename https://stackoverflow.com/questions/30914618
复制相似问题