pretty basic...uninstall something installed via portage?

Ask questions regarding Gentoox, Gentoo and Linux in general in these forums and we'll do our best to help you!
Post Reply
teitoku
Novice
Posts: 29
Joined: Wed Sep 01, 2004 5:29 pm
Contact:

pretty basic...uninstall something installed via portage?

Post by teitoku » 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?

orochi
Gentoox Guru!
Posts: 606
Joined: Sun Oct 24, 2004 8:11 am

Post by orochi » 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

teitoku
Novice
Posts: 29
Joined: Wed Sep 01, 2004 5:29 pm
Contact:

Post by teitoku » 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.

sevenlayercookie
Novice
Posts: 41
Joined: Tue Feb 07, 2006 11:51 pm

Post by sevenlayercookie » 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
:P

teitoku
Novice
Posts: 29
Joined: Wed Sep 01, 2004 5:29 pm
Contact:

Post by teitoku » 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?

sevenlayercookie
Novice
Posts: 41
Joined: Tue Feb 07, 2006 11:51 pm

Post by sevenlayercookie » Wed Feb 15, 2006 3:14 pm

Try "emerge depclean"
It scans the system for unused dependencies, then removes them.

teitoku
Novice
Posts: 29
Joined: Wed Sep 01, 2004 5:29 pm
Contact:

Post by teitoku » 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.
  • sys-apps/netkit-base
    sys-devel/bin86
    sys-apps/miscfiles
    sys-apps/fileutils
    app-shells/sash
    media-sound/lame
    app-arch/ncompress
    sys-apps/sh-utils
    sys-devel/bc
    app-arch/sharutils
    sys-boot/grub
    sys-apps/slocate
    media-libs/libmad
    net-misc/dhcpcd
    net-ftp/ftp
    dev-libs/glib
    sys-apps/textutils
    media-libs/libvorbis
    sys-apps/setserial
    sys-libs/slang
    media-libs/libogg
    sys-apps/ed
    app-arch/cabextract
    sys-apps/fbset

orochi
Gentoox Guru!
Posts: 606
Joined: Sun Oct 24, 2004 8:11 am

Post by orochi » Thu Feb 16, 2006 7:38 am

search on http://packages.gentoo.org/ to find some info in each of those ebuilds you listed

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests