Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-09-2006, 07:46 AM   #1
LQ Newbie
Registered: Mar 2006
Posts: 5

Rep: Reputation: 0
Lightbulb Fix: 'apt-get update' dns resolves to

I had a problem today which I thought I would share with you.

When I was using 'apt-get update' it kept trying to connect to the IP address

This is the message I got:
# apt-get update
Err testing/main Packages
Could not connect to (,
connection timed out
etch/security-updates/main Packages
Could not connect to
(, connection timed out
Err testing/main Release
Could not connect to (,
connection timed out
etch/security-updates/main Release
Could not connect to
(, connection timed out
0% [Connecting to (]
[Connecting to (]
[1]+ Stopped apt-get update
This is how I fixed it:

From GNOME... System > Admistration > Networking > DNS

I then removed the DNS server (my D-Link Router) and manually added and yyy.yyy.yyy.yyy, which are my ISP's DNS servers. (Substitute x & y for your own ISP's DNS servers)

After a reboot 'apt-get update' worked fine.

Hope that helps somebody.

The problem happened on Ubuntu and Fedora Core.



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
Customizing DNS Cache so that it resolves to local ip address gugabaga Linux - Networking 2 02-22-2006 04:40 AM
Virtual Hosts, DNS resolves, PLEASE HELP!! parasbshah Linux - Software 14 10-17-2005 01:38 PM
Any name resolves to. A? CNAME? DNS Q dlublink Linux - Networking 3 01-11-2005 09:55 AM
knoppix 3.4 and no apt-setup how to fix info install apt-file + base-config maximalred Debian 0 10-16-2004 06:36 PM
DNS resolves quickly but lynx extremely slow yichun Debian 2 07-01-2004 09:08 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:54 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
Open Source Consulting | Domain Registration