Am Wed, 22 Jun 2016 08:35:48 +0000 schrieb KatolaZ <kato...@freaknet.org>:
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. You're line is cool :) Cheers. _______________________________________________ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng