LinuxQuestions.org
Visit Jeremy's Blog.
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 04-30-2010, 12:24 PM   #1
ravi.xolve
Member
 
Registered: Jul 2006
Posts: 89

Rep: Reputation: 15
Exclamation apt-get has the problems to resolve address


I installed Lucid. I am sitting behind a passworded proxy therefore I set up this proxy variable:

Code:
http://user:password@host:port/
When I try use apt-get upgrade it shows the following error:

Code:
Err http://us.archive.ubuntu.com lucid Release.gpg                          
  Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://security.ubuntu.com lucid-security Release.gpg                   
  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

.....
But when I try to use:

Code:
wget www.google.com
it just works fine and gets me the desired page. Looks like there is some problem. I tried using KPackagekit and installed Synaptic manually to resolve it but no help.

Please help me out of this. My PC is just plain OS with no applications I need.
 
Old 04-30-2010, 12:30 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
Well it appears to be attempting to resolve "us.archive.ubuntu.com:http" as a hostname. Have you checked your configs? Looks like there might be a missing space or malformed line... or maybe a bug. What does your sources.list look like (/etc/apt/sources.list)?
 
Old 04-30-2010, 01:21 PM   #3
ravi.xolve
Member
 
Registered: Jul 2006
Posts: 89

Original Poster
Rep: Reputation: 15
Arrow

here is a snapshot of my sources: http://pastebin.com/EDYcMMC5
Its unmodified and the original one from the installation.
 
Old 04-30-2010, 01:21 PM   #4
ravi.xolve
Member
 
Registered: Jul 2006
Posts: 89

Original Poster
Rep: Reputation: 15
Ok now I manually updated the apt-get lists (yeah it was very tiresome). And now when I want to install a package I get the same error:


Code:
Err http://us.archive.ubuntu.com/ubuntu/ lucid/universe linuxdcpp 1.0.3-1
  Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/...0.3-1_i386.deb  Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Well whats the problem? Bug with apt-get?
 
Old 05-01-2010, 02:21 AM   #5
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Not sure if it applies, but debian uses http://http.us.debian.org/.....

Perhaps:

deb http://http.us.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://http.us.archive.ubuntu.com/ubuntu/ lucid main restricted

or not. The pastebin being just /us.ar... not /http.us.ar... just a guess though.
 
  


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
Not able to resolve the address from clients cj_cheema Linux - Server 2 09-02-2008 01:53 AM
Error while resolve packages by apt rogee Debian 3 01-20-2007 07:01 PM
Cannot resolve ip address jules verne Linux - Networking 1 08-09-2006 10:34 AM
apt-get: don't resolve dependencies? merchtemeagle Debian 7 06-17-2005 02:11 PM
Resolve IP to MAC Address TheRealDeal Linux - General 1 12-03-2003 07:16 PM

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

All times are GMT -5. The time now is 07:33 AM.

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