listing updated packages only

Vincent Danen vdanen at annvix.org
Sun Jun 11 13:02:26 PDT 2006


* Panu Matilainen <pmatilai at laiskiainen.org> [2006-06-11 10:16:53 -0700]:

> > I was looking for an option in apt-cache or apt-get that would allow me
> > to list packages that apt wanted to update.  For instance, as part of
> > the daily security routine in Annvix, I update the urpmi medium(s) and
> > then report, per-media, what packages are available for upgrade in a
> > cronjob so the admin gets an email saying they're behind on
> > such-and-such packages.
> >
> > I can't seem to find something like this for apt, however.  The closest
> > thing I see is "apt-get upgrade -s" but it's a little messy.  I could
> > clean it up myself by parsing it for the email, but was wondering if
> > there was another option available.
> 
> The "simulate" mode (-s) is indeed noisy and occasionally gives nasty 
> looking false alerts about conflicts in packages etc. Maybe someday 
> somebody will get around to fix it...

Noisy is ok... false alerts isn't so nice.

> There's --check-only which .. hmm, doesn't seem to be documented anywhere, 
> sigh. Anyway that's probably the closest thing to what you want, at the 
> moment at least.

=)  Well, --check-only looks like it'll do the job nicely with a little
formatting.

The lua idea is a nice one... might look into that.  Never done anything
with lua before so it might be interesting to try.

Thanks.

-- 
{FEE30AD4 : 7F6C A60C 06C2 4811 FA1C  A2BC 2EBC 5E32 FEE3 0AD4}
mysql> SELECT * FROM users WHERE clue > 0;
Empty set (0.00sec)
:: Annvix - Secure Linux Server: http://annvix.org/ ::
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
URL: <http://lists.laiskiainen.org/pipermail/apt-rpm-laiskiainen.org/attachments/20060611/c248747f/attachment-0003.pgp>


More information about the Apt-Rpm mailing list