Sounds extremely basic, yet I could not actually find the meaning of the different options available to configure unattended-upgrades... In particular, what is the difference between these two ? "${distro_id}:${distro_codename}"; "${distro_id}:${distro_codename}-updates";

[Edit]: One good source of explanations can be found here (thanks @muru): https://help.ubuntu.com/community/UbuntuUpdates but I haven't been able to find an explanation anywhere for what the first line (without '-[type]') refers to...

I've noticed that having the first line activated will automatically update MySQL for example. If not, I get MySQL packages as 'available but not updated'... I want to go for option 1, but I'd just like to understand why ! :)

  • 5
  • @muru thanks for the link, does provide some interesting info (I've edited to include this) - however I'm still stumped on that first line.
    – caccia
    Feb 1 '17 at 9:36
  • 1
    Found a little more info (in French) about where this came from: forum.ubuntu-fr.org/viewtopic.php?id=2002081 : a while back, following an upgrade I got an extra "50unattended-upgrades.ucf-old" file created. The difference between new and old versions was the first line mentioned in my post. So it seems to be a new option, for what it's worth !
    – caccia
    Feb 1 '17 at 9:46
  • Have a look at for that one wiki.ubuntu.com/SecurityTeam/…
    – muru
    Feb 1 '17 at 9:52
  • 1
    @muru - I'll take that! "The release pocket is simply the name of the release, and the other pockets are denoted by <release name>-<pocket>." Still not 100% sure what that really means, but I've now got an explanation and I know my first line refers to the release pocket - Thanks !!!
    – caccia
    Feb 1 '17 at 10:00

The first line was added in unattended-upgrades package Version: 0.90ubuntu0.1:

Modify data/50unattended-upgrades.Ubuntu such that the release pocket is an allowed origin so that security updates with a new dependency will be upgraded and the new dependency will be installed.

from: https://www.ubuntuupdates.org/package/core/xenial/main/updates/unattended-upgrades

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.