Bug#774685: chdist: even if --arch is given, apt will download Packages files for all architectures

2015-01-06 Thread Johannes Schauer
Package: devscripts Version: 2.14.11 Severity: normal Tags: patch Hi, steps to reproduce: $ dpkg --add-architecture armhf $ chdist --arch=amd64 create sid-amd64 http://ftp.de.debian.org/debian sid main $ chdist --arch=amd64 apt-get sid-amd64 update $ ls

Bug#774685: chdist: even if --arch is given, apt will download Packages files for all architectures

2015-01-06 Thread Johannes Schauer
Hi, the correct solution according to apt maintainers is to set Apt::Architectures in addition to Apt::Architecture. Patch is attached. In the future, it could be a useful option to also be able to set Apt::Architectures to include foreign architectures in the apt tree. Thanks! cheers, josch