edahlseng
Posts: 3
Joined: Wed May 28, 2014 3:33 am

sudo apt-get update not working

Wed May 28, 2014 3:41 am

I'm trying to use sudo apt-get update but I'm running into errors.

Code: Select all

Ign http://raspberrypi.collabora.com wheezy Release.gpg
Ign http://repository.wolfram.com stable Release.gpg                                                                                            
Ign http://archive.raspberrypi.org wheezy Release.gpg                                                                                           
Ign http://raspbian.the808.net wheezy Release.gpg
Ign http://raspberrypi.collabora.com wheezy Release
Ign http://archive.raspberrypi.org wheezy Release                                                           
Ign http://repository.wolfram.com stable Release                                                            
Ign http://raspbian.the808.net wheezy Release                                                               
Err http://raspberrypi.collabora.com wheezy/rpi armhf Packages
  404  Not Found
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en_GB                                                           
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en                                                              
Err http://repository.wolfram.com stable/non-free armhf Packages
  404  Not Found
Ign http://repository.wolfram.com stable/non-free Translation-en_GB
Err http://archive.raspberrypi.org wheezy/main armhf Packages
  404  Not Found
Ign http://archive.raspberrypi.org wheezy/main Translation-en_GB              
Ign http://repository.wolfram.com stable/non-free Translation-en              
Ign http://archive.raspberrypi.org wheezy/main Translation-en             
Err http://raspbian.the808.net wheezy/main Sources                        
  404  Not Found
Err http://raspbian.the808.net wheezy/contrib Sources
  404  Not Found
Err http://raspbian.the808.net wheezy/non-free Sources
  404  Not Found
Err http://raspbian.the808.net wheezy/rpi Sources
  404  Not Found
Err http://raspbian.the808.net wheezy/main armhf Packages
  404  Not Found
Err http://raspbian.the808.net wheezy/contrib armhf Packages
  404  Not Found
Err http://raspbian.the808.net wheezy/non-free armhf Packages
  404  Not Found
Err http://raspbian.the808.net wheezy/rpi armhf Packages
  404  Not Found
Ign http://raspbian.the808.net wheezy/contrib Translation-en_GB
Ign http://raspbian.the808.net wheezy/contrib Translation-en
Ign http://raspbian.the808.net wheezy/main Translation-en_GB
Ign http://raspbian.the808.net wheezy/main Translation-en
Ign http://raspbian.the808.net wheezy/non-free Translation-en_GB
Ign http://raspbian.the808.net wheezy/non-free Translation-en
Ign http://raspbian.the808.net wheezy/rpi Translation-en_GB
Ign http://raspbian.the808.net wheezy/rpi Translation-en
W: Failed to fetch http://raspberrypi.collabora.com/dists/wheezy/rpi/binary-armhf/Packages  404  Not Found

W: Failed to fetch http://archive.raspberrypi.org/debian/dists/wheezy/main/binary-armhf/Packages  404  Not Found

W: Failed to fetch http://repository.wolfram.com/raspbian/dists/stable/non-free/binary-armhf/Packages  404  Not Found

W: Failed to fetch http://raspbian.the808.net/raspbian/dists/wheezy/main/source/Sources  404  Not Found

W: Failed to fetch http://raspbian.the808.net/raspbian/dists/wheezy/contrib/source/Sources  404  Not Found

W: Failed to fetch http://raspbian.the808.net/raspbian/dists/wheezy/non-free/source/Sources  404  Not Found

W: Failed to fetch http://raspbian.the808.net/raspbian/dists/wheezy/rpi/source/Sources  404  Not Found

W: Failed to fetch http://raspbian.the808.net/raspbian/dists/wheezy/main/binary-armhf/Packages  404  Not Found

W: Failed to fetch http://raspbian.the808.net/raspbian/dists/wheezy/contrib/binary-armhf/Packages  404  Not Found

W: Failed to fetch http://raspbian.the808.net/raspbian/dists/wheezy/non-free/binary-armhf/Packages  404  Not Found

W: Failed to fetch http://raspbian.the808.net/raspbian/dists/wheezy/rpi/binary-armhf/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

My /etc/apt/sources.list file:

Code: Select all

[email protected] ~ $ cat /etc/apt/sources.list
deb http://archive.raspberrypi.org/raspbian wheezy main contrib non-free rpi
deb-src http://archive.raspberrypi.org/raspbian wheezy main contrib non-free rpi
/etc/apt/sources.list.d/*:

Code: Select all

[email protected] ~ $ cat /etc/apt/sources.list.d/*
deb http://raspberrypi.collabora.com wheezy rpi
deb http://archive.raspberrypi.org/debian/ wheezy main
# Wolfram Research, Inc. APT Repository (for WolframEngine)

deb http://repository.wolfram.com/raspbian/ stable non-free
I have searched all over for a solution, but can't seem to get this to work! Help!

User avatar
DeeJay
Posts: 2027
Joined: Tue Jan 01, 2013 9:33 pm
Location: East Midlands, UK

Re: sudo apt-get update not working

Wed May 28, 2014 6:14 am

My version of /etc/apt/sources.list - which I think is the default shipped with the current release of Raspbian - says:

Code: Select all

[email protected] ~ $ cat /etc/apt/sources.list
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi

That differs from yours. Would it make a difference if you tried that version?

(I've just tried running apt-get update and it seemed to run to completion normally.)
How To Ask Questions The Smart Way: http://www.catb.org/~esr/faqs/smart-questions.html
How to Report Bugs Effectively: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

edahlseng
Posts: 3
Joined: Wed May 28, 2014 3:33 am

Re: sudo apt-get update not working

Wed May 28, 2014 2:47 pm

I'm pretty sure that's what I had originally. I had searched online for solutions and one suggestion was to change it to what I have now. Needless to say, that didn't work. I'll try to switch back to what you've got and double check to see if I can have any luck with it now.

edahlseng
Posts: 3
Joined: Wed May 28, 2014 3:33 am

Re: sudo apt-get update not working

Wed May 28, 2014 3:41 pm

Well, I changed the sources list back to what you had, ran sudo apt-get update, and ........... it worked!

Either what I had originally was actually slightly different from what you had, or the mirror sites were down last night. Either way, the problem is solved.

Thanks!

Return to “Troubleshooting”