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 10-09-2013, 02:30 PM   #1
OctoPaul
LQ Newbie
 
Registered: Oct 2013
Posts: 2

Rep: Reputation: Disabled
Cannot install or update on Ubuntu 13.04: Possible issue with proxy settings?


I have just setup the latest verion of ubuntu on my Dell. I am unable to install software from the Ubuntu Software Centre. When I try the following command on a bash terminal:
Code:
"sudo apt-get update"
I get the following error returned:
Quote:
Could not connect to extras.ubuntu.com:80 (91.189.92.152), connection timed out
I tried configuring my proxy settings using the following:
Code:
 export http_proxy=http://user:password@my.proxy.server:port/
This did not solve anything. I am wondering if the problem is that I cannot connect to a sofware repositary due to the proxy settings or for some other reason. Any sugestions would be much appreciated.

Last edited by OctoPaul; 10-09-2013 at 02:35 PM.
 
Old 10-10-2013, 07:19 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Are you able to connect to internet? How do you connect to internet using your internet browser, do you use any proxy settings? If yes, then you need to configure same for apt.
 
Old 10-10-2013, 07:54 AM   #3
OctoPaul
LQ Newbie
 
Registered: Oct 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thankyou for your answer. I am able to connect to the internet using firefox. And yes there is a proxy server. How do I configure the same for apt?
 
Old 10-10-2013, 08:30 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
If you have desktop version installed, Open Synaptics > Preferences / Options > Network

Set the proxy settings.

Else, edit /etc/apt/apt.conf and add

Acquire::http::Proxy "http://yourproxyaddressroxyport";

http_proxy=http://usernameassword@yourproxyaddressroxyport
 
  


Reply


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
Proxy settings in Ubuntu (system wide) esornep Linux - Newbie 4 07-16-2012 05:10 PM
Unable to update anything - Proxy issue. DarkenedHeart Linux - Networking 1 10-03-2008 04:35 PM
Yast S/W update and wpad.dat for proxy settings ithawtewrong SUSE / openSUSE 0 05-19-2008 05:52 PM
Configuring proxy settings for yast update behind a firewall fintan SUSE / openSUSE 2 02-05-2005 02:01 PM
SuSE 9.1 YaST Online Update and Proxy Settings mikemrh9 Linux - Networking 5 07-11-2004 07:01 PM


All times are GMT -5. The time now is 01:07 AM.

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