[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Detect upgradable packages in shell script ran as a non-root user



On Wed, 2016-11-30 at 17:09 +0200, Martin T wrote:
> I would like to run a cron job which periodically checks if I have
> upgradable packages. One way to do it is probably like this:

What do you want to do with the information once you got it? I ask
because Debian includes some packages to do various periodic things for
updates and you might be reinventing the wheel. E.g. I use apticron [1]
on all the machines I manage which periodically checks if there's
upgradable packages an emails me a summary of them if there are. I
believe there are also means on doing other things.

[1] https://debian-administration.org/article/491/Automatic_package_update_nagging_with_apticron

-- 
Tixy  


Reply to: