[Pkg-nagios-devel] Bug#827757: Bug#827757: apt-get upgrade doesn't want to upgrade packages in need of an upgrade

Christoph Anton Mitterer calestyo at scientia.net
Mon Jun 20 22:15:14 UTC 2016


On Mon, 2016-06-20 at 23:35 +0200, Alexander Wirt wrote:
> On Mon, 20 Jun 2016, David Kalnischkies wrote:
> I guess the nagios check shouldn't use 'apt-get upgrade', but that
> > depends on what it is supposed to show (aka what its users expect)
> > and
> > what it actually uses (based on "critical updates" I guess it is
> > using
> > its own code, perhaps a binding…) but both I don't know hence
> > reassigning.
> I don't think so. The plugin is expected to run on all distributions
> having
> apt-get, apt is fairly new. 

I don't think David implied it should use apt(8), did he?

I think he rather meant e.g. to use apt-get dist-upgrade (though this
could have other consequences for the check??)

Also @David:
Or is there any other, even more portable/reliable/ancient-versions-
compatible way to determine from apt how many updates (normal/security)
would be available & installed (when packages would also be
added/removed to do that - of course, I don't think check_apt should
warn me, if I explicitly pinned the version of a certain package down
with apt_preferences, but it should if I another one wasn't pinned down
and if that depends e.g. on one that I pinned down)?


Cheers,
Chris.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5930 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20160621/9c0dd3dc/attachment.bin>


More information about the Pkg-nagios-devel mailing list