What is "Unattended-upgrade" about?

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
adm
Level 1
Level 1
Posts: 20
Joined: Thu Apr 03, 2014 7:34 am

What is "Unattended-upgrade" about?

Post by adm »

Been using Linux Mint 17.1 for a wee while now, but after an update today i get a listing for "unattended-upgrade". So could someone please tell me what it is, and is it safe?

I have tried searching on here and on Google, on here I get words too common, and on Google I get instructions on how to set it up.

Another question I have is, I noticed that there is now a 17.2 version of Linux Mint, does this require a full download and install, or will it come through as an update in the Update Manager?

Thanks for reading, hope someone can advise me. I know these questions may seem stupid, or even have obvious answers that I cannot find, but your help will be greatly appreciated.

Cheers.
User avatar
killer de bug
Level 14
Level 14
Posts: 5398
Joined: Tue Jul 08, 2008 1:49 pm
Location: Leuven, Belgium

Re: What is "Unattended-upgrade" about?

Post by killer de bug »

I guess this will help you to understand this package: https://wiki.debian.org/UnattendedUpgrades
If it ain't broke, fix it until it is.
Adelante
Level 4
Level 4
Posts: 337
Joined: Mon Mar 14, 2011 8:16 pm

Re: What is "Unattended-upgrade" about?

Post by Adelante »

It will come through on Update Manager, but if you encounter problems, you can also do a fresh install from a download. Don't worry about asking questions.
adm wrote:
Another question I have is, I noticed that there is now a 17.2 version of Linux Mint, does this require a full download and install, or will it come through as an update in the Update Manager?
Linux Mint 17.1 Cinnamon
Linux Mint 17.1 Xfce
User avatar
Pjotr
Level 22
Level 22
Posts: 15878
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: What is "Unattended-upgrade" about?

Post by Pjotr »

The update itself is obviously safe. Just another package from a trusted source. However, that doesn't mean that you should start enabling unattended upgrades.
Tip: 10 things to do after installing Linux Mint 20 Ulyana
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
adm
Level 1
Level 1
Posts: 20
Joined: Thu Apr 03, 2014 7:34 am

Re: What is "Unattended-upgrade" about?

Post by adm »

Thanks for the help.
Bryan88
Level 3
Level 3
Posts: 155
Joined: Sun Apr 13, 2014 3:29 am
Location: South Africa

Re: What is "Unattended-upgrade" about?

Post by Bryan88 »

Pjotr wrote:The update itself is obviously safe. Just another package from a trusted source. However, that doesn't mean that you should start enabling unattended upgrades.
How can I ensure that now that the "unattended upgrade" update has already been done? Don't mean to sound paranoid but does this mean my pc will automatically be upgraded when new versions are released. I am perfectly happy with 17 Quiana and if possible would keep it for the life of this box.

Edit - so reading the link properly this time, it would appear that this feature has to be enabled via editing of the config file? Here are the contents of said file, am I safe to assume that it is NOT activated? (except security updates which seem to be the only line that is different) Thanks

// Automatically upgrade packages from these (origin:archive) pairs
Unattended-Upgrade::Allowed-Origins {
"${distro_id}:${distro_codename}-security";
// "${distro_id}:${distro_codename}-updates";
// "${distro_id}:${distro_codename}-proposed";
// "${distro_id}:${distro_codename}-backports";
};

// List of packages to not update (regexp are supported)
Unattended-Upgrade::Package-Blacklist {
// "vim";
// "libc6";
// "libc6-dev";
// "libc6-i686";
};

// This option allows you to control if on a unclean dpkg exit
// unattended-upgrades will automatically run
// dpkg --force-confold --configure -a
// The default is true, to ensure updates keep getting installed
//Unattended-Upgrade::AutoFixInterruptedDpkg "false";

// Split the upgrade into the smallest possible chunks so that
// they can be interrupted with SIGUSR1. This makes the upgrade
// a bit slower but it has the benefit that shutdown while a upgrade
// is running is possible (with a small delay)
//Unattended-Upgrade::MinimalSteps "true";

// Install all unattended-upgrades when the machine is shuting down
// instead of doing it in the background while the machine is running
// This will (obviously) make shutdown slower
//Unattended-Upgrade::InstallOnShutdown "true";
Bryan88
Level 3
Level 3
Posts: 155
Joined: Sun Apr 13, 2014 3:29 am
Location: South Africa

Re: What is "Unattended-upgrade" about?

Post by Bryan88 »

Think my question may have been answered, an update has just popped up on the screen :lol:
Post Reply

Return to “Newbie Questions”