Am 22.01.22 um 21:07 schrieb Bjørn Mork:
Stefan Fritsch <s...@sfritsch.de> writes:

# cat /etc/apt/apt.conf.d/11-default-release
APT::Default-Release "bullseye";

Just don't do that.  It breaks all normal preferences and will end up
preferring "bullseye" over anything else.  Including
"bullseye-security".

This used to work until buster. But it turns out the release-notes mention this problem and the correct syntax is now:

APT::Default-Release "/^bullseye(|-security|-updates)$/";


The failure mode of silently not installing security updates is bad, though. But I don't see an easy way to fix that. Maybe apt should print a warning if one uses a simple codename as Default-Release?

Reply via email to