Re: Timer doing apt update

2024-02-20 Thread Max Nikulin
On 20/02/2024 14:48, Erwan David wrote: Le 20/02/2024 à 03:20, Max Nikulin a écrit : busctl get-property \   org.freedesktop.NetworkManager \   /org/freedesktop/NetworkManager \   org.freedesktop.NetworkManager Metered It would also require to configure NetworkManager to set this correctly.

Re: Timer doing apt update

2024-02-20 Thread Max Nikulin
On 20/02/2024 19:44, Greg Wooledge wrote: 1) This apt-daily.timer stuff is quite complex and difficult to discover and understand. I am sorry that I confused enough people by my statements. I believed that by default this timer runs "apt update" every day while upgrades are not enabled

Re: Timer doing apt update

2024-02-20 Thread Andy Smith
Hello, On Tue, Feb 20, 2024 at 07:44:55AM -0500, Greg Wooledge wrote: >This thing has no configuration file by default; you have to read the >comments in the software itself to figure out what it does. Or, say, the Debian Administrator's Handbook.

Re: Timer doing apt update

2024-02-20 Thread tomas
On Tue, Feb 20, 2024 at 07:44:55AM -0500, Greg Wooledge wrote: [...] > For me, it's a combination of two things: > > 1) This apt-daily.timer stuff is quite complex and difficult to discover >and understand [...] I gather this from the thread, yes. I just checked, and the scripts come with

Re: Timer doing apt update

2024-02-20 Thread Greg Wooledge
On Tue, Feb 20, 2024 at 11:39:56AM +, Andy Smith wrote: > On Tue, Feb 20, 2024 at 10:17:17AM +0100, Michael wrote: > > i very much dislike the fact that my systems do things i am not aware of. > > I think one of the purposes of a Linux distribution is to pull > together a collection of

Re: Timer doing apt update

2024-02-20 Thread Erwan David
Le 20/02/2024 à 12:46, Andy Smith a écrit : Hi, On Tue, Feb 20, 2024 at 08:52:09AM +0100, Erwan David wrote: I use KDE, and I do not know wether discover does an update by itself. I do not thind any setting about this I think it is very likely that KDE has an equivalent to GNOME, which does

Re: Timer doing apt update

2024-02-20 Thread Andy Smith
Hi, On Tue, Feb 20, 2024 at 08:52:09AM +0100, Erwan David wrote: > I use KDE, and I do not know wether discover does an update by itself. I do > not thind any setting about this I think it is very likely that KDE has an equivalent to GNOME, which does the equivalent of "apt update" every day and

Re: Timer doing apt update

2024-02-20 Thread Andy Smith
Hi, On Tue, Feb 20, 2024 at 10:17:17AM +0100, Michael wrote: > i very much dislike the fact that my systems do things i am not aware of. I think one of the purposes of a Linux distribution is to pull together a collection of disparate software of their choosing and make default decisions for

Re: Timer doing apt update

2024-02-20 Thread Michael
On Tuesday, February 20, 2024 5:23:35 AM CET, Greg Wooledge wrote: I'm not sure how to interpret this combination of things. Do these default settings mean "the update/upgrade script will run, but it won't actually do anything"? kind of... lines 354-360 (on bookworm) of said script

Re: Timer doing apt update

2024-02-19 Thread Erwan David
Le 20/02/2024 à 01:58, Andy Smith a écrit : Hi, On Mon, Feb 19, 2024 at 08:35:18PM +0100, Erwan David wrote: Sorry il was packagekit, I made a mistake while writing. If it's packagekit then isn't it going to be some part of your desktop environment? Which desktop environment are you using?

Re: Timer doing apt update

2024-02-19 Thread Erwan David
Le 20/02/2024 à 03:20, Max Nikulin a écrit : On 20/02/2024 02:35, Erwan David wrote: Le 19/02/2024 à 18:00, Max Nikulin a écrit :     systemctl disable --now apt-daily.timer apt-daily-upgrade.timer Perhaps it is possible to write a script that will respect connection.metered property set by

Re: Timer doing apt update

2024-02-19 Thread Greg Wooledge
On Tue, Feb 20, 2024 at 03:56:49AM +, Andy Smith wrote: > On Mon, Feb 19, 2024 at 10:21:24PM -0500, Greg Wooledge wrote: > > Does anyone know when these things changed, and why on earth nobody > > knew about it?! Did I miss a section in the release notes or something? > > Why are you shocked

Re: Timer doing apt update

2024-02-19 Thread Andy Smith
Hi, On Mon, Feb 19, 2024 at 10:21:24PM -0500, Greg Wooledge wrote: > Does anyone know when these things changed, and why on earth nobody > knew about it?! Did I miss a section in the release notes or something? Why are you shocked by this? Most of it is disabled by default (no update / upgrade

Re: Timer doing apt update

2024-02-19 Thread Greg Wooledge
On Tue, Feb 20, 2024 at 09:20:11AM +0700, Max Nikulin wrote: > > >     systemctl disable --now apt-daily.timer apt-daily-upgrade.timer > To avoid confusion, these timers are from the apt package, not from > unattended-upgrades. So they are active on most Debian hosts. Holy crap... when did this

Re: Timer doing apt update

2024-02-19 Thread Max Nikulin
On 20/02/2024 02:35, Erwan David wrote: Le 19/02/2024 à 18:00, Max Nikulin a écrit :     systemctl disable --now apt-daily.timer apt-daily-upgrade.timer Perhaps it is possible to write a script that will respect connection.metered property set by NetworkManager. I disable the timers, thanks

Re: Timer doing apt update

2024-02-19 Thread Andy Smith
Hi, On Mon, Feb 19, 2024 at 08:35:18PM +0100, Erwan David wrote: > Sorry il was packagekit, I made a mistake while writing. If it's packagekit then isn't it going to be some part of your desktop environment? Which desktop environment are you using? GNOME will download updates and prompt you to

Re: Timer doing apt update

2024-02-19 Thread Erwan David
Le 19/02/2024 à 18:00, Max Nikulin a écrit : On 19/02/2024 14:35, Erwan David wrote: After each boot, the equivalent of apt update is automatically done in background, through policykit (apt database is locked by policykitd). So I think there is a timer triggroing this. I'd like to disable

Re: Timer doing apt update

2024-02-19 Thread Max Nikulin
On 19/02/2024 14:35, Erwan David wrote: After each boot, the equivalent of apt update is automatically done in background, through policykit (apt database is locked by policykitd). So I think there is a timer triggroing this. I'd like to disable this when my laptop is on expensive link (eg

Re: Timer doing apt update

2024-02-19 Thread Anssi Saari
Erwan David writes: > Hello, > > After each boot, the equivalent of apt update is automatically done in > background, through policykit (apt database is locked by > policykitd). So I think there is a timer triggroing this. I'd like to > disable this when my laptop is on expensive link (eg 4G

Timer doing apt update

2024-02-18 Thread Erwan David
Hello, After each boot, the equivalent of apt update is automatically done in background, through policykit (apt database is locked by policykitd). So I think there is a timer triggroing this. I'd like to disable this when my laptop is on expensive link (eg 4G link, or abroad). So I'd like to