Error: Trying to remove "yum", which is protected
来源:互联网 发布:vfp编程入门 编辑:程序博客网 时间:2024/05/09 04:17
执行以下命令时:
yum -y remove libstdc++-4.4.7-11.el6.x86_64.rpm
出现错误:
Error: Trying to remove “yum”, which is protected
问题分析:
应该是要卸载的依赖项包含yum或正在被yum使用,无法卸载。
解决办法 :
只卸载libstdc++-4.4.7-11.el6.x86_64.rpm,忽略依赖项,使用“–nodeps”参数
[root@localhost opt]# rpm -e --nodeps libstdc++-4.4.7-11.el6.x86_64.rpmerror: package libstdc++-4.4.7-11.el6.x86_64.rpm is not installed[root@localhost opt]# rpm -e --nodeps libstdc++-4.4.7-11.el6.x86_64[root@localhost opt]# rpm -e --nodeps libstdc++-4.4.7-11.el6.x86_64error: package libstdc++-4.4.7-11.el6.x86_64 is not installed
2 0
- Error: Trying to remove "yum", which is protected
- Error: Trying to remove "yum", which is protected
- RUNTIME_CLASS(xx)->CreateObject()错误Error: Trying to create object which is not DECLARE_DYNCREATE
- The project you are trying to remove is currently deployed to a running application server.解决方案
- flexjson Error trying to deepSerialize
- dpkg error trying to overwrite
- You are trying to load data from a www stream which had the following error,Unsupported protocol
- "The file you are trying to open, '[filename]', is in a different format" Excel Error
- yum install error: protected multilib versions error
- [INFO] Exception Thrown When Trying To Deserialize An Object Whose Type Is Defined In An Assembly Which Is Loaded By Assembly.Lo
- remove a directory which is not empty
- error trying to exec 'cc1' 错误修复
- error trying to exec 'cc1' 错误修复
- gcc error trying to exec 'cclplus'
- Error while trying to run project
- sublime3中的 Error trying to parser file
- yum install Error: Protected multilib versions:
- yum 安装 出错 Error: Protected multilib versions:
- 收藏的一些资源:包括Android sdk国内镜像,开发中涉及到的各种实用工具
- 欢迎使用Markdown编辑器写博客
- 交替的字符
- 二叉树的前驱和后继
- termios结构体以及串口应用
- Error: Trying to remove "yum", which is protected
- Eclipse项目移植配置
- PHP写入TXT
- 要看的重要书籍
- 程序员如何快速准备面试中的算法
- 修改springmvc的配置文件application-servlet
- 二叉树的中序遍历线索化
- ipython中matplotlib中文显示问题
- 每天在电脑边花的时间都超过12小时,健康怎么办呢?