Problem:
Trying to remove httpd rpm
[root@server1 ~]# rpm -e httpd-2.2.15-39
error: “httpd-2.2.15-39” specifies multiple packages
Solution:
First check/verify httpd packages detail.
[root@server1 ~]# rpm -q httpd-2.2.15-39
httpd-2.2.15-39.el6.centos.x86_64
httpd-2.2.15-39.el6.centos.x86_64
Now remove the package with below command
[root@server1 ~]# rpm -e –allmatches httpd-2.2.15-39
Now verify any httpd package is there or not.
[root@server1 ~]# rpm -q httpd-2.2.15-39
2501 Total Views 1 Views Today