Skip to content

backports: Gets enabled although not available yet

I noticed in my vagrant box that the buster-backports source list had been added, leading to install errors.

I think the issue is that deb.debian.org responds with 302 Found:

vagrant@freedombox:~$ curl -f -w %{response_code} https://deb.debian.org/debian/dists/buster-backports/Release
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://cdn-aws.deb.debian.org/debian/dists/buster-backports/Release">here</a>.</p>
<hr>
<address>Apache Server at deb.debian.org Port 443</address>
</body></html>

curl does not raise an error about this, so action_utils.check_url thinks it's ok.

If you check the redirect URL, then you get 404 Not Found.

Edited by James Valleroy