Oh, and I should have added, the current documentation in
50unattended-upgrades says this:

        // Codename based matching:
        // This will follow the migration of a release through different
        // archives (e.g. from testing to stable and later oldstable).
//      "o=Debian,n=squeeze";
//      "o=Debian,n=squeeze-updates";
//      "o=Debian,n=squeeze-proposed-updates";
//      "o=Debian,n=squeeze,l=Debian-Security";

I think the idea is n=squeeze is supposed to match the Codename
attribute in the Release file.  It would be great if it worked, but I
don't see how it can because the python apt package doesn't include an
element describing the codename in
apt.Cache()["package"].candidate.origins, and neither can I see any code
in unattended-upgrades that would match it.

It may looks like it works because unattended-upgrade doesn't report an
error if you give it a keyword it doesn't understand (like n or
codename).  A side effect of this is if you included a line like
"true=true" (or any other unknown keyword) every package will always
match.


-- 
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