Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-22-2006, 12:24 PM   #1
LQ Newbie
Registered: May 2006
Posts: 2

Rep: Reputation: 0
apt-get connection times out

I am trying to run apt-get update but I keep getting a "connection timed out" result. I have tried changing to different download servers and get the same result. Any suggestions?
Old 05-22-2006, 12:41 PM   #2
Registered: Oct 2005
Location: Knoxville, Tn (USA)
Distribution: OpenSUSE, Ubuntu
Posts: 250

Rep: Reputation: 30
Make sure you have a valid internet connection. You can do this many different ways:

1.) See if your favorite web browser can load any website
2.) Run "ifconfig" or "/sbin/ifconfig" depending on where it is located on your system. If you have a valid IP address then you probably have an internet connection.
3.) Run "ping $something" where $something is any web address. If you get a response then you have a connection.

In the future, try to give more information about your situation, i.e., your hardware, your distro, etc.


Last edited by jeelliso; 05-22-2006 at 12:43 PM.
Old 05-22-2006, 12:44 PM   #3
LQ Newbie
Registered: May 2006
Posts: 2

Original Poster
Rep: Reputation: 0

My internet connection works fine, I am using it to post this message. I even tried turning off the firewall to see if it was somehow blocking it but that did not work either.
Old 05-22-2006, 12:54 PM   #4
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
Are you connected to the internet? Can you ping -c 3 How about ping -c 3

Sorry, interrupted while typing, I see you have a valid connection...

It just sounds like a name server problem to me, but as you said, you're using the internet to post this...

Last edited by pljvaldez; 05-22-2006 at 12:55 PM.


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
router dropping connection at specific times cs-cam Linux - Networking 0 02-12-2006 09:17 PM
System hangs; Atheros Madwifi-ping times out every 15/16 times james 456 Linux - Networking 0 01-12-2006 06:55 PM
Connection times out submitting question Txabuzer Linux - Security 4 08-26-2005 12:57 PM
Problem with FreeBSD : connection between hostes times out hemmelig *BSD 1 05-21-2005 10:45 PM
Inet connection times out zzZoiDzz Linux - Networking 1 01-19-2004 12:33 AM > Forums > Linux Forums > Linux - Newbie

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

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