0

There's an error in http://co.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease...

wolfi3@Hp-G42:~$ sudo apt update
[sudo] password for wolfi3:     
Hit:1 http://packages.elementary.io/appcenter bionic InRelease
Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease                                         Err:6 http://co.archive.ubuntu.com/ubuntu bionic InRelease                      
Unable to connect to co.archive.ubuntu.com:80 (200.35.32.3), connection timed out
Reading package lists... Done  
Building dependency tree  
Reading state information... Done  
3 packages can be upgraded. Run "apt list --upgradable" to see them.
W: Failed to fetch http://co.archive.ubuntu.com/ubuntu/dists/bionic/InRelease  Unable to connect to co.archive.ubuntu.com:80 (200.35.32.3), connection timed out
W: Failed to fetch http://co.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease  Unable to connect to co.archive.ubuntu.com:http:
W: Failed to fetch http://co.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Unable to connect to co.archive.ubuntu.com:http:
W: Some index files could not be downloaded, were omitted, or old ones were used instead.
-1

There is obviously some issue with the localized host co.archive.ubuntu.com

Edit your apt sources file to replace all http://co.archive.ubuntu.com by http://archive.ubuntu.com

Or run this command :

sudo sed -i.backup 's|http://co.archive.ubuntu.com|http://archive.ubuntu.com|g' /etc/apt/sources.list
# Then
sudo apt-get update

Not the answer you're looking for? Browse other questions tagged or ask your own question.