As explained before, the behavior here is intended and not a bug.

@Jan You are free to configure unattended-upgrades to install from the
PPA or add negative pins for the Ubuntu (and UbuntuESM archives, if
enabled) for src:firefox to prevent the snap from being installed.

@Piotr I will not correspond to the complete message but

> (workaround = pinning Ubuntu repository to 1/-1 for all external packages)
> Wrong.
> You may add the entire Debian repository (which will be not-allowed-origin),
> and now you have to pin every package (and dependency!) installed from Debian 
> *by name*
> in order for "unattended-upgrades" not to mess with them.
>This "solution" would be ridiculous.

I stand by what I said. If you don't want firefox from the official
repository, pin it down. You'll want

Package: src:firefox
Pin: release o=Ubuntu
Pin-Priority: -1

Package: src:firefox
Pin: release o=UbuntuESM
Pin-Priority: -1

Of course if you install multiple packages like that you need to list
them all in the package line.

This is noticably different from pinning up the PPA and again there is
no easy way out here, the behaviour as is is what is generally needed.

Adding the Debian repository is *NOT* supported.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to