When I execute the command sudo apt-get update
on kubuntu 18.04 It outputs:
Hit:1 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Err:3 http://(Country code).archive.ubuntu.com/ubuntu bionic InRelease
Could not connect to (Country code).archive.ubuntu.com:80 (212.43.0.68), connection timed out
Err:4 http://(Country Code).archive.ubuntu.com/ubuntu bionic-updates InRelease
Unable to connect to (Country code).archive.ubuntu.com:http:
Err:5 http://(County code).archive.ubuntu.com/ubuntu bionic-backports InRelease
Unable to connect to (Country code).archive.ubuntu.com:http:
Fetched 88.7 kB in 30s (2,916 B/s)
Reading package lists... Done
W: Failed to fetch http://(Country code).archive.ubuntu.com/ubuntu/dists/bionic/InRelease Could not connect to (Country code).archive.ubuntu.com:80 (212.43.0.68), connection timed out
W: Failed to fetch http://(Country code).archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Unable to connect to (Country code).archive.ubuntu.com:http:
W: Failed to fetch http://(Country code0.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Unable to connect to (Country code).archive.ubuntu.com:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
Please help, As I cannot install most of the things I need this way. (user535733's Last comment fixed the problem, thanks)
software-properties-qt
– user535733 Feb 18 '21 at 18:39nano
is easiest). Then edit the file /etc/apt/sources.list to change the country code in each URL. Since that's a root-owned file, you must usesudo
when you launch the editor. That's a lot to bite off for a beginner, though the actual changes are quite easy. – user535733 Feb 18 '21 at 18:55