LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 12-19-2009, 09:48 PM   #1
Khaki83
LQ Newbie
 
Registered: May 2008
Distribution: Ubuntu
Posts: 7

Rep: Reputation: 0
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


Relevant Screenshot-
http://img190.imageshack.us/img190/6540/desktopsl.jpg

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.
 
Old 12-20-2009, 11:11 PM   #2
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 258

Rep: Reputation: 42
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.
 
Old 12-20-2009, 11:39 PM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,627

Rep: Reputation: Disabled
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.
 
Old 12-21-2009, 02:14 AM   #4
Khaki83
LQ Newbie
 
Registered: May 2008
Distribution: Ubuntu
Posts: 7

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

Quote:
Originally Posted by linuxlover.chaitanya View Post
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.

Last edited by Khaki83; 12-21-2009 at 02:20 AM.
 
Old 12-21-2009, 03:56 AM   #5
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,627

Rep: Reputation: Disabled
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.
 
Old 12-21-2009, 08:54 AM   #6
akuma_linux
Member
 
Registered: Aug 2006
Distribution: Ubuntu, CentOS
Posts: 31

Rep: Reputation: 15
Hi Khaki83,

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
 
Old 12-23-2009, 06:21 PM   #7
Khaki83
LQ Newbie
 
Registered: May 2008
Distribution: Ubuntu
Posts: 7

Original Poster
Rep: Reputation: 0
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.
 
Old 12-23-2009, 11:18 PM   #8
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,627

Rep: Reputation: Disabled
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.
 
Old 12-23-2009, 11:20 PM   #9
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,627

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


Reply

Tags
ubuntu


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
Unable to resolve ulr. /et/resolve.conf looks fine? TheBrick Linux - Networking 3 02-14-2008 04:13 AM
Error while resolve packages by apt rogee Debian 3 01-20-2007 07:01 PM
apt-get: don't resolve dependencies? merchtemeagle Debian 7 06-17-2005 02:11 PM
unable to perform apt-get update Skaan Debian 8 05-25-2005 09:11 AM
Does 'apt-get update' update the database used by 'apt-cache'? davidas Debian 5 04-20-2004 01:27 AM


All times are GMT -5. The time now is 11:38 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration