Results 1 to 7 of 7
I'm running Debian Etch on my little server. When I run 'sudo aptitude update', I get a timeout at the 'Connecting to mirrors.kernel.org'.
Code:
sudo aptitude update
Get:1 http://ftp.surfnet.nl etch ...
- 09-23-2008 #1Just Joined!
- Join Date
- Nov 2005
- Location
- Groningen, the Netherlands
- Posts
- 4
[SOLVED] apt-get update fails
I'm running Debian Etch on my little server. When I run 'sudo aptitude update', I get a timeout at the 'Connecting to mirrors.kernel.org'.
Code:sudo aptitude update Get:1 http://ftp.surfnet.nl etch Release.gpg [386B] Get:2 http://security.debian.org etch/updates Release.gpg [189B] Hit http://ftp.surfnet.nl etch Release Hit http://security.debian.org etch/updates Release Ign http://security.debian.org etch/updates/main Packages/DiffIndex Ign http://ftp.surfnet.nl etch/main Packages/DiffIndex Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex Ign http://security.debian.org etch/updates/main Sources/DiffIndex Ign http://security.debian.org etch/updates/contrib Sources/DiffIndex Hit http://security.debian.org etch/updates/main Packages Ign http://ftp.surfnet.nl etch/main Sources/DiffIndex Hit http://security.debian.org etch/updates/contrib Packages Hit http://security.debian.org etch/updates/main Sources Hit http://security.debian.org etch/updates/contrib Sources Hit http://ftp.surfnet.nl etch/main Packages Hit http://ftp.surfnet.nl etch/main Sources Err http://mirrors.kernel.org etch Release.gpg Could not connect to mirrors.kernel.org:80 (199.6.1.174), connection timed out Fetched 2B in 2m0s (0B/s) Reading package lists... Done W: Couldn't stat source package list http://mirrors.kernel.org etch/main Packages (/var/lib/apt/lists/mirrors.kernel.org_debian_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://mirrors.kernel.org etch/non-free Packages (/var/lib/apt/lists/mirrors.kernel.org_debian_dists_etch_non-free_binary-i386_Packages) - stat (2 No such file or directory) W: You may want to run apt-get update to correct these problems
- 09-23-2008 #2
Did you try apt-get update? I don't know if and how it would help, but since it says so in the message, i would try it...
- 09-23-2008 #3Just Joined!
- Join Date
- Nov 2005
- Location
- Groningen, the Netherlands
- Posts
- 4
apt-get has exactly the same problem
- 09-23-2008 #4
Execute this
In case it doesn't work, post the contents of /etc/apt/sources.list file here.Code:apt-get clean all apt-get update
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 09-23-2008 #5Just Joined!
- Join Date
- Nov 2005
- Location
- Groningen, the Netherlands
- Posts
- 4
That seems to be of no help either.
My sources.list:
If I comment out the last line it works, but I want the non-free updates too, of course.Code:whizz@t44:~$ cat /etc/apt/sources.list # # deb cdrom:[Debian GNU/Linux 4.0 r3 _Etch_ - Official i386 NETINST Binary-1 20080218-14:15]/ etch contrib main # CD-rom (disabled) # deb cdrom:[Debian GNU/Linux 4.0 r3 _Etch_ - Official i386 NETINST Binary-1 20080218-14:15]/ etch contrib main # Stable deb http://ftp.surfnet.nl/os/Linux/distr/debian/ etch main deb-src http://ftp.surfnet.nl/os/Linux/distr/debian/ etch main # Security updates deb http://security.debian.org/ etch/updates main contrib deb-src http://security.debian.org/ etch/updates main contrib # Non-free deb http://mirrors.kernel.org/debian/ etch main non-free
- 09-24-2008 #6Just Joined!
- Join Date
- Nov 2005
- Location
- Groningen, the Netherlands
- Posts
- 4
I have fixed it by changing the last line into
If anyone else has problems with his mirrors, try changing it into one of these:Code:http://ftp.surfnet.nl/os/Linux/distr/debian/
ftp://ftp.debian.org/debian/README.mirrors.txt
- 09-24-2008 #7
Well Done and thanx for posting solution !
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First



