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 and rpm -qa |grep samba gives as below samba-common-3.0.10-1.4E-9 samba-common-3.0.10-1.4E-9 It list 2 times the same package and I can not remove them. Could you please help me? Thanks Rajeev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20061018/b0b9c0c2/attachment-0002.html>
On Wed, 18 Oct 2006, Rajeev R Veedu wrote:> Date: Wed, 18 Oct 2006 11:05:25 +0400 > From: Rajeev R Veedu <rajeev at cracknell.com> > Reply-To: CentOS mailing list <centos at centos.org> > To: 'CentOS mailing list' <centos at centos.org> > Subject: [CentOS] removing multiple packages >[removed redundant empty lines]> 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 > > and rpm -qa |grep samba gives as below > samba-common-3.0.10-1.4E-9 > samba-common-3.0.10-1.4E-9 >First: what a more detailed listing gives you? Try (all on the same line): rpm -qa --qf '%{name}_%{version}-%{release}.%{arch}\n' | grep samba Thanks, Itay> > Rajeev > > > >-------------- next part -------------- _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos
> 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 packagesI 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