Unable to resolve webproxy while trying to apt-get update.
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
Unable to resolve webproxy while trying to apt-get update.
Just recently got a new laptop with a Hardy Heron dist of Ubuntu, and have been trying to upgrade to 8.10. However, everytime I do, I get the following error messages-
root@test-laptop:~# apt-get update
Err http://security.ubuntu.com hardy-security Release.gpg
Could not resolve 'webproxy'
Err http://security.ubuntu.com hardy-security/restricted Translation-en_AU
Could not resolve 'webproxy' etc etc
There must be an error in your sources.list as the link in the error posted suggests. Look at the last two entries of this sources.list, these links are correct and what your entries for secuity should look like.
If you want a newer version, you are better off using Jaunty or Karmic. Ibex is too old. Or else keep your Hardy.
Not a very good idea to use an old version. Now that Karmic is out, Ibex must have lost support.
My strong suggestion is, get Jaunty. It is faster than Karmic and much more stable. I upgraded to Karmic and have been facing issues with speed and audio. Jaunty was much happy to run on my dell desktop.
Why update? backup all your data and go for a new install. Clean installs are always recommended. And it looks like your system is already clean that it came up with Hardy that you want to first upgrade before putting it to use.
Not sure if this will help, but try the following command in the terminal :
Code:
export http_proxy=http://your.proxy.server:port
e.g.
Code:
export http_proxy=http://wwwcache.test.com:8080
It looks like your web proxy system variable is set to 'webproxy' rather than the actual value of the proxy. You can see what the variable http_proxy is set as by doing :
Code:
echo $http_proxy
That's what I have to do where I am.
Hope this helps
chaitanya- I think a clean install is the way to go. I've ordered a new disc from Canonical. Hopefully 9.10 doesn't have this problem.
Akuma.linux - Those commands don't work on the basis that I'm not using a proxy. I'm unable to use those commands with null values for the proxy. Thanks anyway.
Once again thanks to everyone who posted in the thread. Looks like I'll just have to wait for a new disc to arrive from Canonical.
If you do not have Karmic discs, you can use Jaunty if you have one. Else if discs take time to come, you may contact some local linux users group around. There sure must be one around where you live and you could happily get the help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.