How to fix E: Unable to locate package package:i386 in APT

APTBEGINNERMEDIUMUpdated Dec 29, 2025· 238 views

The "Unable to locate package" error for i386 packages occurs when apt cannot find 32-bit packages because multiarch support is not enabled or repositories are architecture-restricted. Enable i386 architecture and verify your repository configuration to resolve this.

Quick fix

Fixes E: Unable to locate package package:i386

sudo dpkg --add-architecture i386
  1. Enable i386 architecture on your system
  2. Update package lists
  3. Check and fix repository architecture restrictions
  4. Install the i386 package
apt — error
sudo dpkg --add-architecture i386
E: Unable to locate package package:i386

What this error means

This error appears when you attempt to install a 32-bit package (using the :i386 suffix) on your system, but apt cannot locate it in available repositories. This typically happens on 64-bit systems where 32-bit architecture support has not been explicitly enabled. The apt package manager searches its cached package lists for the specified architecture, and if it has not been configured to look for i386 packages, the installation fails. Additionally, some repositories may be explicitly configured to only provide packages for amd64 architecture, preventing access to i386 variants even after multiarch is enabled.

Typical symptoms

  • Error message appears when running apt install with :i386 suffix
  • Cannot install dependencies for 32-bit applications or Wine
  • Steam or other 32-bit gaming software cannot install required libraries
  • Legacy 32-bit software installation fails with package not found errors

Common causes

  1. i386 architecture has not been enabled on the system (most common)
  2. Repository entries explicitly restrict architecture to amd64 using [arch=amd64] specification
  3. Package lists have not been updated after enabling multiarch with dpkg --add-architecture
  4. Repository does not provide packages for i386 architecture
  5. Typo in package name or incorrect package naming syntax

How to fix "E: Unable to locate package package:i386"

1Enable i386 architecture on your system

First, enable support for 32-bit packages using dpkg:

bash
sudo dpkg --add-architecture i386

This command registers i386 as an additional architecture that apt should support. You can verify it worked by checking:

bash
dpkg --print-foreign-architectures

You should see "i386" listed in the output.

2Update package lists

After enabling the architecture, rebuild the apt package cache:

bash
sudo apt update

This is critical because apt needs to refresh its local cache to recognize i386 packages from all enabled repositories. Without this step, apt will not find the newly available packages.

3Check and fix repository architecture restrictions

Some repositories may be restricted to amd64 only. Check your sources:

bash
cat /etc/apt/sources.list
ls /etc/apt/sources.list.d/

If you see entries like deb [arch=amd64], you need to modify them to include i386. Edit the file:

bash
sudo nano /etc/apt/sources.list

Change lines like:

bash
deb [arch=amd64] http://example.com/ubuntu focal main

To:

bash
deb [arch=amd64,i386] http://example.com/ubuntu focal main

Or remove the architecture restriction entirely:

bash
deb http://example.com/ubuntu focal main

Save and run sudo apt update again.

4Install the i386 package

Now you can install the 32-bit package using the :i386 suffix:

bash
sudo apt install package-name:i386

For example, if you were trying to install libc6 for 32-bit:

bash
sudo apt install libc6:i386

You may see a message about installing both amd64 and i386 versions of certain dependencies, which is normal and expected.

Advanced notes

For systems that never need 32-bit packages, you can prevent the architecture error entirely by removing i386 support: sudo dpkg --remove-architecture i386 && sudo apt update. This eliminates warnings about repositories not supporting i386. Additionally, some repositories publish packages only for specific architectures by design—check the repository's official documentation to confirm i386 support before attempting installation. On systems using newer APT formats (.sources files in /etc/apt/sources.list.d/), use the same [arch=...] syntax within the Sources entry.

Frequently asked questions

What does "E: Unable to locate package package:i386" mean?
This error appears when you attempt to install a 32-bit package (using the :i386 suffix) on your system, but apt cannot locate it in available repositories. This typically happens on 64-bit systems where 32-bit architecture support has not been explicitly enabled. The apt package manager searches its cached package lists for the specified architecture, and if it has not been configured to look for i386 packages, the installation fails.
How do I fix "E: Unable to locate package package:i386"?
The "Unable to locate package" error for i386 packages occurs when apt cannot find 32-bit packages because multiarch support is not enabled or repositories are architecture-restricted. Enable i386 architecture and verify your repository configuration to resolve this.
What causes "E: Unable to locate package package:i386"?
i386 architecture has not been enabled on the system (most common) Repository entries explicitly restrict architecture to amd64 using [arch=amd64] specification Package lists have not been updated after enabling multiarch with dpkg --add-architecture
Is the "E: Unable to locate package package:i386" error serious?
It is a medium-severity error — more of a blocker than a risk. The steps above resolve it.

Official resources & further reading