Debian Buster and Raspbian apt update cannot resolve servers anymore since 1.5 months, very slow till no updates
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Debian Buster and Raspbian apt update cannot resolve servers anymore since 1.5 months, very slow till no updates
Hi!
since 1.5 months my internet connection makes problems and i changed a lot of things, .e.g. i changed my public IP to private in order to counteract DNS spoofing and DoS attacks. I changed from the Google DNS servers to my ISP servers DNS servers. Finally, i changed to a new internet fee from my provider from a 30MBit/10MBit LTE line to a 100MBit/20MBit LTE line. Things improved greatly but the only problem i have still is, that my apt update seems to not work anymore at all. Can it be that my ISPs DNS servers are spoiled in relation to Google DNS servers for resolving the linux apt servers? What else could be the reason for this problem?
Last edited by Thomas Korimort; 02-23-2020 at 08:19 AM.
What're your repo lists and what errors are thrown when
Code:
sudo apt-get update && sudo apt-get upgrade
Is envoked in terminal
My repo list buster lines
Code:
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://ftp.us.debian.org/debian/ buster-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://ftp.us.debian.org/debian/ buster main contrib non-free
2: deb http://security.debian.org/ buster/updates main contrib non-free
Your problem description is extremely vague. How about showing commands, config files, error messages? You talk about changes at ISP level; have you changed anything on the computers that you try to update?
You mention problems resolving domain names. Have you tried public DNS servers like 1.1.1.1 or 8.8.8.8? Debian has repos in many places, in particular in places that have nothing to do with Debian. For example, a good update source for me is http://ftp.jaist.ac.jp/pub/Linux/debian (JAIST is a university and research institute in Japan). Do you have a problem resolving ftp.jaist.ac.jp? If not, change your sources.list accordingly. If you do, change the DNS server and try again.
Last edited by berndbausch; 02-24-2020 at 12:59 AM.
Hi! For my RPi 4 4GB on Raspbian i used the predefined mirrors, which did not work anymore for me for some reason. It also said that the release files were not there anymore, but i think it was also because of DNS resolving issues. After a change to a different Raspbian mirror it worked again. For my Desktop i am using the same mirror like before which works now again and i don't know why. After turning back to a private IP, upgrading my internet tarif, buying a new mobile and buying a new router, removing all port forwards it seems like things are going back to normal operation mode. Maybe my ISPs DNS cache was spoofed and now finally is cleared and the private IP can now only be attacked by my ISP provider himself, which they never would do of course (for what reason should they destroy their own reputation/network integrity?).
Another problem that i identified is with pulseaudio. After recovering from sleep mode i have to always kill it in order to get normal playback on my desktop. It is so strange. The headphones always play nicely, but when i switch back to speakers surprisingly the playback speed is like 20x or something like that and also the volume is very loud. After killing pulseaudio things are normal again, but it could work nicely at first place without such spooky phenomena.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.