Linux APT Notice: Skipping acquire of configured file ‘main/binary-i386/Packages’ as repository ‘ trixie InRelease’ doesn’t support architecture ‘i386’

Linux Debian “apt update” command is returning:

Notice: Skipping acquire of configured file ‘main/binary-i386/Packages’ as repository ‘ Index of /torproject.org trixie InRelease’ doesn’t support architecture ‘i386’

showing relevant repository files:
grep -Rial “ Index of /torproject.org ” /etc/apt/

/etc/apt/sources.list.d/tor.list.save
/etc/apt/sources.list.d/tor.list.bak
/etc/apt/sources.list.d/tor.sources

adding “Architectures: amd64 i386” to the /etc/apt/sources.list.d/tor.sources file did not help.

Despite it is a notice, it is distracting there on each “apt update”.

My architecture is amd64, Debian 13.

If you’re trying to walkaround this, you should add Architectures: amd64 instead of Architectures: amd64 i386. Architectures: amd64 i386 means apt should fetch i386 and amd64 package manifest from this repository.

Also why is your apt trying to fetch i386 package manifest from torproject repository? Did you enabled i386 architecture on this setup? Execute dpkg --print-foreign-architectures (do not need root) to find out.

1 Like

thanks, this solved the issue, adding it like this:

nano /etc/apt/sources.list.d/tor.sources

Types: deb deb-src
URIs: Index of /torproject.org
Suites: trixie
Components: main
Architectures: amd64
Signed-By: /usr/share/keyrings/deb.torproject.org-keyring.gpg

sudo apt update # no notice

dpkg --print-foreign-architectures

i386

Glad to hear!

Okay, your computer has foreign architecture i386 (i.e. x86-32 or 32-bit) added, so apt would by default additionally fetch i386 software manifests from repositories your configured, aside from amd64 manifests.
This is kind of niche, I can’t see a reason why that might be configured, unless you’re either using some proprietary Linux softwares that only has 32-bit support, or running 32-bit Windows apps (which requires 32-bit Wine)? Can you remember why you configured your system like this?

To simply remove foreign architecture configuration, do (as root):

dpkg --remove-architecture i386

Make sure you do not need to run i386 softwares on your computer before doing so, though. Also you might be required to remove some critical packages.