View Single Post
Old October 26th, 2007   #6
mredmond
First Cup of Ubuntu
 
Join Date: Oct 2007
Beans: 3
Re: LTSP installation - proxy problem with ltsp-build-client on gutsy

The "permanent" solution to this is to add two lines to the end of /etc/bash.bashrc:

export http_proxy=http://usernameassword@proxyserver.netort/
export ftp_proxy=http://usernameassword@proxyserver.netport/

On subsequent sessions, your proxys will work with apt-get. I was surprised that the "global" proxy settings did not seem to apply to some terminal session operations, like apt-get.

Mike
---
Quote:
Originally Posted by DaveEaseman View Post
I also had this problem; are you running behind a proxy?

Although I had defined a proxy on the ubuntu install, and apt-get was working OK, I remembered something about proxy settings for apt-get. This error seemed to be a similar proxy problem so I hunted about and found this:-

http://blog.mypapit.net/2006/02/how-...ntudebian.html

At command line I entered:-

export http_proxy=http://usernameassword@proxyserver.netort/

(check the article; you don't need to specify the usernameassword@ part if your proxy is not configured with a username and password)

e.g.

export http_proxy=http://sample.com:8080/

sudo ltsp-build-client then worked OK.
mredmond is offline   Reply With Quote