• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

apt-get and proxies

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

jajmon

Member
Joined
Apr 19, 2002
Location
Burnsville, Minnesota
I've installed apt today here at work, and am having proxy-authentication issues. I googled and came up with a couple of hits that showed how to mod your apt.conf file. I have added the neccesary items, but it still isn't working when I do an apt-get update, I get proxy required errors. I did an 'apt-get config dump' and here is the section for aquire that pertains to the proxy. I have changed the personal settings for forum purposes.

Aquire "";
Aquire::http "";
Aquire::http::proxy "http://myname:[email protected]:myport#/";

this is from the /etc/apt/apt.conf file
Aquire
{
http
{
Proxy "http://myname:[email protected]:myport#/";
};
};

Another few eyes to look at this,,,,,,,,,,,,,,thanks
 
Christoph said:
This guy had a similar problem. Have you tried what was suggested there?

I think I ran across that in my searches. At any rate, things get interesting. I have a fresh Yoper install at work as well. It's not tweaked or anything yet. I did an apt-get update and that went smooth, no errors. I looked at the apt.conf file on that box, and as suspect it was plain jane. I made my apt.conf on the Suse box just like the Yoper box, still no luck. Now at home, my Suse box goes thru a proxy too, main difference, being no authentication.
 
update - OK, I have this problem solved as well. Seems 'apt' for SuSe uses the proxy settings in YAST/NetworkServices/proxy. (what one would use for Online Updates via Yast if you were behind a proxy that required authentication) I disabled those settings and ran an 'apt-get update' and low and behold it worked! :clap: I've been a short lived Debian user, and I loved apt-get. Now I have that same ability w/SuSe, although the repositories are far less than Debs. It's still wonderful to type in apt-get install 'something' and all dependencies are d/l'd and installed.
 
Back