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.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to