The "permanent" solution to this is to add two lines to the end of /etc/bash.bashrc:
export http_proxy=http://username

assword@proxyserver.net

ort/
export ftp_proxy=http://username

assword@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
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://username  assword@proxyserver.net  ort/
(check the article; you don't need to specify the username  assword@ 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.
|