[Pkg-nagios-devel] requires too many packages
Alexander Wirt
formorer at formorer.de
Sun May 31 09:50:54 UTC 2009
Oliver Peng schrieb am Thursday, den 28. May 2009:
> Hi Guys:
>
> When I try to install nagios3 package on my server, apt-get requires a lot packages as following:
*snip*
You are wrong:
(all tests done on a fresh sid chroot):
pt-get install nagios3
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
apache2 apache2-mpm-worker apache2-utils apache2.2-bin apache2.2-common
bind9-host bsd-mailx dnsutils exim4 exim4-base exim4-config
exim4-daemon-light file fping libapr1 libaprutil1 libaprutil1-dbd-mysql
libaprutil1-ldap libbind9-50 libdb4.5 libdns50 libexpat1 libfreetype6
libgd2-noxpm libgssapi-krb5-2 libicu40 libisc50 libisccc50 libisccfg50
libjpeg62 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2
liblockfile1 liblwres50 libmagic1 libmysqlclient15off libnet-snmp-perl
libpcre3 libperl5.10 libpng12-0 libpq5 libradius1 libradiusclient-ng2
libsensors3 libsnmp-base libsnmp15 libsqlite3-0 libsysfs2 libtalloc1
libwbclient0 libxml2 makedev mime-support mysql-common nagios-images
nagios-plugins nagios-plugins-basic nagios-plugins-standard nagios3-common
nagios3-doc openssl openssl-blacklist psmisc python python-minimal python2.5
python2.5-minimal qstat radiusclient1 samba-common sgml-base smbclient snmp
ssl-cert ucf xml-core
Hm this are not that much... but:
apt-get -o 'APT::Install-Recommends=false' install nagios3
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libgomp1
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
apache2-utils bsd-mailx exim4 exim4-base exim4-config exim4-daemon-light
libapr1 libaprutil1 libexpat1 libfreetype6 libgd2-noxpm libjpeg62
liblockfile1 libpcre3 libperl5.10 libpng12-0 nagios-plugins-basic
Huh? much smaller. And indeed looking into the depends field of nagios3 reveals:
(nagios3)
libc6 (>= 2.3.4), libgd2-noxpm (>= 2.0.36~rc1~dfsg) | libgd2-xpm (>= 2.0.36~rc1~dfsg), libjpeg62, libperl5.10 (>= 5.10.0), libpng12-0 (>= 1.2.13-4), zlib1g (>= 1:1.1.4), nagios3-common (= 3.0.6-4), perl
(nagios3-common):
Depends: nagios-plugins-basic, nagios3-doc, coreutils (>= 4.5.3), bsd-mailx | mailx, adduser, lsb-base (>= 3.0-3), ucf (>= 0.28), apache2-utils, debconf (>= 0.5) | debconf-2.0
There is nothing I could remove there. Ok maybe nagios-plugins-basic or nagios3-doc, but most people really don't want this.
So you can disable installation of recommends, but there is nothing I can do
for you.
Alex
More information about the Pkg-nagios-devel
mailing list