Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Unable to install Ubuntu server 11.10 updates.

When I try to update using apt I get the following error:

reading package lists... done
Building dependence tree .... done
E:unable to locate package update

Can you please provide a solution?

share|improve this question
    
What are you specifically trying to install? –  cloyd800 Apr 25 '12 at 6:54
    
Can you copy/paste the command you use. Something seems to be wrong there. –  mikewhatever Apr 25 '12 at 7:09
    
When i used the code sudo apt-get update i get the below "something wicked happened in resolving "in.archive.ubuntu.com ".... (5 - no address associated with hostname ) " –  Amirtham Purendra Raman B Apr 25 '12 at 8:54
add comment

2 Answers

up vote 1 down vote accepted

E: Unable to locate package update

some times it happens when you have internet connection with proxy. I have encountered the same case with me. Please also check that you are proxy free and configured it so that proxy server allows you.

Code: sudo apt-get update if it runs, then everything could be installed. And Please mention what you are trying to update here... the solution can vary a bit. :)


Edited:

Seems like your DNS configuration is unable to resolve the address.Try pinging to this server from Windows/any other Linux DNS Client.It will inform you with IP.Put that IP under /etc/hosts or under /etc/apt/source.list instead of hostname. Do Check /etc/resolv.conf too.

share|improve this answer
    
When i used the code sudo apt-get update i get the below "something wicked happened in resolving "in.archive.ubuntu.com ".... (5 - no address associated with hostname ) " –  Amirtham Purendra Raman B Apr 25 '12 at 8:49
    
I have edited with the solution to that plz try the same. –  bebojoor Apr 25 '12 at 8:59
add comment

Sounds like a DNS problem. Try putting:

nameserver 8.8.8.8
nameserver 8.8.4.4

In /etc/resolv.conf and putting:

dns-nameservers 8.8.8.8 8.8.4.4

In /etc/network/interfaces.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.