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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-14-2010, 10:32 PM
|
#1
|
Member
Registered: Oct 2004
Location: Michigan
Distribution: Debian Squeeze (2.6.32-5)
Posts: 137
Rep:
|
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?
|
|
|
11-14-2010, 11:50 PM
|
#2
|
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908
|
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
|
|
|
11-15-2010, 01:36 AM
|
#3
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep:
|
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
|
|
|
11-15-2010, 02:06 AM
|
#4
|
Member
Registered: Oct 2004
Location: Michigan
Distribution: Debian Squeeze (2.6.32-5)
Posts: 137
Original Poster
Rep:
|
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.
|
|
|
11-15-2010, 04:12 AM
|
#5
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep:
|
Can you post the contents of your sources.list file. Be sure to post it inside of the the code /code markers.
jdk
|
|
|
11-15-2010, 01:28 PM
|
#6
|
Member
Registered: Oct 2004
Location: Michigan
Distribution: Debian Squeeze (2.6.32-5)
Posts: 137
Original Poster
Rep:
|
/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
|
|
|
11-16-2010, 12:24 AM
|
#7
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep:
|
Quote:
Originally Posted by jmoschetti45
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
|
|
|
11-16-2010, 04:05 PM
|
#8
|
Member
Registered: Oct 2004
Location: Michigan
Distribution: Debian Squeeze (2.6.32-5)
Posts: 137
Original Poster
Rep:
|
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?
|
|
|
11-17-2010, 01:31 AM
|
#9
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep:
|
Quote:
Originally Posted by jmoschetti45
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
|
|
|
11-18-2010, 09:21 PM
|
#10
|
Member
Registered: Oct 2004
Location: Michigan
Distribution: Debian Squeeze (2.6.32-5)
Posts: 137
Original Poster
Rep:
|
Nope. Never had this problem with Lenny, only Squeeze.
|
|
|
11-19-2010, 12:35 AM
|
#11
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep:
|
What new mirrors did you try?
jdk
|
|
|
03-04-2011, 01:10 PM
|
#12
|
Member
Registered: Nov 2007
Location: A place with no mountains
Distribution: Kubuntu, sidux, openSUSE
Posts: 214
Rep:
|
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.
|
|
|
03-04-2011, 01:58 PM
|
#13
|
Member
Registered: Oct 2004
Location: Michigan
Distribution: Debian Squeeze (2.6.32-5)
Posts: 137
Original Poster
Rep:
|
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.
|
|
|
03-04-2011, 02:10 PM
|
#14
|
Member
Registered: Nov 2007
Location: A place with no mountains
Distribution: Kubuntu, sidux, openSUSE
Posts: 214
Rep:
|
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).
|
|
|
All times are GMT -5. The time now is 04:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|