Re: problems with ftp server via http...
On Tue, Nov 22, 2011 at 07:53:01PM +0100, Simon Paillard wrote:
> (debian-mirrors is better suited)
> On Tue, Nov 22, 2011 at 07:11:36PM +0100, firstname.lastname@example.org wrote:
> > I'm getting 404-not found for a file that really exists on the server.
> > perhaps a broken configuration?
> > please compare the traces below.
> > Regards
> > giuseppe
> > $ curl -v -s -o /dev/null http://ftp.debian.org/dists/squeeze/main/binary-i386/Packages.gz
> > | * Connected to ftp.debian.org (188.8.131.52) port 80 (#0)
> > | > GET /dists/squeeze/main/binary-i386/Packages.gz HTTP/1.1
> > | < HTTP/1.1 404 Not Found
> Ok here now.
I overlooked your mail.
You try to reach http://ftp.debian.org/dists/ but the right path is
/dists/ is a very old path, working on the old ftp.d.o backend, but that will
not be kept in the future.
Your sources.list should look like:
deb http://ftp.debian.org/debian/ squeeze main non-free
Or better, select a mirror closer to you in http://www.debian.org/mirror/list
deb http://ftp.it.debian.org/debian/ squeeze main non-free