Unattended-upgrade on by default despite selecting no in setup

Bug #1591400 reported by Chris B
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
debian-installer (Ubuntu)
Confirmed
High
Unassigned

Bug Description

I installed Ubuntu Server LTS 16.04 on my server. At the end, it asks the question if it should enable automatic updates. Following options are available: yes, major security updates only, no. I chose no. However, I found out that despite me choosing no over major security updates only, it installed a kernel update last night on its own.

Is this a bug or is this desired to be like this? It feels a bit like Windows if I say no and it updates nevertheless....

Thanks

tags: added: server
tags: added: installation setup
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1591400/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → debian-installer (Ubuntu)
Revision history for this message
Chris B (b-christopher-92) wrote :

Confirmed in 16.04 LTS and Yakkety Daily.

How to reproduce:
User Ubuntu Server ISO and at the very last question of the installer, answer "no automatic updates."

Then, after the reboot, check /etc/apt/apt.conf.d/50unattended-upgrades and you will find:

// 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";
};

Since by default the first one is enabled, it will install automatic updates despite having selected "no" during installer.

Revision history for this message
Chris B (b-christopher-92) wrote :
tags: added: xenial yakkety
tags: added: rls-y-incoming
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in debian-installer (Ubuntu):
status: New → Confirmed
Changed in debian-installer (Ubuntu):
importance: Undecided → Low
Changed in debian-installer (Ubuntu):
importance: Low → High
Revision history for this message
Brian Murray (brian-murray) wrote :

How is this different from LP: #1591427?

Revision history for this message
Chris B (b-christopher-92) wrote : Re: [Bug 1591400] Re: Unattended-upgrade on by default despite selecting no in setup

It is not. The other one can be closed.

Sorry about that.

On Sep 15, 2016 11:51 AM, "Brian Murray" <email address hidden> wrote:

> How is this different from LP: #1591427?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1591400
>
> Title:
> Unattended-upgrade on by default despite selecting no in setup
>
> Status in debian-installer package in Ubuntu:
> Confirmed
>
> Bug description:
> I installed Ubuntu Server LTS 16.04 on my server. At the end, it asks
> the question if it should enable automatic updates. Following options
> are available: yes, major security updates only, no. I chose no.
> However, I found out that despite me choosing no over major security
> updates only, it installed a kernel update last night on its own.
>
> Is this a bug or is this desired to be like this? It feels a bit like
> Windows if I say no and it updates nevertheless....
>
> Thanks
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1591400/+
> subscriptions
>

Revision history for this message
Brian Murray (brian-murray) wrote :

The other one has a more detailed description so I'll make this a duplicate of that.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.