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

Syntax for multiarch support in sources.list



Hi,

i will be working on updating the biarch patches for apt to current
sarge and sid and to multiarch during the next days.

To get the most out of this I would like to have a decision on what
syntax to use in the sources.list to configure what architecture shall
be used for a source line. Currently the patched biarch apt uses the
following to denote a source should look for i386 packages:

deb http://ftp.debian.org sarge(i386) main contrib non-free

I'm not sure how that applies to the other form: 'deb http://somewhere
path/(i386)'? That doesn't look so good to me.


Alternatively I could think of a few other syntaxes:

deb (i386) http://ftp.debian.org       sarge       main contrib non-free
deb <i386> http://ftp.debian.org       sarge       main contrib non-free
deb {i386} http://ftp.debian.org       sarge       main contrib non-free
deb        http://ftp.debian.org       sarge(i386) main contrib non-free
deb        http://ftp.debian.org       sarge<i386> main contrib non-free
deb        http://ftp.debian.org       sarge{i386} main contrib non-free
deb        http://ftp.debian.org       sarge[i386] main contrib non-free
deb        http://ftp.debian.org       sarge=i386  main contrib non-free
deb        http://ftp.debian.org       sarge:i386  main contrib non-free
deb        http://ftp.debian.org       sarge\i386  main contrib non-free
deb        http://ftp.debian.org(i386) sarge       main contrib non-free
deb        http://ftp.debian.org<i386> sarge       main contrib non-free
deb        http://ftp.debian.org{i386} sarge       main contrib non-free
deb        http://ftp.debian.org[i386] sarge       main contrib non-free
deb        http://ftp.debian.org=i386  sarge       main contrib non-free
deb        http://ftp.debian.org:i386  sarge       main contrib non-free
deb        http://ftp.debian.org\i386  sarge       main contrib non-free

Omiting the architecture would mean to look for packages for all
compatible archs configured for the system, which would default all
natively running archs (but not qemu needing ones, e.g. i386 on ppc).

Any preferences?

MfG
        Goswin



Reply to: