How to stop apt from doing anything [duplicate]
Solution 1:
On my systems I did the following to take control on the system:
-
I removed
unattended-upgrades
packagesudo apt-get purge unattended-upgrades
-
Disabled systemd timers, which are related to APT:
sudo systemctl disable apt-daily-upgrade.timer sudo systemctl disable apt-daily.timer
-
Disabled
'APT::Periodic'
for sure:echo 'APT::Periodic::Enable "0";' | \ sudo tee /etc/apt/apt.conf.d/99periodic-disable
With these steps I take full control on APT. I have never seen lock-conflicts.
Solution 2:
I removed update-manager and this stopped the automatic updating.
sudo apt remove update-manager
This action removed
ubuntu-release-upgrader-gtk
update-notifier
update-manager