What vendor updates are pending on your Linux system?One of those routine system management tasks these days is
checking to make sure that I'm up to date on vendor security releases
and other updates. And when I'm not up to date, I generally want to
know what's out of date; being out of date on Since I have a lot of systems, I like a concise report; say, one line with all the pending packages for systems that need updates, and total silence from systems that are current (in other words, I'm a Unix geek and I like Unix-style output). Unfortunately, most package management systems are not quite as eager to accommodate my minimalism as I would like, so it takes some scripting work. For anything with yum (Fedora Core, current Red Hat Enterprise, and probably others):
In at least Fedora Core 4, this doesn't give you the literal package
names; you get a bonus architecture glued on the back that you'll have
to slice off if you really care. You also get a bonus blank line at
the start (this may be a Debian makes it a little bit more annoying. I get to do:
(Assuming that Debian does not change In theory ' Converting these to produce single-line output is left as an exercise to the reader. |
These are my WanderingThoughts GettingAround This is part of CSpace, and is written by ChrisSiebenmann. * * * Atom feeds are available; see the bottom of most pages. Categories: links, linux, programming, python, snark, solaris, spam, sysadmin, tech, unix, web |