Page 1 of 1

apt-get not working

Posted: Thu Aug 15, 2019 1:49 pm
by tahmidamit
I installed raspbian and then connected to my phone's hotspot. Internet is working fine but when I used sudo apt-get update then this error tis occuring.

Code: Select all

[email protected]:~ $ sudo apt-get update
Err:1 http://raspbian.raspberrypi.org/raspbian buster InRelease              
  Cannot initiate the connection to raspbian.raspberrypi.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) Could not connect to raspbian.raspberrypi.org:80 (93.93.128.193), connection timed out
Err:2 http://archive.raspberrypi.org/debian buster InRelease                 
  Cannot initiate the connection to archive.raspberrypi.org:80 (2a00:1098:0:80:1000:13:0:5). - connect (101: Network is unreachable) Cannot initiate the connection to archive.raspberrypi.org:80 (2a00:1098:0:82:1000:13:0:5). - connect (101: Network is unreachable) Cannot initiate the connection to archive.raspberrypi.org:80 (2a00:1098:0:82:1000:13:0:9). - connect (101: Network is unreachable) Cannot initiate the connection to archive.raspberrypi.org:80 (2a00:1098:0:82:1000:13:0:7). - connect (101: Network is unreachable) Cannot initiate the connection to archive.raspberrypi.org:80 (2a00:1098:0:80:1000:13:0:6). - connect (101: Network is unreachable) Cannot initiate the connection to archive.raspberrypi.org:80 (2a00:1098:0:82:1000:13:0:6). - connect (101: Network is unreachable) Cannot initiate the connection to archive.raspberrypi.org:80 (2a00:1098:0:80:1000:13:0:7). - connect (101: Network is unreachable) Cannot initiate the connection to archive.raspberrypi.org:80 (2a00:1098:88:26::1). - connect (101: Network is unreachable) Cannot initiate the connection to archive.raspberrypi.org:80 (2a00:1098:0:80:1000:13:0:8). - connect (101: Network is unreachable) Could not connect to archive.raspberrypi.org:80 (93.93.135.188), connection timed out Could not connect to archive.raspberrypi.org:80 (46.235.227.11), connection timed out Could not connect to archive.raspberrypi.org:80 (93.93.130.214), connection timed out Could not connect to archive.raspberrypi.org:80 (93.93.130.39), connection timed out Could not connect to archive.raspberrypi.org:80 (93.93.128.230), connection timed out Could not connect to archive.raspberrypi.org:80 (93.93.130.104), connection timed out Could not connect to archive.raspberrypi.org:80 (93.93.128.211), connection timed out Could not connect to archive.raspberrypi.org:80 (46.235.231.111), connection timed out Could not connect to archive.raspberrypi.org:80 (93.93.128.133), connection timed out
Reading package lists... Done
W: Failed to fetch http://raspbian.raspberrypi.org/raspbian/dists/buster/InRelease  Cannot initiate the connection to raspbian.raspberrypi.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) Could not connect to raspbian.raspberrypi.org:80 (93.93.128.193), connection timed out
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/buster/InRelease  Cannot initiate the connection to archive.raspberrypi.org:80 (2a00:1098:0:80:1000:13:0:5). - connect (101: Network is unreachable) Cannot initiate the connection to archive.raspberrypi.org:80 (2a00:1098:0:82:1000:13:0:5). - connect (101: Network is unreachable) Cannot initiate the connection to archive.raspberrypi.org:80 (2a00:1098:0:82:1000:13:0:9). - connect (101: Network is unreachable) Cannot initiate the connection to archive.raspberrypi.org:80 (2a00:1098:0:82:1000:13:0:7). - connect (101: Network is unreachable) Cannot initiate the connection to archive.raspberrypi.org:80 (2a00:1098:0:80:1000:13:0:6). - connect (101: Network is unreachable) Cannot initiate the connection to archive.raspberrypi.org:80 (2a00:1098:0:82:1000:13:0:6). - connect (101: Network is unreachable) Cannot initiate the connection to archive.raspberrypi.org:80 (2a00:1098:0:80:1000:13:0:7). - connect (101: Network is unreachable) Cannot initiate the connection to archive.raspberrypi.org:80 (2a00:1098:88:26::1). - connect (101: Network is unreachable) Cannot initiate the connection to archive.raspberrypi.org:80 (2a00:1098:0:80:1000:13:0:8). - connect (101: Network is unreachable) Could not connect to archive.raspberrypi.org:80 (93.93.135.188), connection timed out Could not connect to archive.raspberrypi.org:80 (46.235.227.11), connection timed out Could not connect to archive.raspberrypi.org:80 (93.93.130.214), connection timed out Could not connect to archive.raspberrypi.org:80 (93.93.130.39), connection timed out Could not connect to archive.raspberrypi.org:80 (93.93.128.230), connection timed out Could not connect to archive.raspberrypi.org:80 (93.93.130.104), connection timed out Could not connect to archive.raspberrypi.org:80 (93.93.128.211), connection timed out Could not connect to archive.raspberrypi.org:80 (46.235.231.111), connection timed out Could not connect to archive.raspberrypi.org:80 (93.93.128.133), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.

Even ping is working properly.

Re: apt-get not working

Posted: Fri Aug 16, 2019 8:25 am
by pcmanbob
HI.

The error clearly states (101: Network is unreachable)

So how have you tested your network can you access a web page ?

Re: apt-get not working

Posted: Fri Aug 16, 2019 10:35 am
by k-pi
Looks like it may have been a temporary outage of the server, give it another try, or maybe try a different server, if there is one.