@FelixM
The epoch number in this case is indeed meant to sneakily do what you say, but 
it doesn't affect this particular bug.

The core issue here is the fundamental flaw of unattended-upgrades that, when 
deciding which version to install, ignores packages from origins (repositories) 
which are not allowed (configured) for automatic upgrades (which by default are 
only Ubuntu repositories).
This way even pinned versions from external repositories are ignored and 
over-installed by packages from allowed repositories.
And then the apt updater (running manually) comes in and fixes this mess by 
reinstalling the pinned version from an external repository.
Until the next update in the official repository, when the situation repeats...

Hence, until unattended-upgrades is fixed to understand that pinned
packages from not-allowed repositories are not to be ignored and over-
installed by allowed ones, the only valid fix for this bug is to allow
all repositories for automatic updates:

/etc/apt/apt.conf.d/99fix-broken-unattended-upgrades-origins:

Unattended-Upgrade::Origins-Pattern {
    "origin=*";
};

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2033646

Title:
  unattended-upgrade ignores apt-pinning to not-allowed origins

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/2033646/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to