Note that this question has been
cross-posted to debian-backports@lists.debian.org: I
just did not realize that the deity list is much more appropriate
to ask this question. I just learned that
the Debian backports repos are marked "NotAutomatic: yes"
(and “ButAutomaticUpgrades: yes”), which is really handy
as it allows to always keep a suitable backports entry in
sources.list, while still being able to only install _specific_
backports packages by using apt’s -t command-line switch.
But while this works just fine for binary packages, it
seems to fail for source packages: They are treated as if
the backports repo is just an ordinary repo, i.e. an
“apt-get source –download-only <some-package>”
always downloads the (more recent) package from the
backports repo _despite_ the fact that it is
“NotAutomatic: yes”. Can anyone tell why
source packages are not treated the same as binary
packages for “NotAutomatic: yes” repos? It breaks the
expectation that you always get the corresponding sources
for a binary package. The session below
shows the issue using a Debian bullseye (snapshot) chroot,
showing that source- and binary versions do not match: # cat /etc/apt/sources.list |