[CentOS] removing multiple packages

Rajeev R Veedu rajeev at cracknell.com
Wed Oct 18 13:47:32 UTC 2006

Thanks Barray, it worked.


-----Original Message-----
From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf
Of Barry Brimer
Sent: Wednesday, October 18, 2006 4:49 PM
To: CentOS mailing list
Subject: Re: [CentOS] removing multiple packages

> Can someone in the list guide me how do I remove an RPM file which is
> installed 2 times.
> Following are the error:
> [root at Gateway Samba64-23c]# rpm -e samba-common
> error: "samba-common" specifies multiple packages

I assume that you will be reinstalling samba-common, and as such you do 
not need to worry about the dependencies that you will be breaking for the 
few brief moments until you reinstall samba-common.  Therefore, I am 
adding the "--nodeps" flag.

rpm -e --nodeps --allmatches samba-common

CentOS mailing list
CentOS at centos.org

More information about the CentOS mailing list