[Pkg-nagios-devel] Bug#732359: check-mk-config-icinga.postinst fails on upgrade

Thomas Köhler jean-luc at picard.franken.de
Tue Dec 17 07:38:09 UTC 2013

Package: check-mk-config-icinga
Version: 1.2.2p3-1
Severity: important

The bug is in this line:

                        [ -d /etc/apache2/conf.d/ ] && [ ! -L
/etc/apache2/conf.d/$CONF.conf ] && ln -s ../conf-available/$CONF.conf

If /etc/apache2/conf.d/check-mk-multisite.conf already is a symlink to ../conf-
available/check-mk-multisite.conf, the second test in this line will fail,
causing the script to exit with non-zero status, which causes "apt-get upgrade"
to bail out, leaving other packages unconfigured.
I worked around the problem by removing the symlink, then run "apt-get upgrade"

-- System Information:
Debian Release: 6.0.8
  APT prefers oldstable
  APT policy: (900, 'oldstable'), (500, 'oldstable-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages check-mk-config-icinga depends on:
ii  adduser                       3.112+nmu2 add and remove users and groups
ii  dpkg                  Debian package management system

check-mk-config-icinga recommends no packages.

check-mk-config-icinga suggests no packages.

-- Configuration Files:
/etc/apache2/conf-available/check-mk-multisite.conf changed [not included]
/etc/apache2/conf.d/check-mk-multisite.conf changed [not included]
/etc/icinga/objects/check_mk/check_mk_templates.cfg changed [not included]

-- no debconf information

More information about the Pkg-nagios-devel mailing list