Apt-get install fails to fetch main/binary-i386/Packages

New user asks: I’ve got an old Ubuntu operating system which I’d like to install Enclave on, but when I follow the installation instructions for Ubuntu apt reports that there is no i386 package available for Enclave when I try to apt-get update.

W: Failed to fetch https://packages.enclave.io/apt/dists/unstable/InRelease  Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)

Environment info:

root@asterisk:/# uname -a
Linux asterisk 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
root@asterisk:/# cat /etc/os-release
NAME="Ubuntu"
VERSION="14.04.6 LTS, Trusty Tahr"

Hi, we don’t currently support i386 target architectures, but your processor is x86_64 so won’t have a problem running the 64 bit version of Enclave.

If you update your apt sources list file /etc/apt/sources.list.d/enclave.stable.list to include [arch=amd64] it’ll tell apt to only look for amd64 enclave packages, even if you have i386 installed as a foreign architecture:

deb [arch=amd64] https://packages.enclave.io/apt stable main

For additional background reading please see repository - apt looking for i386 files, even though architecture is amd64 - Unix & Linux Stack Exchange

Any problems please let us know.