After installing Debian Testing "Bullseye" mid March 2020 I got an
error trying to run apt update
.
E: The repository 'http://security.debian.org./debian-security
bullseye/updates Release' does not have a Release file.
Unfortunately, the Debian maintainers managed to let a bug creep into
the /etc/apt/sources.list
. It’s called "Testing" for a reason, I
guess.
The offending lines are this.
deb http://security.debian.org/debian-security/ bullseye/updates main
deb-src http://security.debian.org/debian-security/ bullseye/updates main
Note "bullseye/updates", which is where the error is. Change those two lines to look like this.
deb http://security.debian.org/debian-security/ bullseye-security main
deb-src http://security.debian.org/debian-security/ bullseye-security main
After that, the update will work. I have noticed that in a later version of the installer this bug has been fixed.
[…] blog posts (that are also much more focused on the problem rather than the story 😉). One was a bug in one of the apt configuration files that prevented updates and another about how to install the NVIDIA driver. Since I knew what I was […]
LikeLike
Thanks, I did it with sed:
sed -i ‘s_/debian-security/ bullseye/updates_/debian-security/ bullseye-security_g’ /etc/apt/sources.list
LikeLike
thanks, helped me to fix my problem!
LikeLike
deb http://security.debian.org/debian-security/ bullseye-security main
deb-src http://security.debian.org/debian-security/ bullseye-security main
LikeLike
It’s worth noting that syntax for the correct lines have changed between Buster and Bullseye, so someone updating from Buster to Bullseye just by changing the name in sources.list will probably trip over this problem.
LikeLike
sed -i s”/bullseye\/updates/bullseye-security/” sources.list
LikeLike
It may have been fixed at one point, but it is in Debian 11.6.
LikeLike
Thank you very much.
deb http://security.debian.org/debian-security/ bullseye-security main
deb-src http://security.debian.org/debian-security/ bullseye-security main
deb http://deb.debian.org/debian/ bullseye main contrib non-free
deb-src http://deb.debian.org/debian/ bullseye main contrib non-free
Repositorio para actualizaciones que aún no han sido incluidas en la versión principal
deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian/ bullseye-updates main contrib non-free
Repositorio de backports (paquetes más recientes que en la versión principal)
deb http://deb.debian.org/debian/ bullseye-backports main contrib non-free
deb-src http://deb.debian.org/debian/ bullseye-backports main contrib non-free
LikeLike