rpm卸载软件忽略循环依赖 – 过往记忆
rpm卸载软件忽略循环依赖
Spark大数据博客 –
rpm卸载软件忽略循环依赖
今天由于某些原因需要卸载掉服务器上的php软件,然后我使用下面命令显示出本机安装的
所有和php相关的软件,如下:
iteblog$ rpm -qa | grep php
php-mysqlnd-5.6.25-0.1.RC1.el6.remi.x86_64
php-fpm-5.6.25-0.1.RC1.el6.remi.x86_64
php-pecl-jsonc-1.3.10-1.el6.remi.5.6.x86_64
php-pecl-memcache-3.0.8-3.el6.remi.5.6.x86_64
php-pdo-5.6.25-0.1.RC1.el6.remi.x86_64
php-mbstring-5.6.25-0.1.RC1.el6.remi.x86_64
php-pear-1.9.4-4.el6.noarch
php-cli-5.6.25-0.1.RC1.el6.remi.x86_64
php-gd-5.6.25-0.1.RC1.el6.remi.x86_64
php-pecl-zip-1.13.4-1.el6.remi.5.6.x86_64
php-pecl-apcu-4.0.11-2.el6.remi.5.6.x86_64
php-common-5.6.25-0.1.RC1.el6.remi.x86_64
php-5.6.25-0.1.RC1.el6.remi.x86_64
php-mcrypt-5.6.25-0.1.RC1.el6.remi.x86_64
然后我一一把它们卸载掉,如下:
iteblog$ rpm -e php-mysqlnd-5.6.25-0.1.RC1.el6.remi.x86_64
一切都很正常,但是当卸载到php-pecl-jsonc-1.3.10-1.el6.remi.5.6.x86_64和php-pecl-
zip-1.13.4-1.el6.remi.5.6.x86_64的时候出现以下的错误:
[iteblog@ ~] $ rpm -e php-pecl-jsonc-1.3.10-1.el6.remi.5.6.x86_64
error: Failed dependencies:
php-pecl-jsonc(x86-64) is needed by (installed) php-common-5.6.25-0.1.RC1.el6.remi.x86_64
[iteblog@ ~] $ rpm -e php-pecl-zip-1.13.4-1.el6.remi.5.6.x86_64
error: Failed dependencies:
php-pecl-zip(x86-64) is needed by (installed) php-common-5.6.25-0.1.RC1.el6.remi.x86_64
1 / 3
rpm卸载软件忽略循环依赖
Spark大数据博客 –
很容易就可以看出php-pecl-jsonc和php-pecl-zip都被php-common-5.6.25-0.1.RC1.el6.remi.x86_
64依赖,所有理所当然的想到先卸载php-common-5.6.25-0.1.RC1.el6.remi.x86_64,如下:
[root@ ~] $ rpm -e php-common-5.6.25-0.1.RC1.el6.remi.x86_64
error: Failed dependencies:
php(api) =64 is needed by (installed) php-pecl-jsonc-1.3.10-1.el6.remi.5.6.x86_64
php(api) =64 is needed by (installed) php-pecl-zip-1.13.4-1.el6.remi.5.6.x86_64
php(zend-abi) =64 is needed by (installe
相关资源:今目标软件(桌面今目标)09/26-专业指导文档类资源-CSDN文库
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!