LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-17-2007, 07:03 AM   #1
mungulish
Member
 
Registered: Aug 2004
Location: Hungary
Distribution: Debian, OpenSUSE
Posts: 33

Rep: Reputation: 15
Question apt-get stoped working


Hi, All!

I've have a problem with apt-get. I can't seem to run update. What I get is connection timed out. The network is working OK. I can ping my source, the resolving is also fine. Upgrading and installing worked a couple of days ago and it suddenly stopped. I tried different sources, all producing the same connection timed out error. This is with Debian Etch on ARM architecture. My i386 boxes works fine with the same sources... I can run update, install packages. Both are plugged into the same switch and are behind the same router (ADSL modem). I didn't modify anything, it used to work with this same connection, setup! What might have caused the problem, why did it stop working, what might be the solution? Any ideas? Hope someone can help me...
 
Old 06-17-2007, 07:07 AM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
I guess this is a bug in the ARM branch. Check if others experienced the same thing, if not file in a bugreport.
 
Old 06-17-2007, 07:18 AM   #3
mungulish
Member
 
Registered: Aug 2004
Location: Hungary
Distribution: Debian, OpenSUSE
Posts: 33

Original Poster
Rep: Reputation: 15
It seems that wget is unable to download the Release.gpg file. It stops at the connecting state. I've just tried it manually as well and I got the same result. Could it be related to wget?
 
Old 06-17-2007, 07:32 AM   #4
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
No, to the release.gpg file. Apparently it's not available, corrupt or otherwise inconsistent.

Which mirror do you use? The Slovakian mirror has no problem with the release.gpg file: http://ftp.sk.debian.org/debian/dists/Debian4.0r0/
 
Old 06-17-2007, 08:14 AM   #5
mungulish
Member
 
Registered: Aug 2004
Location: Hungary
Distribution: Debian, OpenSUSE
Posts: 33

Original Poster
Rep: Reputation: 15
I am using the German mirror... and tried the Hungarian as well...
ftp.de.debian.org
ftp.hu.debian.org

I was able to download the release.gpg file from this mirror with my PC box... on the ARM it stops at the connecting phase and then I get the connection timed out message... This happens with the Slovakian mirror as well... This is why I thought it might be a problem with wget...
Maybe I will try to bootstrap the whole thing again... I've seem to remember that I read somewhere the someone else had the same problem, that apt-get worked the first time, then stopped... but I'm not sure...
 
Old 06-19-2007, 04:39 AM   #6
mungulish
Member
 
Registered: Aug 2004
Location: Hungary
Distribution: Debian, OpenSUSE
Posts: 33

Original Poster
Rep: Reputation: 15
Ok. So I've reinstalled the whole thing and now it works... I didn't dare run apt-get update the second time... But will do so in time...
 
Old 06-28-2007, 06:03 AM   #7
bnchakraborty
LQ Newbie
 
Registered: Oct 2003
Location: India
Posts: 21

Rep: Reputation: 15
I am also having exactly the same problem in my Intel-P4 box. It doesn't matter what mirror I use. Internet is working fine. Eagerly looking for a fix. Thanks.
 
Old 07-02-2007, 02:10 AM   #8
mungulish
Member
 
Registered: Aug 2004
Location: Hungary
Distribution: Debian, OpenSUSE
Posts: 33

Original Poster
Rep: Reputation: 15
It's happened again, and this time, I didn't tried to do an update.
Could this be somehow related to date? I know this might sound stupid... but who knows. The date settings for my system are not correct... I'm just guessing here... I'm all out of ideas...
 
Old 07-05-2007, 10:00 AM   #9
GlaucoME
LQ Newbie
 
Registered: Jul 2007
Posts: 5

Rep: Reputation: 0
I'm having the same problem with my AMD64, using a Cable Modem + Router (D-Link).
When i try to connect without the router, everything works fine.

My first guess is that have some port blocked, but i put the ip of my machine in DMZ Mode, and its not work again.

Anyone have any ideas??
 
Old 07-05-2007, 10:17 AM   #10
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Quote:
Originally Posted by GlaucoME
I'm having the same problem with my AMD64, using a Cable Modem + Router (D-Link).
When i try to connect without the router, everything works fine.

My first guess is that have some port blocked, but i put the ip of my machine in DMZ Mode, and its not work again.

Anyone have any ideas??
Try to use http mirrors only
I use this, I'm in germany but connect to french servers:
Quote:
deb http://ftp.fr.debian.org/debian/ etch main non-free contrib
deb-src http://ftp.fr.debian.org/debian/ etch main non-free contrib
deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free
deb http://www.debian-multimedia.org etch main
 
Old 07-05-2007, 12:02 PM   #11
GlaucoME
LQ Newbie
 
Registered: Jul 2007
Posts: 5

Rep: Reputation: 0
Quote:
Originally Posted by nx5000
Try to use http mirrors only
I use this, I'm in germany but connect to french servers:
I try, and it keep not working.
I'm in brazil, and alredy using .de mirror.

I believe that the problem is the port of apt-get is using, but every place that i find some information about that say that apt-get use port 80, and its unblocked in my router.
 
Old 07-05-2007, 12:06 PM   #12
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Quote:
Originally Posted by GlaucoME
I try, and it keep not working.
I'm in brazil, and alredy using .de mirror.

I believe that the problem is the port of apt-get is using, but every place that i find some information about that say that apt-get use port 80, and its unblocked in my router.
apt-get uses http port

It's stopping in the middle? or right from the start?

There are several things you could do: maybe tweak the parameters of apt network side (if they exist), like timeout and retry
Or download manually with wget, which is very robust on downloads

Without the router it works, that's strange..

Last edited by nx5000; 07-05-2007 at 12:08 PM.
 
Old 07-05-2007, 12:08 PM   #13
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Why not try the local Brasilian mirror? http://ftp.br.debian.org Post the contents of the file /etc/apt/sources.list here.

Last edited by Dutch Master; 07-05-2007 at 12:10 PM.
 
Old 07-05-2007, 12:09 PM   #14
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Yes, that's true, use the closest.

Hum what kind of router? Wireless?
 
Old 07-05-2007, 12:25 PM   #15
GlaucoME
LQ Newbie
 
Registered: Jul 2007
Posts: 5

Rep: Reputation: 0
Quote:
Originally Posted by nx5000
Yes, that's true, use the closest.

Hum what kind of router? Wireless?

I'm alredy try the br mirror, and i'm trying again now.
My router is a D-Link DI-524 Wireless, but i'm using a cable with this machine.

When i try 'apt-get update' stops in
'99% [waiting for headers]' and dont go anywhere.
after some time show the message: 'Conection Fail'

Again, if i connect direct in my cable modem it work perfectly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache stoped working letsinstalllinu Linux - General 2 01-18-2005 05:07 PM
Wireless stoped working Nuke361 Linux - Newbie 1 05-19-2004 04:43 PM
CDROM stoped working Joey.Dale Linux - General 6 11-27-2003 10:45 PM
CD-ROMS stoped working..... J.T. Mandriva 19 11-13-2003 01:23 AM
mozilla stoped working allohakdan Linux - Newbie 4 10-30-2003 11:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration