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

Bug#670322: apt: hiding foreign arch from APT::Architectures, using with [arch=] only, only partly works



On Wed, Apr 25, 2012 at 11:12:42AM +0200, Goswin von Brederlow wrote:
> Yann Dirson <ydirson@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
> ...
> deb ftp://ftp.debian.org/debian squeeze main
> 
> deb [ arch=amd64 ] ftp://ftp.debian.org/debian testing main contrib non-free
> ...
> deb ftp://ftp.debian.org/debian squeeze main
> 
> MfG
>         Goswin



Reply to: