Click to See Complete Forum and Search --> : Uninstalling a Package and dependencies using RPM


Magueta
01-08-2004, 03:43 AM
Hi all,

I didn't see any options in RPM's man pages on uninstalling a package and all its dependencies in a single command. The package I want to uninstall has 10 - 12 dependencies that I would not enjoy uninstalling individually (I know it would be a total of something like 12 minutes but I'm lazy :-) ). Anyone know if RPM has some sort of option that would allow me to uninstall a package and all its dependencies?
Thanks

Joe

Red Hat 9

fatTrav
01-08-2004, 05:45 AM
try installin apt-get for rpm. there is a link in my signature. with apt-get you can 'remove' a package and all deps.


[root@grendel 3:41AM travis]# apt-get -s remove xmms
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
kdeaddons xmms xmms-alsa xmms-devel xmms-mpg123 xmms-skins


as you can see, most if not all deps were removed by this one single command. after using apt-get for a few months...i can not immagine how i managed rpms w/o it.

hth

travis

Magueta
01-08-2004, 05:58 AM
That's great. I thought apt-get was just for debian packages so I'm pretty glad it's available for RPMs as well. Also, I was thinking of experimenting with Debian now that RedHat has only corporate and the Fedora project (I really liked RHN) so being familiar with apt-get will be a plus.
Thanks

P.S. do you happen to recall what the version control system in Debian is, or does it just use CVS?

Joe

fatTrav
01-08-2004, 07:42 AM
WIth apt-get you can keep your system just as up2date as using the RHN. Personally, I think it is easier and more powerful, but that is me.

I can't not say for sure what Debian uses for version control. No doubt apt is somehow involved.

Incidently, I just installed Debian on my text box today to see how I'd like it. The installer is pretty crusty and once you get to the package selection part it gets real tricky but knowing a bit about apt helps out a lot. I haven't messed with it much yet, but from what I have it is a fine distro--but I am not leaving Fedora/Redhat just yet.

travis