[Pkg-nagios-devel] Bug#498812: nagios-plugins-basic - check_apt bails out with lenny version of apt

Bastian Blank waldi at debian.org
Sat Sep 13 14:02:53 UTC 2008


Package: nagios-plugins-basic
Version: 1.4.12-3
Severity: important

check_apt currently bails out with the apt version in lenny:
| $ /usr/lib/nagios/plugins/check_apt -v
| '/usr/bin/apt-get -o 'Debug::NoLocking=true' -s -qq upgrade' exited with non-zero status.
| Inst gcc-4.3-base [4.3.1-2] (4.3.1-9 Debian:testing) [libstdc++6 ]
| *Inst gcc-4.3-base [4.3.1-2] (4.3.1-9 Debian:testing) [libstdc++6 ]
| Conf gcc-4.3-base (4.3.1-9 Debian:testing) [libstdc++6 ]
| Inst libstdc++6 [4.3.1-2] (4.3.1-9 Debian:testing)
| *Inst libstdc++6 [4.3.1-2] (4.3.1-9 Debian:testing)
| Conf libstdc++6 (4.3.1-9 Debian:testing)
| Inst libncursesw5 [5.6+20080804-1] (5.6+20080830-1 Debian:testing)
| *Inst libncursesw5 [5.6+20080804-1] (5.6+20080830-1 Debian:testing)
| Inst python2.5 [2.5.2-6+lenny1] (2.5.2-11 Debian:testing) []
| *Inst python2.5 [2.5.2-6+lenny1] (2.5.2-11 Debian:testing) []
| Inst python2.5-minimal [2.5.2-6+lenny1] (2.5.2-11 Debian:testing)
| *Inst python2.5-minimal [2.5.2-6+lenny1] (2.5.2-11 Debian:testing)
| Conf libncursesw5 (5.6+20080830-1 Debian:testing)
| Conf python2.5-minimal (2.5.2-11 Debian:testing)
| Conf python2.5 (2.5.2-11 Debian:testing)
| E: Failed to write temporary StateFile /var/lib/apt/extended_states.tmp
| APT WARNING: 5 packages available for upgrade (0 critical updates).  warnings detected, errors detected. run with -v for information.

Also I think it should return UNKNOWN if it can't decide what happened.

Bastian

-- 
Humans do claim a great deal for that particular emotion (love).
		-- Spock, "The Lights of Zetar", stardate 5725.6





More information about the Pkg-nagios-devel mailing list