CentOS卸载自带Apache问题解决


1、[root@localhost etc]# rpm -qa|grep httpd,查看与httpd相关软件包。
 
httpd-2.2.3-11.el5_2.centos.4
 
2、然后删除httpd:
 
[root@localhost etc]# rpm -e httpd
 
出现问题:
 
error: Failed dependencies:
 
httpd >= 2.2.0 is needed by (installed) gnome-user-share-0.10-6.el5.i386
 
3、还有一个相关的软件包没有删除,清除之,即:
 
[root@localhost etc]# rpm -e gnome-user-share
 
4、再删除httpd
 
[root@localhost etc]# rpm -e httpd
 
#可以使用参数–nodeps的意思就是不管各个程序包间的依赖关系。
 
[root@localhost etc]#rpm -e –nodeps httpd //这样不需要删除gnome-user-share了
 

相关内容

    暂无相关文章