I used to be able to run this command to get updates to tell customers why they should pay me more money to help secure their servers on a regular basis.
Sure it's a bit hacky, but it does the trick and I can quickly count them by piping it to wc -l.Code:$ sudo apt-get upgrade -s| grep ^Inst |grep Security
The problem is security updates are no longer specified as far as I can tell in that list or even by a specific repository so I can't just grep that list anymore. It looks like the repositories were merged. (Is that documented somewhere so I can read up on it?)
How do I list the security updates needed on ubuntu server 12.04?
Note: I'd like to accomplish this without making changes to the file system so setting up a separate sources.list in /etc somewhere is undesirable.