Re: proxy for apt-get? NOONE?
Hi Greg, > Why not try a script like this: Ui, pretty complicated, I prefer apt-get --just-print dist-ugrade :-) > export http_proxy=http://192.168.2.64:8080/ > export ftp_proxy=http://192.168.2.64:8080/ But this really worked! Thanks! So I understand even less why the same option in apt.conf.d doesn't do it: ftp { Proxy "http://192.168.2.64:8080/";; Timeout "120"; }; Very strange! Andy. PS: using apt version 0.5.4 -- Dr. Andy Spiegl, Radio Marañón, Jaén, Perú E-Mail: [EMAIL PROTECTED], [EMAIL PROTECTED] URL: http://spiegl.de, http://radiomaranon.org.pe PGP/GPG: see headers o _ _ _ --- __o __o /\_ _ \\o (_)\__/o (_) -o) - _`\<,__`\<,__>(_) (_)/<_\_| \ _|/' \/ /\\ (_)/ (_) (_)/ (_) (_)(_) (_)(_)' _\o__\_v "Technically, Windows is an operating system, which means that it supplies your computer with the basic commands it needs to suddenly, with no warning whatsoever, stop operating." - Dave Barry
Re: proxy for apt-get? NOONE?
Hi Sander, > > > But the cache _does_ work. Proof: > > > hamster:~>telnet proxy 3128 > > > Trying 192.168.96.3... > > > Connected to proxy.int.radiomaranon.org.pe. > > > Escape character is '^]'. > > This only proofs the proxy takes connections, Correct. But I assure you that it does work, too. :-) According to the log files, to other downloads, etc. So I think it's just a matter of specifying the correct configuration line which apparently I am doing wrong, no? Thanks, Andy. -- Dr. Andy Spiegl, Radio Marañón, Jaén, Perú E-Mail: [EMAIL PROTECTED], [EMAIL PROTECTED] URL: http://spiegl.de, http://radiomaranon.org.pe PGP/GPG: see headers o _ _ _ --- __o __o /\_ _ \\o (_)\__/o (_) -o) - _`\<,__`\<,__>(_) (_)/<_\_| \ _|/' \/ /\\ (_)/ (_) (_)/ (_) (_)(_) (_)(_)' _\o__\_v Your supervisor is thinking about you.
Re: proxy for apt-get? NOONE?
Quoting Andy Spiegl ([EMAIL PROTECTED]): > > Proxy "ftp://proxy:3128/";; > > Err ftp://ftp.de.debian.org woody/main libcupsys2 1.1.12-4 > > Server closed the connection > > > > But the cache _does_ work. Proof: > > hamster:~>telnet proxy 3128 > > Trying 192.168.96.3... > > Connected to proxy.int.radiomaranon.org.pe. > > Escape character is '^]'. This only proofs the proxy takes connections, but try getting files or doing a FTP login. Maybe it quits directly after receiving the first instruction? Does the proxy keep logs? Check those too :) Regards, Sander. -- | Heredity: Everyone believes in it until their children act like fools! | 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D
Re: proxy for apt-get? NOONE?
> I don't know what may be going on with your setup but I have squid and > ipchains setup to do transparent proxying and I don't have any > problems. > > Also have export http_proxy=http://192.168.1.1:3128 in /etc/profile. Thanks a lot, guys, but I think there was a misunderstanding. I'm talking about FTP-proxying. Squid can do it, but with apt-get it doesn't work. :-( Anyone else?, Andy. -- Dr. Andy Spiegl, Radio Marañón, Jaén, Perú E-Mail: [EMAIL PROTECTED], [EMAIL PROTECTED] URL: http://spiegl.de, http://radiomaranon.org.pe PGP/GPG: see headers o _ _ _ --- __o __o /\_ _ \\o (_)\__/o (_) -o) - _`\<,__`\<,__>(_) (_)/<_\_| \ _|/' \/ /\\ (_)/ (_) (_)/ (_) (_)(_) (_)(_)' _\o__\_v "There is no snooze button on a cat who wants breakfast." - Unknown pgpRWOv45wXHC.pgp Description: PGP signature
Re: proxy for apt-get? NOONE?
Andy Spiegl wrote: > > Pretty sad to respond to my own posting, but I'm desperate. :-) > Is there noone who can help me with that? I'm on a satellite uplink and > _have_ to use the proxy. > Thanks, > Andy. this is my apt.conf proxy line: Acquire::http::Proxy "http://proxy.mycompany.com:8080";; my proxy is squid too, on a potato box. everything works perfectly. try to check the squid logs, if you can access them. pietro.
Re: proxy for apt-get? NOONE?
Hi Andy! On Fri, 11 Jan 2002, Andy Spiegl wrote: > Pretty sad to respond to my own posting, but I'm desperate. :-) > Is there noone who can help me with that? I'm on a satellite uplink and > _have_ to use the proxy. > Thanks, > Andy. > I don't know what may be going on with your setup but I have squid and ipchains setup to do transparent proxying and I don't have any problems. Also have export http_proxy=http://192.168.1.1:3128 in /etc/profile. -- B. L. Jilek <[EMAIL PROTECTED]> --> Put - crowbyte - in the subject or mail to me will bounce if your not on my nobounce list. GPG: 0x8ABA0CE6 (Preferred) | PGP: RSA-0x64183EA1 DSS-0x66FF0BC1 Linux user: 163800 | ICQ: 83785391 | http://www.geocities.com/bljilek --- pgpoPTpnurg95.pgp Description: PGP signature
Re: proxy for apt-get? NOONE?
Pretty sad to respond to my own posting, but I'm desperate. :-) Is there noone who can help me with that? I'm on a satellite uplink and _have_ to use the proxy. Thanks, Andy. > I am trying to tune apt-get to use my proxy (squid) when downloading files > via ftp, but it doesn't connect anymore when I write this file: > /etc/apt/apt.conf.d/20proxy > with this content: > -- > Acquire > { > ftp > { > Proxy "ftp://proxy:3128/";; > }; > }; > -- > > Or: > Proxy "http://proxy:3128/";; > > All I get is this: > > hamster:~#apt-get install wine > Reading Package Lists... Done > Building Dependency Tree... Done > The following extra packages will be installed: >libcupsys2 libwine wine-utils > 4 packages upgraded, 0 newly installed, 0 to remove and 864 not upgraded. > Need to get 5405kB of archives. After unpacking 423kB will be used. > Do you want to continue? [Y/n] > 0% [Logging in] > Err ftp://ftp.de.debian.org woody/main libcupsys2 1.1.12-4 > Server closed the connection > 0% [Logging in] > Err ftp://ftp.de.debian.org woody/main wine 0.0.20011226-1 > Server closed the connection > 0% [Logging in] > ... > > But the cache _does_ work. Proof: > hamster:~>telnet proxy 3128 > Trying 192.168.96.3... > Connected to proxy.int.radiomaranon.org.pe. > Escape character is '^]'. > > Any idea what I'm doing wrong? > Thanks, > Andy. -- Dr. Andy Spiegl, Radio Marañón, Jaén, Perú E-Mail: [EMAIL PROTECTED], [EMAIL PROTECTED] URL: http://spiegl.de, http://radiomaranon.org.pe PGP/GPG: see headers o _ _ _ --- __o __o /\_ _ \\o (_)\__/o (_) -o) - _`\<,__`\<,__>(_) (_)/<_\_| \ _|/' \/ /\\ (_)/ (_) (_)/ (_) (_)(_) (_)(_)' _\o__\_v A loving heart is the truest wisdom. -- Charles Dickens