What has yet to be said clearly enough is that yum is far better att working with deps both when install and uninstall. The following will remove a package and all other packages that depend on the first (and so on): yum remove PACKAGE it will even ask you for yes/no when it has figured out what needs to be removed and displayed it in a nice list. /Peter On Thursday 04 August 2005 19.28, Dave Gutteridge wrote: > Okay, I tried installing OpenOffice beta, and I think I messed it up, so > I wanted to uninstall it. > > I thought wilcards worked, so I tried: > [root@localhost program]# rpm -e openoffice* > error: package openoffice* is not installed > > Okay, so I couldn't figure out how to remove a bunch of RPM packages at > once, so I did this: > [root@localhost program]# rpm -qa | grep openoffice > > And proceeded the labourous task of removing all of the RPMs listed one > by one. > > But then I got down to some files that would say: > rpm -e openofficeorg-core01-1.9.122-1.i586 > error: Failed dependencies: > openofficeorg-core01 is needed by (installed) > openofficeorg-core08-1.9.122-1.i586 > > So then I'd remove the dependancy, and guess what?: > rpm -e openofficeorg-core08-1.9.122-1.i586 > error: Failed dependencies: > openofficeorg-core01 is needed by (installed) > openofficeorg-core01-1.9.122-1.i586 > > The two packages are dependant on each other so I can't remove either. > *sigh* > So, how do I remove them? > > Dave -- ------------------------------------------------------------ Peter Kjellstr?m | National Supercomputer Centre | Sweden | http://www.nsc.liu.se -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.centos.org/pipermail/centos/attachments/20050805/e205b354/attachment.bin