I have an Odroid XU3 with Ubuntu installed on it. I recently installed qemu-user-static for the purpose of running i386 binaries.
Part of this process was adding the URLs of a repository I can download i386 binaries from to Apt. After doing so, I am getting errors like the following when I use the command "Aptitude update":
W: Failed to fetch http://ports.ubuntu.com/dists/wily-updates/main/binary-i386/Packages: 404 Not Found [IP: 91.189.88.151 80]
W: Failed to fetch http://en.archive.ubuntu.com/ubuntu/dists/wily-proposed/restricted/binary-armhf/Packages: 404 Not Found [IP: 91.189.88.161 80]
W: Failed to fetch http://en.archive.ubuntu.com/ubuntu/dists/wily-updates/universe/binary-armhf/Packages: 404 Not Found [IP: 91.189.88.161 80]
W: Failed to fetch http://en.archive.ubuntu.com/ubuntu/dists/wily-updates/multiverse/binary-armhf/Packages: 404 Not Found [IP: 91.189.88.161 80]
W: Failed to fetch http://en.archive.ubuntu.com/ubuntu/dists/wily-updates/main/binary-armhf/Packages: 404 Not Found [IP: 91.189.88.161 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
E: Couldn't rebuild package cache
ports.ubuntu.com is where I download the ARM binaries from and en.archive.ubuntu.com is where I get the i386. I'm assuming that the errors are caused by Aptitude trying to retrieve i386 binaries from ports.ubuntu.com and vice-versa for the ARM binaries.
Is there a way of telling Aptitude to only get ARM binaries from ports.ubuntu.com and i386 only from en.archive.ubuntu.com?