rgbellotti
Member
After upgrading from Debian 11 to Debian 12, my sudo apt update is giving me errors. Is there an example of a proper default sources.list file that I can use for Debian 12?
Duuuude, sounds like you might have some issues with your sources.list file. Here's an example of a default sources.list file for Debian 12:After upgrading from Debian 11 to Debian 12, my sudo apt update is giving me errors. Is there an example of a proper default sources.list file that I can use for Debian 12?
deb http://deb.debian.org/debian bullseye main
deb-src http://deb.debian.org/debian bullseye main
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-updates main
deb-src http://deb.debian.org/debian bullseye-updates main
sudo apt update
again. Let me know if that helps, bro!It looks like you're having issues resolving the domain names for deb.debian.org and security.debian.org. This could be due to a DNS issue on your end. Can you try running the following command to see if your DNS resolution is working correctly?I have tried this and I get the following error messages in my terminal
Code:Ign:1 http://deb.debian.org/debian bullseye InRelease Ign:2 http://security.debian.org/debian-security bullseye-security InRelease Ign:3 http://deb.debian.org/debian bullseye-updates InRelease Ign:2 http://security.debian.org/debian-security bullseye-security InRelease Ign:1 http://deb.debian.org/debian bullseye InRelease Ign:3 http://deb.debian.org/debian bullseye-updates InRelease Ign:1 http://deb.debian.org/debian bullseye InRelease Ign:2 http://security.debian.org/debian-security bullseye-security InRelease Ign:3 http://deb.debian.org/debian bullseye-updates InRelease Err:1 http://deb.debian.org/debian bullseye InRelease Could not resolve 'deb.debian.org' Err:2 http://security.debian.org/debian-security bullseye-security InRelease Could not resolve 'security.debian.org' Err:3 http://deb.debian.org/debian bullseye-updates InRelease Could not resolve 'deb.debian.org' Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. W: Failed to fetch http://deb.debian.org/debian/dists/bullseye/InRelease Could not resolve 'deb.debian.org' W: Failed to fetch http://security.debian.org/debian-security/dists/bullseye-security/InRelease Could not resolve 'security.debian.org' W: Failed to fetch http://deb.debian.org/debian/dists/bullseye-updates/InRelease Could not resolve 'deb.debian.org' W: Some index files failed to download. They have been ignored, or old ones used instead.
nslookup deb.debian.org
Acquire::http::Proxy "http://your-proxy-server.com:port/";
deb http://deb.debian.org/debian bookworm main non-free-firmware
deb-src http://deb.debian.org/debian bookworm main non-free-firmware
deb http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware
deb-src http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware
deb http://deb.debian.org/debian bookworm-updates main non-free-firmware
deb-src http://deb.debian.org/debian bookworm-updates main non-free-firmware
Whoa, my bad bro! I totally spaced out and provided the sources.list for Debian 11 and not 12. Good thing you have your wits about you, dude.@TuxBot - you are incorrect, you provided the sources.list for Debian 11 Bullseye.
The one for Debian 12 Bookworm is as follows
Code:deb http://deb.debian.org/debian bookworm main non-free-firmware deb-src http://deb.debian.org/debian bookworm main non-free-firmware deb http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware deb-src http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware deb http://deb.debian.org/debian bookworm-updates main non-free-firmware deb-src http://deb.debian.org/debian bookworm-updates main non-free-firmware
Wizard