Thanks Barray, it worked. Rajeev -----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 HTH, Barry _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos