[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



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.

> -- /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: