LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 11-14-2010, 10:32 PM   #1
jmoschetti45
Member
 
Registered: Oct 2004
Location: Michigan
Distribution: Debian Squeeze (2.6.32-5)
Posts: 137
Blog Entries: 1

Rep: Reputation: 17
APT - Something Wicked Happened (Squeeze)


I've read a few things about this problem, but can't seem to find an answer that actually fixes it.

Code:
Err http://security.debian.org squeeze/updates Release.gpg                                                                                                                                          
  Something wicked happened resolving 'security.debian.org:http' (-5 - No address associated with hostname)
Err http://backports.debian.org squeeze-backports Release.gpg                                                                                                                                       
  Something wicked happened resolving 'backports.debian.org:http' (-5 - No address associated with hostname)
This will happen at random with random repositories. Current fix is to apt-get update 3 or 4 times until I get all the package lists in.

I've head avahi & libnss-mdns might have something to do with it, but both are installed and as far as I can tell are working.

Any ideas?
 
Old 11-14-2010, 11:50 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
The error message is basically telling you that the listed address is incorrect. You need to edit /etc/apt/sources.list to correct the listed address.

The first one, http://security.debian.org squeeze/updates, I couldn't find. But I found this instead: ftp://security.debian.org/debian-security/dists/ squeeze/updates
 
Old 11-15-2010, 01:36 AM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Maybe I'm mistaken but I thought the 2 packages you mention are only available for Debian Stable (i.e. Lenny). On the Debian security page you can read this:
Quote:
In order to receive the latest Debian security advisories, subscribe to the debian-security-announce mailing list.

You can use apt to easily get the latest security updates. This requires a line such as

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

in your /etc/apt/sources.list file.
Notice there is no mention of Squeeze.
My mistake! There is a squeeze version on security.debian.org. I found it here: http://security.debian.org/dists/squeeze/.
jdk

Last edited by jdkaye; 11-15-2010 at 01:54 AM. Reason: correcting erroneous info
 
Old 11-15-2010, 02:06 AM   #4
jmoschetti45
Member
 
Registered: Oct 2004
Location: Michigan
Distribution: Debian Squeeze (2.6.32-5)
Posts: 137

Original Poster
Blog Entries: 1

Rep: Reputation: 17
They are all valid as far as I could tell. I'll double check though. It can't even resolve debian.org at times...

I think it has to do with the :http part ending up on the end of the URL?

Thing is, it works 50% of the time, which I find odd. If I run apt-get update enough, it'll get it eventually.
 
Old 11-15-2010, 04:12 AM   #5
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Can you post the contents of your sources.list file. Be sure to post it inside of the the code /code markers.
jdk
 
Old 11-15-2010, 01:28 PM   #6
jmoschetti45
Member
 
Registered: Oct 2004
Location: Michigan
Distribution: Debian Squeeze (2.6.32-5)
Posts: 137

Original Poster
Blog Entries: 1

Rep: Reputation: 17
/etc/apt/sources.list

Code:
deb http://ftp.egr.msu.edu/debian/ squeeze main non-free contrib
deb-src http://ftp.egr.msu.edu/debian/ squeeze main non-free contrib
deb http://security.debian.org/ squeeze/updates main non-free contrib
deb-src http://security.debian.org/ squeeze/updates main non-free contrib
deb http://backports.debian.org/debian-backports/ squeeze-backports main non-free contrib
 
Old 11-16-2010, 12:24 AM   #7
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by jmoschetti45 View Post
I think it has to do with the :http part ending up on the end of the URL?
Sorry, but I don't understand this. Where does an http:// end up at the end?
Quote:
Thing is, it works 50% of the time, which I find odd. If I run apt-get update enough, it'll get it eventually.
Why not try switching mirrors? There are loads of them that are rock-steady. It seems you have a problem with the mirror you're using or else your nameserver is flaky. I'd try changing the mirror first and if the problem persists then try changing your nameserver.
ciao,
jdk
 
Old 11-16-2010, 04:05 PM   #8
jmoschetti45
Member
 
Registered: Oct 2004
Location: Michigan
Distribution: Debian Squeeze (2.6.32-5)
Posts: 137

Original Poster
Blog Entries: 1

Rep: Reputation: 17
In this error:

Code:
Something wicked happened resolving 'security.debian.org:http' (-5 - No address associated with hostname
)

Doesn't the 'security.debian.org:http' part seem odd? Or is it using :http as :80?
 
Old 11-17-2010, 01:31 AM   #9
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by jmoschetti45 View Post
In this error:

Code:
Something wicked happened resolving 'security.debian.org:http' (-5 - No address associated with hostname
)

Doesn't the 'security.debian.org:http' part seem odd? Or is it using :http as :80?
Sorry, I was looking for it in your sources.list file, not in the error message. It does look odd but I've never had such a message.

Did changing the mirror for your repos help at all?
jdk
 
Old 11-18-2010, 09:21 PM   #10
jmoschetti45
Member
 
Registered: Oct 2004
Location: Michigan
Distribution: Debian Squeeze (2.6.32-5)
Posts: 137

Original Poster
Blog Entries: 1

Rep: Reputation: 17
Nope. Never had this problem with Lenny, only Squeeze.
 
Old 11-19-2010, 12:35 AM   #11
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
What new mirrors did you try?
jdk
 
Old 03-04-2011, 01:10 PM   #12
Mountain
Member
 
Registered: Nov 2007
Location: A place with no mountains
Distribution: Kubuntu, sidux, openSUSE
Posts: 214

Rep: Reputation: 41
I'm having this same issue (with Linux Mint). I'm seeing it with the main download server and I'm located in the US. I switched to a download mirror in Canada (suggested by the "find best mirror" tool) and the problem went away. But I don't think that's a great long-term solution.
 
Old 03-04-2011, 01:58 PM   #13
jmoschetti45
Member
 
Registered: Oct 2004
Location: Michigan
Distribution: Debian Squeeze (2.6.32-5)
Posts: 137

Original Poster
Blog Entries: 1

Rep: Reputation: 17
Problem somewhat solved. The issue came up with a Lenny to Squeeze upgrade. After other issues, I wiped and installed Sequeeze, and the problem never occurred again.
 
Old 03-04-2011, 02:10 PM   #14
Mountain
Member
 
Registered: Nov 2007
Location: A place with no mountains
Distribution: Kubuntu, sidux, openSUSE
Posts: 214

Rep: Reputation: 41
For what it's worth, my Linux Mint install was a fresh install on a new computer. My error message was exactly the same as in your OP (but with a different address, of course).
 
  


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
[SOLVED] Waiting for Squeeze stable vs installing Squeeze right now and keeping it up to date alanv Linux - Newbie 2 11-03-2010 03:43 AM
Upgraded to Debian Squeeze, and now apt-get has gone insane Changes Linux - General 3 10-26-2009 11:52 AM
[SOLVED] Squeeze users: DO NOT UPGRADE APT!!! Telemachos Debian 8 05-08-2009 07:28 AM
Wicked network setup cxtech General 3 04-24-2004 11:04 PM
Wicked new... Just saying hi. Evilphil Linux - Newbie 5 05-09-2003 06:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:30 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