On paź 31, Hartmut Goebel wrote:
when trying to bootstrap a Debian 11.5 box, task “apt : Update APT
cache“
fails with:
E:The repository ''https://security.debian.org/debian-security
bullseye Release'' does not have a Release file
Debian 11.5
debops stable-2.3 head (d05c00e2f43790ff6)
ansible-6.5.0 with ansible_core-2.13.5
Any ideas how to solve this?
The 'apt' role tries to detect existing APT sources from the diverted
sources.list file and creates a new set of sources based on them. The fact
script which does this should detect the security repositories and filter them
out; I suspect that https:// prefix could have caused that repository to be
misinterpreted.
In any case, the fact script should be updated to detect this particular
repository as the security repository to avoid creating the set of sources
with <codename>, <codename>-updates, <codename>-backports suites which
are
incorrect in this case. I'll try to fix the script on my end ASAP.
To avoid this, you could modify the sources.list file on the host before
applying the DebOps roles - just comment the security repository, it should be
sufficient.
Best Regards,
Maciej Delmanowski