-   Linux - Newbie (
-   -   Unable to resolve webproxy while trying to apt-get update. (

Khaki83 12-19-2009 09:48 PM

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 hardy-security Release.gpg
Could not resolve 'webproxy'
Err hardy-security/restricted Translation-en_AU
Could not resolve 'webproxy' etc etc

Relevant Screenshot-

My sources.list is the default Ubuntu 8.04 one. I have no problems using Firefox or checking email with Evolution.

I just need to change the webproxy settings that apt-get is using, and I'm not sure how to do that.

Thank you in advance.

Brains 12-20-2009 11:11 PM

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.

linuxlover.chaitanya 12-20-2009 11:39 PM

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.

Khaki83 12-21-2009 02:14 AM

Brains- I gave that sources.list a go, still getting the same error message of being "unable to resolve webproxy".


Originally Posted by linuxlover.chaitanya (Post 3799495)
If you want a newer version, you are better off using Jaunty or Karmic. Ibex is too old. Or else keep your Hardy.

My plan is to update all the way to Jaunty, but I need to get Ibex before I can update to Jaunty.

linuxlover.chaitanya 12-21-2009 03:56 AM

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.

akuma_linux 12-21-2009 08:54 AM

Hi Khaki83,

Not sure if this will help, but try the following command in the terminal :


export http_proxy=http://your.proxy.server:port


export http_proxy=
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 :


echo $http_proxy
That's what I have to do where I am.
Hope this helps

Khaki83 12-23-2009 06:21 PM

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.

linuxlover.chaitanya 12-23-2009 11:18 PM

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.

linuxlover.chaitanya 12-23-2009 11:20 PM

And I am advocating Jaunty because the personal experience says that Jaunty is better than Karmic. Jaunty is much faster and stable.

All times are GMT -5. The time now is 09:13 PM.