Open sdelafond opened 2 years ago
Please note that the security repository for releases prior to Debian 11 bullseye is shipped in another layout, see https://deb.debian.org/debian-security/dists/buster/updates/InRelease
Note dists/bullseye-security
vs. dists/buster/updates
with the same components in both Release-files. Starting with bullseye, updates/
is just a symlink to the parent directory, see https://deb.debian.org/debian-security/dists/bullseye-security/updates/updates/updates/updates/updates/updates/InRelease
This change requires Debian security mirrors for releases after Debian 10 buster to be configured differently in aptly, as discussed in #983.
I agree this is more a documentation bug than anything else, as it's a bit counter-intuitive for end-users since apt hides that detail about the component+symlink.
The standard apt line would be something like:
deb https://deb.debian.org/debian-security bullseye-security main contrib non-free
However, the same in aptly does not work:
Detailed Description
It turns out that https://deb.debian.org/debian-security/dists/bullseye-security/InRelease
defines the components as:
Components: updates/main updates/contrib updates/non-free
And aptly needs them to be spelled out exactly that way, so this works:
It's rather surprising behaviour, and there's a working workaround,
although I did not dig into the root cause to figure out why Components
are defined that way, how apt makes it work, and what the consequences
of the work around could be.
Context
This is Debian bug 1005290 (https://bugs.debian.org/1005290).
Your Environment
Debian bullseye, aptly 1.4.0.