[Bug 220208] Re: package nagios2-common 2.9-1 failed to upgrade:

Jamie Strandboge jamie at ubuntu.com
Wed Jun 18 21:53:01 BST 2008


I think I may have reproduced this on hardy while preparing a security
update. Steps to reproduce on hardy:

1. apt-get remove --purge nagios2 nagios2-common nagios3-doc
2. apt-get install nagios2 (from hardy release)
3. apt-get -u upgrade to 2.11-1ubuntu1.1 (will provide an apt-repository soon)

At this point apt will show failures and require you to press Ctrl-C
because it hangs.

Note that this upgrade does not change the packaging, and is likely the
same problem as the gutsy to hardy upgrade. Also note there is no
configuration taking place between steps 2 and 3.

Output from apt-get:
Preparing to replace nagios2 2.11-1ubuntu1 (using .../nagios2_2.11-1ubuntu1.1_amd64.deb) ...
 * Stopping nagios2 monitoring daemon nagios2                                          [ OK ] 
Unpacking replacement nagios2 ...
Preparing to replace nagios2-common 2.11-1ubuntu1 (using .../nagios2-common_2.11-1ubuntu1.1_all.deb) ...
 * Stopping nagios2 monitoring daemon nagios2                                                 invoke-rc.d: initscript nagios2, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 3
dpkg - trying script from the new package instead ...
 * Stopping nagios2 monitoring daemon nagios2                                                 invoke-rc.d: initscript nagios2, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/nagios2-common_2.11-1ubuntu1.1_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 3
 * Starting nagios2 monitoring daemon nagios2                                          [ OK ] 
dpkg: error while cleaning up:
 subprocess post-installation script killed by signal (Interrupt)
Errors were encountered while processing:
 /var/cache/apt/archives/nagios2-common_2.11-1ubuntu1.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

do-release-upgrade does a lot more than a 'apt-get dist-upgrade' which
is why this problem isn't hit in Thierry's upgrade.  Sounds like this
may be http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476466

-- 
package nagios2-common 2.9-1 failed to upgrade: 
https://bugs.launchpad.net/bugs/220208
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios2 in ubuntu.



More information about the Ubuntu-server-bugs mailing list