[please follow up to debian-devel only] Steve Dunham wrote: > RPM does this.
Yeah, I know, I do maintain rpm. ;-) > dpkg should too. I'm feeling less lazy and hackish this morning and am inclinded to agree. Here's a proposal: Make /etc/dpkg/arch be a conffile for dpkg. If it is not present, dpkg behaves exactly as it does now. The contents of the file would look something like: i386: i386 pentium all m68k: m68k all powerpc: powerpc all sparc: sparc all Dpkg will allow any package in the arch's listed after the machine's architecture to be installed. Note that the ordering of the architectures on a line is important, as apt can look at that and prefer the architectures that come first. This means that if you have a pentium, you can change the first line to: i386: pentium i386 all And apt will prefer to install pentium optimized binaries. I think this would also be useful for the m68k people, who I believe have a few packages that only work on atari's not on amiga's, they could probably use something like: # If your machine is an atari, use this line: #m68k: m68k-atari m68k all # If your machine is an amiga, use this line: m68k: m68k-amiga m68k all If the sparc 64's can use normal sparc binaries, but normal sparc's cannot use their binaires, we could have: sparc-64: sparc-64 sparc all sparc: sparc all I think there's a package for the alpha that lets them run i386 linux binaries, so some people might even use: alpha: alpha i386 pentium all What do you think? -- see shy jo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

