Page 1 of 1
pretty basic...uninstall something installed via portage?
Posted: Tue Feb 14, 2006 1:53 am
Is there a simple way to remove things I've installed via portage? I installed sox on my Gentoox Pro machine, which also had to install 7 other packages, including ALSA. I found a better way to solve my sound editing problem though, and want to remove all that stuff that was installed. How can I do this easily?
Posted: Tue Feb 14, 2006 6:00 am
the "-C" flag for emerge will do this for you, but be warned it wont check for dependancies
emerge -C <package>
if sound stops working because if alsa, you can try
magic fix alsa && magic
Posted: Tue Feb 14, 2006 7:10 am
1, I want ALSA removed, sound support, all that GONE.
2, magic kills my system. It doesn't have a config for a fully native install, and trashes my linuxboot.cfg.
Posted: Tue Feb 14, 2006 11:06 pm
teitoku wrote:1, I want ALSA removed, sound support, all that GONE.
Try "emerge -c sox"
then "emerge --pretend depclean" make sure it lists correct dependencies.
If it's OK, then run "emerge depclean"
Depclean removes unnecessary dependencies.
teitoku wrote:2, magic kills my system. It doesn't have a config for a fully native install, and trashes my linuxboot.cfg.
You probably won't need to magic it. If you do... Heh, sorry
Posted: Wed Feb 15, 2006 7:14 am
apparently, it didn't even manage to install sox through all of that. So I've got ALSA that I know of, and some other mystery packages that I can't identify on my own. What do you recommend I do to hunt down and remove them?
Posted: Wed Feb 15, 2006 3:14 pm
Try "emerge depclean"
It scans the system for unused dependencies, then removes them.
Posted: Wed Feb 15, 2006 8:15 pm
That full page warning it gives kind of freaks me out though.
xbox root # emerge --pretend depclean
*** WARNING *** --depclean is known to be broken. It is highly recommended
*** WARNING *** that `emerge --update --newuse --deep world` be ran before
*** WARNING *** commencing. However, using --depclean may still break link
*** WARNING *** level consistency within your system. `revdep-rebuild`
*** WARNING *** from app-portage/gentoolkit can help to detect breakage.
*** WARNING ***
*** WARNING *** Also study the list of packages to be cleaned for any
*** WARNING *** obvious mistakes. Packages can be manually added to the
*** WARNING *** world list by running `emerge --noreplace <atom>`.
*** WARNING ***
*** WARNING *** Make sure you have a backup.
I don't know where to look up what each of these is used for, so if somebody could take a look and let me know if it'd be safe to go ahead with the depclean I'd really appreciate it. Some look a bit risky to me.
Posted: Thu Feb 16, 2006 7:38 am
search on http://packages.gentoo.org/
to find some info in each of those ebuilds you listed