Autore: emninger Data: To: dng Oggetto: Re: [DNG] tool to check for updates without root??
Am Wed, 22 Jun 2016 08:35:48 +0000
schrieb KatolaZ <katolaz@???>:
Hi KatolaZ!
> 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, and
> does not require root. But remember: the check should be performed
> only once every "apt-get update", because the result does not change
> if you don't update the list of available packages.
Thanks for your pointer. So, essentially, there is no way to play
around the need of root.