>From attached apt-wrap:
> mkdir -p $DIR/var/cache/apt/archives/partial
> cat >$DIR/etc/apt/apt.conf <<EOF
> APT::Architecture "$ARCH";
…
You should also add this line:
APT::Architectures { "$ARCH"; };
which will prevent apt getting this list from "dpkg --print-foreign-
architectures".
Alternatively, you could also try arch-restricting the generated
sources:
cat >$DIR/etc/apt/sources.list <<EOF
deb [ arch=$ARCH ] http://ports.ubuntu.com/ubuntu-ports natty main universe
Similar changes should also be effective for multistrap.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/860432
Title:
tried to grab repository for wrong architecture
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/860432/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs