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

Re: testing sources



Francesco Pietra wrote:
I know how to do that, but should 64bit be mentioned in some way or is the distribution automatically recognized by the mirror?

This question seems to be asked *constantly*. Time for an in-depth look.

Point your web browser at http://ftp.uk.debian.org/debian. Now, when you say "deb http://ftp.uk.debian.org/debian sid main contrib non-free" in sources.list, what is actually downloaded are the packages lists from http://ftp.uk.debian.org/debian/dists/sid/main/binary-$ARCHITECTURE, http://ftp.uk.debian.org/debian/dists/sid/contrib/binary-$ARCHITECTURE and http://ftp.uk.debian.org/debian/dists/sid/non-free/binary-$ARCHITECTURE. The architecture bit is filled in by Apt.

These lists point to the locations on the server for the actual packages specific to that architecture - for example, on a little endian MIPS machine, the "gedit" package points to http://ftp.uk.debian.org/debian/pool/main/g/gedit/gedit_2.14.3-1_mipsel.deb - whereas on Itanium machines, it points to http://ftp.uk.debian.org/debian/pool/main/g/gedit/gedit_2.14.3-1_ia64.deb, because the packages lists downloaded by Apt tell it to do so.

There is never a technical reason to store packages for one architecture in a different place to other architectures. There may be administrative reasons, such as keeping an unofficial Debian-based project in an area distinct from Debian.



Reply to: