Auteur: Irrwahn Date: À: dng Sujet: Re: [DNG] tool to check for updates without root??
On Wed, 22 Jun 2016 13:46:43 +0200, Emninger wrote: > Am Wed, 22 Jun 2016 08:35:48 +0000
> schrieb KatolaZ <katolaz@???>:
>> The easiest way is to have a cron script that runs once a day, with
>> root provileges, and calls "apt-get update". [...] > Thanks for your pointer. So, essentially, there is no way to play
> around the need of root.
Actually, I am much more in favor of the brilliant suggestion
made by Giovanni Rapagnani in another reply:
| another way of periodically updating the lists of packages is
| to add this line in a file under /etc/apt/apt.conf.d/ e.g.
| /etc/apt/apt.conf.d/10periodic:
|
| APT::Periodic::Update-Package-Lists "1";
I already had the funny feeling I was missing some already
existing mechanism to solve the problem! (Emninger and I
already discussed this topic off-list.)