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?
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. :)
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.
Sounds like a DNS problem. Try putting:
nameserver 18.104.22.168 nameserver 22.214.171.124
In /etc/resolv.conf and putting:
dns-nameservers 126.96.36.199 188.8.131.52