[Pkg-nagios-devel] Bug#585410: nagios3-cgi: Missing conflict with nagios3 v3.0.6-4~lenny2 (/usr/lib/cgi-bin/nagios3/extinfo.cgi_

Petter Reinholdtsen pere at hungry.com
Thu Jun 10 11:54:50 UTC 2010

Package:  nagios3-cgi
Version:  3.2.1-1
Severity: serious
User:     debian-edu at lists.debian.org
UserTags: debian-edu

When trying a upgrade of a Debian Edu main-server+workstation, the
upgrade of nagios3-cgi fail because it include a file also in the
nagios3 package in lenny.

The error happened when calling aptitude dist-upgrade and upgrading
723 packages, adding 395 packages and removing 125 packages.

This is the error (sorry about the Norwegian text):

Pakker ut nagios3-cgi (fra .../nagios3-cgi_3.2.1-1_i386.deb) ...
Bytter ut filer i den gamle pakken nagios3-doc ...
Bytter ut filer i den gamle pakken nagios3-common ...
dpkg: Feil ved behandling av /var/cache/apt/archives/nagios3-cgi_3.2.1-1_i386.deb (--unpac
 försöker skriva över "/usr/lib/cgi-bin/nagios3/extinfo.cgi" som också finns i paketet
 nagios3 3.0.6-4~lenny2
dpkg-deb: underprosessen klistra in drept med signal (Røret ble brutt)
Gjør klar til å bytte ut nagios3 3.0.6-4~lenny2 (ved bruk av .../nagios3_3.2.1-1_i386.de
b) ...
 * Stopping nagios3 monitoring daemon nagios3       ESC[90G Waiting for nagios3 daemon to
^MESC[84G[ ok ]
Pakker ut erstatningen nagios3 ...

The problem is that the file /usr/lib/cgi-bin/nagios3/extinfo.cgi
exist in the old nagios3 package and seem to have moved to the new
nagios3-cgi package without the appropriate conflict/replaces entries
in the control file, causing dpkg to refuse to install the new
nagios3-cgi package.

Setting severity to serious as this is not according to policy and
break upgrades.

Happy hacking,
Petter Reinholdtsen

More information about the Pkg-nagios-devel mailing list