Linux 卸载chef客户端

Linux 卸载chef客户端,linux,chef-infra,Linux,Chef Infra,我正在尝试在Linux环境(RHEL6.5)中设置chef服务器和工作站。我使用了chef服务器版本11.0.10。在设置chef workstation时,我安装了12.3版 由于我在执行knife configure命令时遇到问题,所以我尝试卸载chef客户端并安装11.0.0版 我执行以下命令卸载chef客户端: rpm -qa \*chef\* yum remove <package> 我们非常感谢您提出任何解决此问题的建议。提前感谢。我不是rpm专家,但似乎安装了该软

我正在尝试在Linux环境(RHEL6.5)中设置chef服务器和工作站。我使用了chef服务器版本11.0.10。在设置chef workstation时,我安装了12.3版

由于我在执行knife configure命令时遇到问题,所以我尝试卸载chef客户端并安装11.0.0版

我执行以下命令卸载chef客户端:

rpm -qa \*chef\*  
yum remove <package>

我们非常感谢您提出任何解决此问题的建议。提前感谢。

我不是rpm专家,但似乎安装了该软件包的另一个版本(12.3.0)


检查它是否正确,以及安装它的原因,可能会让您遇到问题。

我能够使用-e标志完全删除chef软件包

尝试:


我已经安装了12.3.0版本的软件包。但是我卸载了它。我仍然收到这个错误。我可以使用命令卸载12.3.0版:>yum-erase-chefDo您的机器上安装了ruby和rubygems吗?如果是,您可以运行
gem uninstall chef-v
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
rpm -e packagename