Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2527

Raspberry Pi OS • Re: Disable any & all automatic updates in Bookworm

$
0
0
So from t'other thread there's a suggestion from pidd to do:

Code:

sudo apt autopurge apt-config-auto-update
Mitsushiro's efforts (which they say hasn't stopped the downloads):

Code:

sudo systemctl mask apt-daily.timersudo systemctl mask apt-daily.servicesudo systemctl mask apt-daily-upgrade.servicesudo systemctl mask apt-daily-upgrade.timer/etc/apt/apt.conf.d/10periodicAPT::Periodic::Enable "0";APT::Periodic::Update-Package-Lists "0";APT::Periodic::Download-Upgradeable-Packages "0";APT::Periodic::AutocleanInterval "0";/etc/apt/apt.conf.d/99disable-periodicAPT::Periodic::Enable "0";
A bit of trawling StackOverflow suggets this solution:

Code:

systemctl disable apt-daily.service apt-daily-upgrade.service
But after trawling the logs and a few more pots I've arrived at this:

Code:

sudo systemctl disable apt-daily.service apt-daily-upgrade.service rpi-eeprom-update.service apt-daily.timer apt-daily-upgrade.timer
And as far as journalctl shows, that has stopped daily upgrade, daily update, and rpi-eeprom-update from running at boot.

Can anyone confirm or deny if these are on the right track?

Statistics: Posted by John_U — Mon Mar 17, 2025 9:25 am



Viewing all articles
Browse latest Browse all 2527

Trending Articles