View previous topic :: View next topic |
Author |
Message |
m33sb3w Tux's lil' helper
Joined: 18 Apr 2002 Posts: 96 Location: Villanova, PA
|
Posted: Thu Apr 18, 2002 12:14 pm Post subject: Problem unmerging |
|
|
I'm having problems unmerging a few packages. I type 'emerge unmerge <package>' but it says it can't find any installed packages by that name. I try again with the full package and version number with the same effect. When I use 'epm -q <package>' it pops right up as being installed. I've tried this with two different packages. In the past I've been able to unmerge stuff. Any ideas? |
|
Back to top |
|
|
ElCondor Guru
Joined: 10 Apr 2002 Posts: 520 Location: Vienna, Austria, Europe
|
Posted: Thu Apr 18, 2002 12:18 pm Post subject: Re: Problem unmerging |
|
|
m33sb3w wrote: | I'm having problems unmerging a few packages. I type 'emerge unmerge <package>' but it says it can't find any installed packages by that name. [....] Any ideas? |
yup.
emerge unmerge --all undesiredpackage
but be carefull, --all really removes the package. unmerge itself only does is there are different versions. if you want to get rid of gentoo, you might try "emerge unmerge --all system" |
|
Back to top |
|
|
tod Developer
Joined: 17 Apr 2002 Posts: 136 Location: Ozarks, USA
|
Posted: Thu Apr 18, 2002 2:41 pm Post subject: Use low level ebuild commond |
|
|
Hi!
The fail-safe way to unmerge a package is to use the low level ebuild command, i.e.
#ebuild /var/db/pkg/<category>/<foo>/foo.ebuild unmerge
Pointing the ebuild...unmerge to the ebuild stored in /var/db/pkg is espescially usefull when an old installed ebuild has been removed from the portage tree.
hth,
tod |
|
Back to top |
|
|
freefall Tux's lil' helper
Joined: 13 Apr 2002 Posts: 89
|
Posted: Thu Apr 18, 2002 6:44 pm Post subject: |
|
|
Are you by any chance using portage 1.8.18? I ran into some problems unmerging apps with that version. I had to do something similar to what tod suggests.
Solved it by upgrading to 1.8.19. |
|
Back to top |
|
|
gaskill n00b
Joined: 18 Apr 2002 Posts: 17 Location: Iowa
|
Posted: Thu Apr 18, 2002 9:13 pm Post subject: |
|
|
I had the same problem unmerging packages. I solved it by using the full path, i.e.:
Code: | emerge unmerge /var/db/pkg/app-editors/vim-6.1-r3 |
to unmerge vim (I wouldn't actually do that, of course). Using the full path seemed to fix my problems. |
|
Back to top |
|
|
|