When it says that the connection failed to the repo mirrors, what is the exact error apt gives?
Linux Questions
Linux questions Rules (in addition of the Lemmy.zip rules)
- stay on topic
- be nice (no name calling)
- do not post long blocks of text such as logs
- do not delete your posts
- only post questions (no information posts)
Tips for giving and receiving help
- be as clear and specific
- say thank you if a solution works
- verify your solutions before posting them as facts.
Any rule violations will result in disciplinary actions
Accessing these sites on my phone still works (though it didn't until I accessed them through mobile data and switched back to wifi)
Try running dig deb.debian.org
then dig @9.9.9.9 deb.debian.org
. If the first one fails, it might be your DNS. The second one uses an alternative DNS server.
Here are two articles on how to set a DNS server on mint:
Try setting your DNS server to that of quad9: 9.9.9.9 (literally four nines). They are a privacy-respecting DNS server.
Ok. Thank you very much! Finally making progress.
I can access deb.debian.org in my browser now, but updating still isn’t working. I get a different error message. A 404 this time. The repository 'http://deb.debian.org/debian bullseye-security Release' does not have a release file.
Earlier I attempted to change my mirrors file to try to fix the issue, so perhaps I didn’t change it back properly.
Edit: Yup. Just successfully ran apt update, and currently running upgrade, so everything should be fine now.
Ayyyy, congrats! 🎉🎉🎉
You should be able to change your DNS server in your router too so that any new devices don't run into similar issues. Plus it helps with your privacy.
Anyway, glad it all worked out.
It’s not my router, so I won’t do that, but I might start manually using quad9 for my Mint systems too. I already knew about quad9, but not how to change dns on Debian. Thanks again.