Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30469 - complete unmerge nagios needs extra steps
Summary: complete unmerge nagios needs extra steps
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-05 23:35 UTC by smouge
Modified: 2004-07-23 12:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description smouge 2003-10-05 23:35:11 UTC
Would be nice to give a message at the end of the merge/unmerge process 
telling that you will have to unmerge the other packages as well. 
 
For example if you have nagios already installed but wish to reemerge it, 
because  you added the 'gd' flag to your USE section in /etc/make.conf, use 
something like the following: 
 
# emerge unmerge nagios-core && \ 
emerge unmerge  nagios-plugins && \ 
emerge unmerge nagios-nrpe && \ 
emerge unmerge /nagios-nsca && \ 
emerge unmerge nagios-imagepack && \ 
emerge unmerge nagios && \ 
emerge nagios 
 
analog, for completely unmerging nagios do something like this: 
 
 
# emerge unmerge nagios-core && \ 
emerge unmerge  nagios-plugins && \ 
emerge unmerge nagios-nrpe && \ 
emerge unmerge /nagios-nsca && \ 
emerge unmerge nagios-imagepack && \ 
emerge unmerge nagios 
 
It took me some time to figure out why the nagios package wasn't responding to 
my changed USE flags after re-emerging. Hopefully the above can prevent people 
having the same problem. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2004-07-17 16:43:05 UTC
The same could be said for KDE, or X, or Gnome, or any other package with a lot of dependencies.  I'm not sure that this is the fault of the ebuild.  Also, an emerge -C nagios && emerge depclean would remove all of nagios.  Just don't forget to do a emerge -p depclean before doing the actual depclean!
Comment 2 Eldad Zack (RETIRED) gentoo-dev 2004-07-23 12:35:49 UTC
I've put a nice message on pkg_postrm, that should take care of it.