which platform apt-get install uses on the fly?

Hi

$apt-get install gsl-bin
how does it know which of these
alpha amd64 arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc
to install?

thanks

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

When you first install using

When you first install using 'debootstrap' you specify the architecture, but that merely controls which directories to fetch things from (mostly only useful for the net install because a mirror can have everything). I think even if you don't specify an architecture, debootstrap will default to the architecture it was built for (sensible because debootstrap IS running on that machine after all).

Now apt-get knows which architecture it was built for and it uses that information to get the right packages (see info apt.conf). If you're using one machine to retrieve files for another, you need to specify what architecture's files you want to fetch.

Syndicate content