This one time, at band camp, Goswin von Brederlow said: > Stephen Gran <sg...@debian.org> writes: > > > This one time, at band camp, Goswin von Brederlow said: > >> 1) How to specify an arch in sources.list? > > > > Don't. Specify it in apt.conf > > > >> Suggestion: > >> deb [arch=i386,amd64] http://ftp.debian.org sid main > > > > APT::Arches "i386,amd64" > > > > Or something. > > What if one repository only has i386 packages or I only want the amd64 > ones from there? > > A global setting is a good default but this should be configurable per > repository too.
That seems unnecessarily fine grained to me, but I'm not working on apt, so it's not really a direct concern of mine. I'm only considering the upgrade path, and having to change sources.list is more tedious than having to drop a new file in apt.conf.d. > The planned logic is as follows: I assume there's another discussion where this is actually discussed with relevant parties, since you've got as far as having a plan? > >> apt-get install amd64/foobar > > > > Fine. Or maybe --arch amd64. > > apt-get install amd64/foo i386/bar powerpc/baz > > Should that have multiple --arch switches? We already use -t unstable and so on, it seems like a more natural extension to that. But again, I'm not working on apt, so I'm not going to try to dictate how they do their work. Cheers, -- ----------------------------------------------------------------- | ,''`. Stephen Gran | | : :' : sg...@debian.org | | `. `' Debian user, admin, and developer | | `- http://www.debian.org | -----------------------------------------------------------------
signature.asc
Description: Digital signature