[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: security updates using ftp

On Tue, 30 Aug 2011 13:56:48 -0500
Nelson Last <nelson7079@hotmail.com> wrote:

> Good afternoon,
> I have a system that does not have http access, due to firewall restrictions. I do, however, have ftp access. I apparently am able to update aptitude with no problem, but I can never get security updates. I always get an error about not being able to open the file:
> Err ftp://security.debian.org squeeze/updates/main i386 Packages   Unable to fetch file, server said 'Failed to open file.  ' [IP: 21]
> W: Failed to fetch ftp://security.debian.org/dists/squeeze/updates/main/binary-i386/Packages.gz  Unable to fetch file, server said 'Failed to open file.  ' [IP: 21]
> The contents of /etc/apt/sources.list is fairly simple:
> deb ftp://ftp.debian.org/debian squeeze main
> deb ftp://security.debian.org/ squeeze/updates main
> And I have a proxy defined for anonymous access (/etc/apt/apt.conf.d/proxy):
> Acquire::ftp
> {
>    Proxy "ftp://ftp.debian.org/debian:21";;
>    ProxyLogin
>    {
>       "USER anonymous";
>       "PASS user@co.brazos.tx.us";
>    }
> }

Why do you use a proxy for anonymous ftp access to security.d.o? I doubt ftp://ftp.debian.org/debian:21 is acting as a proxy. Try to download the file manually with wget like this: 

wget ftp://security.debian.org/debian-security/dists/squeeze/updates/main/binary-i386/Packages.gz

If that succeeds, you can safely drop the file /etc/apt/apt.conf.d/proxy. 


Reply to: