I want my cron-run reporting script to notify me in case there are updates for my packages. Is the a way to make apt-get give me the list of available updates but don't do anything more?
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
|
|
The
From the apt-get man page: -u |
|||
|
|
|
You can run
or the undocumented
Another method using an
|
|||
|
|
|
Take a look at package "apticron": apticron - Simple tool to mail about pending package updates |
|||
|
|
Is not read that easily, below is a perl one liner to parse apt-get's output:
This should output something like:
Hopefully it will help someone else, |
||||
|