Auteur: Paweł Cholewiński Date: À: dng Sujet: Re: [DNG] tool to check for updates without root??
W dniu 22.06.2016 o 08:20, KatolaZ pisze: > The easiest way is to have a cron script that runs once a day, with
> root provileges, and calls "apt-get update". Then, your notifier could
> be as simple as:
>
> apt-get -s upgrade | grep "^[0-9]* upgr" | cut -d " " -f 1
>
> which will give the number of packages that would be upgraded,