[CentOS] removing multiple packages

Wed Oct 18 12:48:39 UTC 2006
Barry Brimer <lists at brimer.org>

> 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