Re: Proxy and APT
My problem is:
alhmngsrv:/home/javier# apt-get update
Err ftp://ftp.fr.debian.org frozen/main Packages
Protocol corruption
Err ftp://ftp.fr.debian.org frozen/main Release
Protocol corruption
Err ftp://ftp.fr.debian.org frozen/contrib Packages
Protocol corruption
Err ftp://ftp.fr.debian.org frozen/contrib Release
Protocol corruption
Err ftp://ftp.fr.debian.org frozen/non-free Packages
Protocol corruption
Err ftp://ftp.fr.debian.org frozen/non-free Release
Protocol corruption
Failed to fetch
ftp://ftp.fr.debian.org/debian/dists/frozen/main/binary-i386/Packages
Protocol corruption
Failed to fetch
ftp://ftp.fr.debian.org/debian/dists/frozen/main/binary-i386/Release
Protocol corruption
Failed to fetch
ftp://ftp.fr.debian.org/debian/dists/frozen/contrib/binary-i386/Packages
Protocol corruption
Failed to fetch
ftp://ftp.fr.debian.org/debian/dists/frozen/contrib/binary-i386/Release
Protocol corruption
Failed to fetch
ftp://ftp.fr.debian.org/debian/dists/frozen/non-free/binary-i386/Packages
Protocol corruption
Failed to fetch
ftp://ftp.fr.debian.org/debian/dists/frozen/non-free/binary-i386/Release
Protocol corruption
This is my apt.conf file:
Acquire
{
Queue-Mode "host"; // host|access
Retries "0";
Source-Symlinks "true";
// HTTP method configuration
http
{
Proxy "http://javier:alhsys@192.168.1.180:3128/";
Timeout "120";
Pipeline-Depth "5";
// Cache Control. Note these do not work with Squid 2.0.2
No-Cache "false";
Max-Age "86400"; // 1 Day age on index files
No-Store "false"; // Prevent the cache from storing archives
};
ftp
{
Proxy "ftp://192.168.1.180:3128/";
ProxyLogin
{
"USER $(PROXY_USER)";
"PASS $(PROXY_PASS)";
};
};
};
And this is my sources.list file:
deb ftp://ftp.fr.debian.org/debian frozen main contrib non-free
Ihave the env variables:
export PROXY_USER=javier
export PROXY_PASS=alhsys
Sanjeev Gupta wrote:
>
> The following is from a mail I sent to a neo-Debian, her proxy did NOT have
> authentication.
>
> Add to, or replace, your /etc/apt/apt.conf:
>
> Acquire
> {
> Queue-Mode "host"; // host|access
> Retries "0";
> Source-Symlinks "true";
>
> // HTTP method configuration
> http
> {
> Proxy "http://ghane:space@192.168.200.85:8080";
> Timeout "120";
> Pipeline-Depth "5";
>
> // Cache Control. Note these do not work with Squid 2.0.2
> No-Cache "false";
> Max-Age "86400"; // 1 Day age on index files
> No-Store "false"; // Prevent the cache from storing archives
> };
> };
>
> -----Original Message-----
> From: Javier Castillo <castillo@alhsys.es>
> To: Debian-Isp <lista correo> <debian-isp@lists.debian.org>
> Date: Wednesday, April 05, 2000 7:11 PM
> Subject: Proxy and APT
>
> > Hi there,
> >
> > Anoy of you know how can I use apt using our Proxy?. I want to
> >configure APT to download debs using FTP and my Proxy. Can you give an
> >apt.conf?.
> >
> >Thanks.
> >
> >--
> >Javier Castillo Alcíbar. castillo@alhsys.es
> >Alhambra Systems, S.A. http://www.alhsys.es
> >Telf: 34 - 1 - 91 304 18 00
> >Fax: 34 - 1 - 91 327 31 31
> >
> >
> >--
> >To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
> >with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> >
> >
--
Javier Castillo Alcíbar. castillo@alhsys.es
Alhambra Systems, S.A. http://www.alhsys.es
Telf: 34 - 1 - 91 304 18 00
Fax: 34 - 1 - 91 327 31 31
Reply to: