As the title indicated, that is my problem. Currently running an Rpi3 with Jessie, tried Stretch and the same problem occured.
when sudo nano /etc/apt/sources.list
, I have:
deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free r$
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
deb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi
Tried different mirrors, same problem.
When I ping mirrordirector
, no problem. I can even go surfing the web on Chromium. Behaviour is similar for when I connect via Ethernet and WLAN.
I searched online and tried almost all solutions on this problem. I even enabled root (I know i'm not supposed to, I'll disable after I solve this problem).
Well when I sudo apt-get update
, this is what I got.
root@raspberrypi:/home/pi# sudo apt-get update
Ign http://mirrordirector.raspbian.org jessie InRelease
Ign http://archive.raspbian.org jessie InRelease
Ign http://archive.raspberrypi.org jessie InRelease
Err http://archive.raspbian.org jessie Release.gpg
Connection failed [IP: 93.93.128.191 80]
Err http://mirrordirector.raspbian.org jessie Release.gpg
Connection failed [IP: 93.93.128.193 80]
Err http://archive.raspberrypi.org jessie Release.gpg
Connection failed [IP: 93.93.135.188 80]
Ign http://archive.raspbian.org jessie Release
Ign http://mirrordirector.raspbian.org jessie Release
Ign http://archive.raspberrypi.org jessie Release
Err http://archive.raspbian.org jessie/main Sources
Connection failed [IP: 93.93.128.191 80]
Err http://archive.raspbian.org jessie/contrib Sources
Connection failed [IP: 93.93.128.191 80]
Err http://archive.raspbian.org jessie/non-free Sources
Connection failed [IP: 93.93.128.191 80]
Err http://archive.raspbian.org jessie/rpi Sources
Connection failed [IP: 93.93.128.191 80]
Err http://archive.raspberrypi.org jessie/main Sources
Connection failed [IP: 93.93.130.104 80]
Err http://archive.raspberrypi.org jessie/ui Sources
Connection failed [IP: 93.93.128.133 80]
Err http://archive.raspberrypi.org jessie/main armhf Packages
Connection failed [IP: 93.93.135.188 80]
Err http://archive.raspberrypi.org jessie/ui armhf Packages
Connection failed [IP: 93.93.130.39 80]
Err http://archive.raspberrypi.org jessie/main Translation-en_SG
Connection failed [IP: 93.93.130.104 80]
Err http://archive.raspberrypi.org jessie/main Translation-en
Connection failed [IP: 93.93.128.133 80]
Err http://archive.raspberrypi.org jessie/ui Translation-en_SG
Connection failed [IP: 93.93.135.188 80]
Err http://archive.raspberrypi.org jessie/ui Translation-en
Connection failed [IP: 93.93.130.39 80]
Err http://mirrordirector.raspbian.org jessie/main armhf Packages
Connection failed [IP: 93.93.128.193 80]
Err http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Connection failed [IP: 93.93.128.193 80]
Err http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Connection failed [IP: 93.93.128.193 80]
Err http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Connection failed [IP: 93.93.128.193 80]
Err http://mirrordirector.raspbian.org jessie/contrib Translation-en_SG
Connection failed [IP: 93.93.128.193 80]
Err http://mirrordirector.raspbian.org jessie/contrib Translation-en
Connection failed [IP: 93.93.128.193 80]
Err http://mirrordirector.raspbian.org jessie/main Translation-en_SG
Connection failed [IP: 93.93.128.193 80]
Err http://mirrordirector.raspbian.org jessie/main Translation-en
Connection failed [IP: 93.93.128.193 80]
Err http://mirrordirector.raspbian.org jessie/non-free Translation-en_SG
Connection failed [IP: 93.93.128.193 80]
Err http://mirrordirector.raspbian.org jessie/non-free Translation-en
Connection failed [IP: 93.93.128.193 80]
Err http://mirrordirector.raspbian.org jessie/rpi Translation-en_SG
Connection failed [IP: 93.93.128.193 80]
Err http://mirrordirector.raspbian.org jessie/rpi Translation-en
Connection failed [IP: 93.93.128.193 80]
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/Release.gpg Connection failed [IP: 93.93.128.193 80]
W: Failed to fetch http://archive.raspbian.org/raspbian/dists/jessie/Release.gpg Connection failed [IP: 93.93.128.191 80]
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/jessie/Release.gpg Connection failed [IP: 93.93.135.188 80]
W: Failed to fetch http://archive.raspbian.org/raspbian/dists/jessie/main/source/Sources Connection failed [IP: 93.93.128.191 80]
W: Failed to fetch http://archive.raspbian.org/raspbian/dists/jessie/contrib/source/Sources Connection failed [IP: 93.93.128.191 80]
W: Failed to fetch http://archive.raspbian.org/raspbian/dists/jessie/non-free/source/Sources Connection failed [IP: 93.93.128.191 80]
W: Failed to fetch http://archive.raspbian.org/raspbian/dists/jessie/rpi/source/Sources Connection failed [IP: 93.93.128.191 80]
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/main/binary-armhf/Packages Connection failed [IP: 93.93.128.193 80]
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/contrib/binary-armhf/Packages Connection failed [IP: 93.93.128.193 80]
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/non-free/binary-armhf/Packages Connection failed [IP: 93.93.128.193 80]
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/rpi/binary-armhf/Packages Connection failed [IP: 93.93.128.193 80]
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/contrib/i18n/Translation-en_SG Connection failed [IP: 93.93.128.193 80]
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/contrib/i18n/Translation-en Connection failed [IP: 93.93.128.193 80]
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/main/i18n/Translation-en_SG Connection failed [IP: 93.93.128.193 80]
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/main/i18n/Translation-en Connection failed [IP: 93.93.128.193 80]
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/non-free/i18n/Translation-en_SG Connection failed [IP: 93.93.128.193 80]
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/non-free/i18n/Translation-en Connection failed [IP: 93.93.128.193 80]
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/rpi/i18n/Translation-en_SG Connection failed [IP: 93.93.128.193 80]
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/rpi/i18n/Translation-en Connection failed [IP: 93.93.128.193 80]
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/jessie/main/source/Sources Connection failed [IP: 93.93.130.104 80]
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/jessie/ui/source/Sources Connection failed [IP: 93.93.128.133 80]
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/jessie/main/binary-armhf/Packages Connection failed [IP: 93.93.135.188 80]
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/jessie/ui/binary-armhf/Packages Connection failed [IP: 93.93.130.39 80]
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/jessie/main/i18n/Translation-en_SG Connection failed [IP: 93.93.130.104 80]
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/jessie/main/i18n/Translation-en Connection failed [IP: 93.93.128.133 80]
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/jessie/ui/i18n/Translation-en_SG Connection failed [IP: 93.93.135.188 80]
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/jessie/ui/i18n/Translation-en Connection failed [IP: 93.93.130.39 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Can't be a lack of memory problem, I have a 32Gb Class 10 memory card installed. Sorry for wasting anyone's time but I did some extensive searching and still can't find a solution.
Help :(
ping
to any of the IP addresses mentioned. This looks like a network problem you have.