:: Re: [DNG] tool to check for updates…
Page principale
Supprimer ce message
Répondre à ce message
Auteur: Didier Kryn
Date:  
À: dng
Sujet: Re: [DNG] tool to check for updates without root??
Le 22/06/2016 14:20, Irrwahn a écrit :
> 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.)
>


     If the question was only to be informed, I would use apt-watch. If 
it is to upgrade my system automatically, I would be afraid it brings in 
some undesired systemd/gnome/*kit dependency; therefore it isn't 
something I want.


     Didier