Package: unattended-upgrade
Version: 0.83
Severity: normal

Dear Maintainer,

with /etc/apt/apt.conf.d/50unattended-upgrades containing
> Unattended-Upgrade::Origins-Pattern {
>         "origin=*";
> };

and /etc/apt/preferences containing
> Package: *
> Pin: release o=Debian,a=stable
> Pin-Priority: 950
> 
> Package: *
> Pin: release o=Debian,a=testing
> Pin-Priority: 900
> 
> Package: *
> Pin: release o=Debian,a=unstable
> Pin-Priority: 400

unattended-upgrade upgrades the packages to unstable if both a testing and
an unstable version exists. This is in contrast to apt-get, which prefers
the testing version in this case.

If no unstable repositories are defined in /etc/apt/sources.list,
unattended-upgrade correctly installs the testing versions.

It's hard to follow the exact defintion of APT's priorities defined in
the man page of apt_preferences. But independent of the correct
interpretation of these definitions, IMHO the only sane way is:
Do the same as apt-get does.
(Thus, I even think that the Origins-Pattern above should be the default,
but let's discuss this some other time.)

Kind regards
Patrick


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to