Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #267591
| From | Max Nikulin <manikulin@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Timer doing apt update |
| Date | 2024-02-19 18:10 +0100 |
| Message-ID | <I9fjs-beUH-11@gated-at.bofh.it> (permalink) |
| References | <I96zv-b9wC-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 4G link, or abroad). So I'd like to
> disable this timer, but I did not find it. If someone knws better than
> me...
Perhaps I missed something since I have no idea why policykit (or
polkit?) is involved.
You may disable apt timers
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.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Timer doing apt update Erwan David <erwan@rail.eu.org> - 2024-02-19 08:50 +0100
Re: Timer doing apt update Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2024-02-19 10:00 +0100
Re: Timer doing apt update Max Nikulin <manikulin@gmail.com> - 2024-02-19 18:10 +0100
Re: Timer doing apt update Erwan David <erwan@rail.eu.org> - 2024-02-19 20:40 +0100
Re: Timer doing apt update Andy Smith <andy@strugglers.net> - 2024-02-20 02:00 +0100
Re: Timer doing apt update Erwan David <erwan@rail.eu.org> - 2024-02-20 09:00 +0100
Re: Timer doing apt update Andy Smith <andy@strugglers.net> - 2024-02-20 13:00 +0100
Re: Timer doing apt update Erwan David <erwan@rail.eu.org> - 2024-02-20 13:40 +0100
Re: Timer doing apt update Max Nikulin <manikulin@gmail.com> - 2024-02-20 03:30 +0100
Re: Timer doing apt update Greg Wooledge <greg@wooledge.org> - 2024-02-20 04:30 +0100
Re: Timer doing apt update Andy Smith <andy@strugglers.net> - 2024-02-20 05:00 +0100
Re: Timer doing apt update Greg Wooledge <greg@wooledge.org> - 2024-02-20 05:30 +0100
Re: Timer doing apt update Michael <ml@hemathor.de> - 2024-02-20 10:30 +0100
Re: Timer doing apt update Andy Smith <andy@strugglers.net> - 2024-02-20 12:50 +0100
Re: Timer doing apt update Greg Wooledge <greg@wooledge.org> - 2024-02-20 13:50 +0100
Re: Timer doing apt update <tomas@tuxteam.de> - 2024-02-20 14:00 +0100
Re: Timer doing apt update Andy Smith <andy@strugglers.net> - 2024-02-20 15:40 +0100
Re: Timer doing apt update Max Nikulin <manikulin@gmail.com> - 2024-02-20 15:50 +0100
Re: Timer doing apt update Erwan David <erwan@rail.eu.org> - 2024-02-20 08:50 +0100
Re: Timer doing apt update Max Nikulin <manikulin@gmail.com> - 2024-02-20 16:00 +0100
csiph-web