Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unattended upgrades, how to stop them?

Featured Replies

Hi,

 

Need to have unattended upgrades stopped and not run uppon every boot.

What is the best way to do this?

 

 

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

  • Author

@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

  • Author

 

@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]

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.