Yann Dirson <ydir...@free.fr> writes: > On Wed, Apr 25, 2012 at 11:12:42AM +0200, Goswin von Brederlow wrote: >> Yann Dirson <ydir...@free.fr> writes: >> >> > Package: apt >> > Version: 0.8.15.10 >> > Severity: normal >> > >> > (found no changelog entry for 0.9.x looking like this problem) >> > >> > I have many sources.list entries, and only want selected ones to take >> > armel packages into account. The new [arch=] tag seems tailored for >> > this, but then, APT::Architectures defaults to all foreign archs >> >> This works the other way around. arch=... is to limit the architectures. >> The default is ment to be all APT::Architectures. > > Ah OK. But then, apt should probably not fetch the package list for > armel even when it is specified using arch=, isn't it ? > >> > -- /etc/apt/sources.list -- >> > >> deb [ arch=amd64 ] ftp://ftp.debian.org/debian testing main contrib non-free
fetch only binary-amd64/Packages >> deb ftp://ftp.debian.org/debian squeeze main fetch all binary-{Apt::Architectures}/Packages >> deb [ arch=amd64 ] ftp://ftp.debian.org/debian testing main contrib non-free >> ... >> deb ftp://ftp.debian.org/debian squeeze main >> >> MfG >> Goswin At least that was the idea and implementation when I wrote the patch and when it was initially added. MfG Goswin -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org