LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-03-2009, 06:11 PM   #1
blackdragonblood
Member
 
Registered: May 2005
Location: Minneapolis, MN
Distribution: Debian
Posts: 217

Rep: Reputation: 30
Upgrade to Squeeze broke DNS


I upgraded to Squeeze and now DNS does not work in Iceweasle or IceDove. I can ping by hostname and browse by IP. I found http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=527541.

I tried:
Code:
apt-get install -t unstable install libc6
E: Couldn't find package install
Is there a better fix? Thanks!
 
Old 10-03-2009, 06:26 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
You have an extra "install"
 
Old 10-03-2009, 06:36 PM   #3
blackdragonblood
Member
 
Registered: May 2005
Location: Minneapolis, MN
Distribution: Debian
Posts: 217

Original Poster
Rep: Reputation: 30
Thanks for catching that. I removed the second 'install'. Now apt tells me that libc6 is already the newest version (9.2-25), but the issue persists.

Last edited by blackdragonblood; 10-03-2009 at 08:45 PM. Reason: added libc6 version number, clarfied response
 
Old 10-04-2009, 01:27 AM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Try this:

sudo apt-get install libc6-dev

I think that's what you need.
 
Old 10-04-2009, 08:44 AM   #5
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
What would the -dev package do when he's not building anything against it?

What's in /etc/resolv.conf ? Does DNS work outside of Firefox?
 
Old 10-04-2009, 09:24 AM   #6
blackdragonblood
Member
 
Registered: May 2005
Location: Minneapolis, MN
Distribution: Debian
Posts: 217

Original Poster
Rep: Reputation: 30
Here is what I get from apt-get:
Quote:
dittmerm@soulcage:~$ sudo apt-get install libc6-dev
[sudo] password for dittmerm:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libempathy23 apache2-utils telepathy-salut obex-data-server
libaprutil1-dbd-sqlite3 telepathy-mission-control libmissioncontrol-client0
apache2.2-bin libapr1 empathy libempathy-common libempathy-gtk19
libaprutil1-ldap gvfs-bin seahorse-plugins libtelepathy-farsight0
libgnome-bluetooth2 libloudmouth1-0 libx264-65 apache2.2-common
ttf-arphic-uming libapache2-mod-dnssd telepathy-gabble
libmissioncontrol-server1 libtelepathy2 libempathy-gtk-common imagemagick
hamster-applet libaprutil1 libboost-python1.34.1 libopenobex1
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
gcc gcc-4.3 libc-dev-bin linux-libc-dev
Suggested packages:
gcc-multilib manpages-dev autoconf automake1.9 libtool flex bison gcc-doc
gcc-4.3-multilib libmudflap0-4.3-dev gcc-4.3-doc gcc-4.3-locales libgcc1-dbg
libgomp1-dbg libmudflap0-dbg glibc-doc
The following NEW packages will be installed:
gcc gcc-4.3 libc-dev-bin libc6-dev linux-libc-dev
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 8,570kB of archives.
After this operation, 28.3MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
gcc-4.3 gcc libc-dev-bin linux-libc-dev libc6-dev
Install these packages without verification [y/N]? y
Err http://http.us.debian.org testing/main gcc-4.3 4.3.4-2
Could not resolve 'http.us.debian.org'
Err http://http.us.debian.org testing/main gcc 4:4.3.3-9
Could not resolve 'http.us.debian.org'
Err http://http.us.debian.org testing/main libc-dev-bin 2.9-25
Could not resolve 'http.us.debian.org'
Err http://http.us.debian.org testing/main linux-libc-dev 2.6.30-6
Could not resolve 'http.us.debian.org'
Err http://http.us.debian.org testing/main libc6-dev 2.9-25
Could not resolve 'http.us.debian.org'
Failed to fetch http://http.us.debian.org/debian/poo...3.4-2_i386.deb Could not resolve 'http.us.debian.org'
Failed to fetch http://http.us.debian.org/debian/poo...3.3-9_i386.deb Could not resolve 'http.us.debian.org'
Failed to fetch http://http.us.debian.org/debian/poo....9-25_i386.deb Could not resolve 'http.us.debian.org'
Failed to fetch http://http.us.debian.org/debian/poo....30-6_i386.deb Could not resolve 'http.us.debian.org'
Failed to fetch http://http.us.debian.org/debian/poo....9-25_i386.deb Could not resolve 'http.us.debian.org'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
cat /etc/resolv.conf:
Quote:
nameserver 192.168.0.1
DNS seems to only work for ping. I've never seen anything like this before.

Last edited by blackdragonblood; 10-04-2009 at 09:25 AM. Reason: spelling
 
Old 10-04-2009, 10:20 AM   #7
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Code:
Failed to fetch http://http.us.debian.org/debian/poo...3.4-2_i386.deb Could not resolve 'http.us.debian.org'
Maybe there's a problem in your sources list.
Here's an example from mine,remembering i'm not in the U.S:

Code:
deb http://ftp.uk.debian.org/debian/ testing main contrib non-free
If you post the contents of cat /etc/apt/sources.list we will be able to help further.
Just out of interest how did you upgrade to Testing?.
Did you change the sources list and upgrade or do a full reinstall?.

Last edited by the trooper; 10-04-2009 at 12:39 PM.
 
Old 10-04-2009, 11:10 AM   #8
blackdragonblood
Member
 
Registered: May 2005
Location: Minneapolis, MN
Distribution: Debian
Posts: 217

Original Poster
Rep: Reputation: 30
sources.list:
Code:
# 
# deb cdrom:[Debian GNU/Linux 4.0 r3 _Etch_ - Official i386 NETINST Binary-1 20080218-14:15]/ etch contrib main 

# deb cdrom:[Debian GNU/Linux 4.0 r3 _Etch_ - Official i386 NETINST Binary-1 20080218-14:15]/ etch contrib main 

deb http://http.us.debian.org/debian/ testing main 
# Line commented out by installer because it failed to verify: 
# deb-src http://distro.ibiblio.org/debian/ etch main 

deb http://security.debian.org/ testing/updates main contrib non-free 
deb-src http://security.debian.org/ testing/updates main contrib 

deb http://www.debian-multimedia.org testing main 

#deb http://www.backports.org/debian lenny-backports main contrib non-free
I upgraded by changing "lenny" to "testing" in sources.list. Then "apt-get update" followed by "apt-get dist-upgrade".
 
Old 10-04-2009, 11:19 AM   #9
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
What is the output from
Code:
nslookup http.us.debian.org
Try to disable ipv6 in iceweasel, or global
http://forums.debian.net/viewtopic.php?f=16&t=45271
 
Old 10-04-2009, 11:44 AM   #10
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Try:

Code:
deb http://ftp.us.debian.org/debian/ testing main contrib non-free
Then do an apt-get update and try again.
 
Old 10-04-2009, 12:05 PM   #11
blackdragonblood
Member
 
Registered: May 2005
Location: Minneapolis, MN
Distribution: Debian
Posts: 217

Original Poster
Rep: Reputation: 30
nslookup:
Code:
dittmerm@soulcage:~$ nslookup http://http.us.debian.org
Server:		192.168.0.1
Address:	192.168.0.1#53

Non-authoritative answer:
Name:	http://http.us.debian.org
Address: 208.69.36.132
Disabling ipv6 in firefox fixed firefox. However, the global disable did not fix anything else before or after a reboot.

updated sources.list:
Code:
dittmerm@soulcage:~$ 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

# deb cdrom:[Debian GNU/Linux 4.0 r3 _Etch_ - Official i386 NETINST Binary-1 20080218-14:15]/ etch contrib main

deb http://http.us.debian.org/debian/ testing main 
# Line commented out by installer because it failed to verify:
# deb-src http://distro.ibiblio.org/debian/ etch main

deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib
deb http://ftp.us.debian.org/debin/ testing main contrib non-free



deb http://www.debian-multimedia.org testing main

#deb http://www.backports.org/debian lenny-backports main contrib non-free
apt-get update:
Code:
dittmerm@soulcage:~$ sudo apt-get update
Hit http://security.debian.org testing/updates Release.gpg
Ign http://security.debian.org testing/updates/main Translation-en_US         
Ign http://security.debian.org testing/updates/contrib Translation-en_US      
Ign http://security.debian.org testing/updates/non-free Translation-en_US     
Hit http://security.debian.org testing/updates Release                        
Ign http://security.debian.org testing/updates/main Packages/DiffIndex        
Err http://http.us.debian.org testing Release.gpg                             
  Could not resolve 'http.us.debian.org'
Err http://http.us.debian.org testing/main Translation-en_US                  
  Could not resolve 'http.us.debian.org'
Err http://ftp.us.debian.org testing Release.gpg                              
  Could not resolve 'ftp.us.debian.org'
Err http://ftp.us.debian.org testing/main Translation-en_US                   
  Could not resolve 'ftp.us.debian.org'
Err http://ftp.us.debian.org testing/contrib Translation-en_US                
  Could not resolve 'ftp.us.debian.org'
Err http://ftp.us.debian.org testing/non-free Translation-en_US               
  Could not resolve 'ftp.us.debian.org'
Err http://www.debian-multimedia.org testing Release.gpg                      
  Could not resolve 'www.debian-multimedia.org'
Err http://www.debian-multimedia.org testing/main Translation-en_US
  Could not resolve 'www.debian-multimedia.org'
Ign http://security.debian.org testing/updates/contrib Packages/DiffIndex
Ign http://security.debian.org testing/updates/non-free Packages/DiffIndex
Ign http://security.debian.org testing/updates/main Sources/DiffIndex
Ign http://security.debian.org testing/updates/contrib Sources/DiffIndex
Hit http://security.debian.org testing/updates/main Packages
Hit http://security.debian.org testing/updates/contrib Packages
Hit http://security.debian.org testing/updates/non-free Packages
Hit http://security.debian.org testing/updates/main Sources
Hit http://security.debian.org testing/updates/contrib Sources
Reading package lists... Done
W: Failed to fetch http://http.us.debian.org/debian/dists/testing/Release.gpg  Could not resolve 'http.us.debian.org'

W: Failed to fetch http://http.us.debian.org/debian/dists/testing/main/i18n/Translation-en_US.bz2  Could not resolve 'http.us.debian.org'

W: Failed to fetch http://ftp.us.debian.org/debin/dists/testing/Release.gpg  Could not resolve 'ftp.us.debian.org'

W: Failed to fetch http://ftp.us.debian.org/debin/dists/testing/main/i18n/Translation-en_US.bz2  Could not resolve 'ftp.us.debian.org'

W: Failed to fetch http://ftp.us.debian.org/debin/dists/testing/contrib/i18n/Translation-en_US.bz2  Could not resolve 'ftp.us.debian.org'

W: Failed to fetch http://ftp.us.debian.org/debin/dists/testing/non-free/i18n/Translation-en_US.bz2  Could not resolve 'ftp.us.debian.org'

W: Failed to fetch http://www.debian-multimedia.org/dists/testing/Release.gpg  Could not resolve 'www.debian-multimedia.org'

W: Failed to fetch http://www.debian-multimedia.org/dists/testing/main/i18n/Translation-en_US.bz2  Could not resolve 'www.debian-multimedia.org'

W: Some index files failed to download, they have been ignored, or old ones used instead.
 
Old 10-04-2009, 12:11 PM   #12
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Fix the typo here:

Code:
deb http://ftp.us.debian.org/debian/ testing main contrib non-free
Then comment out:

Code:
deb http://http.us.debian.org/debian/ testing main
Then apt-get update and try again.
 
Old 10-04-2009, 12:14 PM   #13
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Could not resolve 'http.us.debian.org'
Seems to me the problem is DNS
 
Old 10-04-2009, 12:15 PM   #14
blackdragonblood
Member
 
Registered: May 2005
Location: Minneapolis, MN
Distribution: Debian
Posts: 217

Original Poster
Rep: Reputation: 30
corrected sources.list
Code:
# 
# deb cdrom:[Debian GNU/Linux 4.0 r3 _Etch_ - Official i386 NETINST Binary-1 20080218-14:15]/ etch contrib main

# deb cdrom:[Debian GNU/Linux 4.0 r3 _Etch_ - Official i386 NETINST Binary-1 20080218-14:15]/ etch contrib main

#deb http://http.us.debian.org/debian/ testing main 
# Line commented out by installer because it failed to verify:
# deb-src http://distro.ibiblio.org/debian/ etch main

deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib
deb http://ftp.us.debian.org/debian/ testing main contrib non-free

deb http://www.debian-multimedia.org testing main

#deb http://www.backports.org/debian lenny-backports main contrib non-free
apt-get update:
Code:
Hit http://security.debian.org testing/updates Release.gpg
Ign http://security.debian.org testing/updates/main Translation-en_US                               
Ign http://security.debian.org testing/updates/contrib Translation-en_US                             
Ign http://security.debian.org testing/updates/non-free Translation-en_US                            
Hit http://security.debian.org testing/updates Release                                               
Err http://www.debian-multimedia.org testing Release.gpg                                             
  Could not resolve 'www.debian-multimedia.org'
Err http://www.debian-multimedia.org testing/main Translation-en_US            
  Could not resolve 'www.debian-multimedia.org'
Err http://ftp.us.debian.org testing Release.gpg                               
  Could not resolve 'ftp.us.debian.org'
Err http://ftp.us.debian.org testing/main Translation-en_US
  Could not resolve 'ftp.us.debian.org'
Err http://ftp.us.debian.org testing/contrib Translation-en_US
  Could not resolve 'ftp.us.debian.org'
Err http://ftp.us.debian.org testing/non-free Translation-en_US
  Could not resolve 'ftp.us.debian.org'
Ign http://security.debian.org testing/updates/main Packages/DiffIndex
Ign http://security.debian.org testing/updates/contrib Packages/DiffIndex
Ign http://security.debian.org testing/updates/non-free Packages/DiffIndex
Ign http://security.debian.org testing/updates/main Sources/DiffIndex
Ign http://security.debian.org testing/updates/contrib Sources/DiffIndex
Hit http://security.debian.org testing/updates/main Packages
Hit http://security.debian.org testing/updates/contrib Packages
Hit http://security.debian.org testing/updates/non-free Packages
Hit http://security.debian.org testing/updates/main Sources
Hit http://security.debian.org testing/updates/contrib Sources
Reading package lists... Done
W: Failed to fetch http://ftp.us.debian.org/debian/dists/testing/Release.gpg  Could not resolve 'ftp.us.debian.org'

W: Failed to fetch http://ftp.us.debian.org/debian/dists/testing/main/i18n/Translation-en_US.bz2  Could not resolve 'ftp.us.debian.org'

W: Failed to fetch http://ftp.us.debian.org/debian/dists/testing/contrib/i18n/Translation-en_US.bz2  Could not resolve 'ftp.us.debian.org'

W: Failed to fetch http://ftp.us.debian.org/debian/dists/testing/non-free/i18n/Translation-en_US.bz2  Could not resolve 'ftp.us.debian.org'

W: Failed to fetch http://www.debian-multimedia.org/dists/testing/Release.gpg  Could not resolve 'www.debian-multimedia.org'

W: Failed to fetch http://www.debian-multimedia.org/dists/testing/main/i18n/Translation-en_US.bz2  Could not resolve 'www.debian-multimedia.org'

W: Some index files failed to download, they have been ignored, or old ones used instead.
 
Old 10-04-2009, 12:24 PM   #15
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Could not resolve 'www.debian-multimedia.org'
you need to resolve the DNS issue
 
  


Reply



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
Squeeze/Testing users don't upgrade Ghostscript the trooper Debian 1 06-28-2009 12:34 PM
Post your Squeeze-KDE4 upgrade experiences here Kirmonkey Debian 16 06-08-2009 02:01 PM
Partial upgrade of KDE 3.5 to 4.2 (grrrrr) in Squeeze jdkaye Debian 2 05-18-2009 07:13 AM
[SOLVED] Squeeze users: DO NOT UPGRADE APT!!! Telemachos Debian 8 05-08-2009 06:28 AM
NFS Broke my Router and DNS Server? Gsee *BSD 2 04-08-2005 01:30 AM

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

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