Wednesday, June 19, 2019

disable updates from command line in Ubuntu 16.04


Is there any gsettings schema to select "Never" on


system settings->software and updates->updates->automatically check for updates


Any other command line option to disable automatic updates is right for me.


Thank You



Thanks to suggestions from Norbert and doug I came up with this solution:


sudo sed -i 's/APT::Periodic::Update-Package-Lists "1"/APT::Periodic::Update-Package-Lists "0"/' /etc/apt/apt.conf.d/20-auto-upgrades

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...