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?
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"
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.
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.