centos删除系统自带的httpd
 
1、[root@localhost etc]# rpm -qa|grep httpd,查看与httpd相关软件包。
httpd-tools-2.2.15-15.el6.centos.i686
httpd-2.2.15-15.el6.centos.i686
 
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
        --也可以用 --nodeps ,忽略依赖关系,直接删除httpd
[root@localhost etc]# rpm -e httpd --nodeps
 
4、再删除httpd
[root@localhost etc]# rpm -e httpd
 
5、如果还有一个httpd-tools,继续删除
[root@localhost etc]# rpm -e httpd-tools
 

相关文章:

  • 2022-12-23
  • 2021-12-31
  • 2022-12-23
  • 2021-10-16
  • 2021-11-23
  • 2021-08-21
  • 2022-01-31
  • 2021-11-21
猜你喜欢
  • 2022-02-20
  • 2021-05-22
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2021-11-26
相关资源
相似解决方案