Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 388057

Summary: net-analyzer/pnp4nagios-0.6.7 will not emerge with icinga already installed
Product: Gentoo Linux Reporter: Gary E. Miller <gem>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gary E. Miller 2011-10-21 23:11:10 UTC
net-analyzer/pnp4nagios-0.6.7 is compatible with net-analyzer/icinga but insists on net-analyzer/nagios-core to be installed before emerging.

Since icinga and nagio can not be installed at the same time this is a problem.

net-analyzer/nagios-plugins will emerge with either icinga or nagios-core installed.  pnp4nagios should work the same way.

To reproduce, emerge icinga, then try to emerge pnp4nagios:

spidey objects # emerge -a net-analyzer/pnp4nagios

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] net-analyzer/rrdtool-1.4.5-r1  USE="perl python -doc -lua -rrdcgi -ruby -tcl" 
[ebuild  N     ] media-fonts/dejavu-2.32  USE="X -fontforge" 
[ebuild  N     ] perl-core/Time-HiRes-1.97.19 
[ebuild  N     ] virtual/perl-Getopt-Long-2.380.0-r1 
[ebuild  N     ] virtual/perl-Time-HiRes-1.97.19 
[ebuild  N     ] net-analyzer/nagios-core-3.3.1  USE="perl web -apache2 -debug -lighttpd -vim-syntax" 
[ebuild  N     ] net-analyzer/pnp4nagios-0.6.7  USE="-apache2" 
[blocks B      ] net-analyzer/nagios-core ("net-analyzer/nagios-core" is blocking net-analyzer/icinga-1.5.0)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.
  (net-analyzer/icinga-1.5.0::sunrise, installed) pulled in by
    net-analyzer/icinga required by @selected

  (net-analyzer/nagios-core-3.3.1::gentoo, ebuild scheduled for merge) pulled in by
    net-analyzer/nagios-core required by (net-analyzer/pnp4nagios-0.6.7::gentoo, ebuild scheduled for merge)


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
Comment 1 Alex Legler (RETIRED) archtester gentoo-dev Security 2011-10-21 23:50:15 UTC
This has to be fixed in sunrise, not the official tree. See the sunrise FAQ.