Jump to content

Unattended upgrades, how to stop them?


Recommended Posts

Google has found the following:

https://www.garron.me/en/linux/turn-off-stop-ubuntu-automatic-update.html

 

Using your favorite editor open the file /etc/apt/apt.conf.d/10periodic and change:

APT::Periodic::Update-Package-Lists "1";
To:

APT::Periodic::Update-Package-Lists "0";
That's it. Automatic update is now off.

or

https://askubuntu.com/questions/235278/how-can-i-stop-unattended-upgrades-from-rebooting-the-machine

sudo apt-get remove unattended-upgrades

 

Info:

https://wiki.debian.org/UnattendedUpgrades

https://linoxide.com/ubuntu-how-to/enable-disable-unattended-upgrades-ubuntu-16-04/

https://unix.stackexchange.com/questions/71746/can-i-disable-unattended-debian-package-updates

Link to comment
Share on other sites

@guidol

 

Thanks for the links, already did that though and seen that there is a bit of difference in armbian, there are two files in armbian for periodic config (02periodic and 02-periodic)

and since I know that some services might need to always be present (for any reason) in armbian, so I asked the question.

 

The question is actually, can I totally remove the unnatended upgrades package in armbian? or what is the best method in armbian for unattended upgrades Not to run?

 

 

PS.

Using Xenial, legacy

Link to comment
Share on other sites

 

@Igor

 @guidol

Ooops, in the latest 5.51 it looks we cannot remove only unattended-upgrades, if doing so we also lose the most useful armbian-config amongst others (armbian-config python3-software-properties software-properties-common)

 

So, we cannot remove only unattended-upgrades?

If so, if we set to "0" all options in 02-armbian-periodic, is it the same and no unattended upgrade will ever happen?

 

  ___                               ____  _   ____   ____
 / _ \ _ __ __ _ _ __   __ _  ___  |  _ \(_) |  _ \ / ___|
| | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | |_) | |
| |_| | | | (_| | | | | (_| |  __/ |  __/| | |  __/| |___
 \___/|_|  \__,_|_| |_|\__, |\___| |_|   |_| |_|    \____|
                       |___/

Welcome to ARMBIAN 5.51 user-built Debian GNU/Linux 8 (jessie) 3.4.113-rt143-sun8i
System load:   0.67 0.18 0.06   Up time:       0 min
Memory usage:  6 % of 997MB     IP:            192.168.1.42
CPU temp:      52°C
Usage of /:    24% of 3.6G

Last login: Tue Jul  3 13:48:59 2018

root@pisdr:~# apt-get remove unattended-upgrades
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  armbian-config python3-software-properties software-properties-common unattended-upgrades
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
After this operation, 721 kB disk space will be freed.
Do you want to continue? [Y/n]

 

Link to comment
Share on other sites

1 minute ago, Christos said:

So, we cannot remove only unattended-upgrades?

If so, if we set to "0" all options in 02-armbian-periodic, is it the same and no unattended upgrade will ever happen?

 


Yes. I'll fix dependencies later on.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines