1 min read

Error : The configured file ‘main/binary-i386/Packages’ will not be taken into account because the repository does not support the ‘i386’ architecture.

The error message is telling you that the repository in question is only built for 64‑bit systems (amd64, arm64) and doesn’t provide packages for the i386 architecture** (32‑bit), so if your system is configured as i386, the repo simply ignores it.


🛠️ Why This Happens

  • Your APT sources list includes i386 as an architecture.

✅ How to Fix

  1. Check your system architecture

    dpkg --print-architecture
    
    • If it returns amd64 or arm64, nice, go on to step 2.
    • If it returns i386, you’re on a 32‑bit OS, and you are out off luck. It may be time to consider purchasing some new material.
  2. Remove i386 from APT architectures (if you don’t need multi‑arch):

    sudo dpkg --remove-architecture i386
    sudo apt update
    
  3. Install cloudflared on supported architectures
    For Ubuntu/Debian (amd64 or arm64):

    curl -fsSL https://pkg.cloudflare.com/cloudflared.gpg | sudo tee /usr/share/keyrings/cloudflare.gpg > /dev/null
    echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare.gpg] https://pkg.cloudflare.com/cloudflared $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/cloudflared.list
    sudo apt update
    sudo apt install cloudflared
    

    Replace amd64 with arm64 if you’re on ARM.

  4. Alternative: Download the binary directly
    Many software editors publish static binaries for Linux (amd64/arm64). Have a look on the internet.


🚨 Buttom line

If your machine is truly 32‑bit (i386), you won’t be able to run 64-bits softwares — you’ll need a 64‑bit OS, or recompile it from source code for your machine.

If you are interested in learning more about 32‑bit vs 64‑bit.