:: Re: [DNG] tool to check for updates…
Página Principal
Delete this message
Reply to this message
Autor: Irrwahn
Data:  
Para: dng
Assunto: Re: [DNG] tool to check for updates without root??
On Thu, 23 Jun 2016 10:46:24 +0200, Didier Kryn wrote:
> Le 22/06/2016 14:20, Irrwahn a écrit :
>> 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";

[...]
>
>      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.


Above suggestion only periodically performs the equivalent of
"apt-get update", which does no harm. To let it automagically
run any pending upgrades (something I am not fond of either)
one would have to add these two lines:

APT::Periodic::Download-Upgradeable-Packages "1";
APT::Periodic::Unattended-Upgrade "1";

I'm under the impression that the apt-watch backend basically
serves as a proxy for "apt-get <command>". And the apt-watch
frontend is a Gnome applet. (Yuck!) And it's only available in
wheezy and in unstable. (D'oh!)

Regards
Urban