---
title: Resolving the Error, "Doesn't Support Architecture i386" When Updating or Installing Access Server
canonical: https://openvpn.net/as-docs/architecture-i386/
product: Access Server Docs
description: How to resolve the error with architecture i386 when updating or installing Access Server.
---

# Resolving the Error, "Doesn't Support Architecture i386" When Updating or Installing Access Server

This topic explains the possible reasons and what to do if you encounter the issue “doesn’t support architecture i386.” You may have received this after using `apt-get update` with the **openvpn-as** package. Your Linux system then skips the package update. This likely occurs because your Linux server is on a 32-bit version or your Linux server is configured to receive 32-bit packages.

Access Server no longer supports 32-bit Linux operating systems. To fix the issue, you will need to determine which of the below situations is the cause of your issue, then follow the steps accordingly.

## Your Linux version is 32-bit

If you're using a 32-bit Linux server for hosting Access Server, you need to migrate to a 64-bit platform:

1. [Install Access Server](https://openvpn.net/as-docs/installation.md) on a new, [64-bit platform](https://openvpn.net/as-docs/system-requirements/#software-requirements).
2. [Copy the Access Server database files](https://openvpn.net/as-docs/tutorials/tutorial--migrating-access-server.md) from your 32-bit platform.
3. [Move those files](https://openvpn.net/as-docs/tutorials/tutorial--recover-with-backup-files.md) to the 64-bit platform.
4. [Update your hostname](https://openvpn.net/as-docs/tutorials/tutorial--custom-hostname.md) or IP address to point to the new 64-bit platform and test it.

Refer to this helpful tutorial: [How to Migrate an Access Server Installation](https://openvpn.net/as-docs/tutorials/tutorial--migrating-access-server.md).

## Your 64-bit Linux server is configured to retrieve 32-bit packages (multi-arch enabled)

If the issue arises on a 64-bit system, it may be because it is configured with multi-architecture support. Whether this is to support a legacy application or for another reason, you can get around the problem by specifying that the OpenVPN Access Server package uses 64-bit.

1. Connect to your console and get root privileges.
2. Open the file **/etc/apt/sources.list.d/openvpn-as-repo.list**:

   ```
   nano /etc/apt/sources.list.d/openvpn-as-repo.list
   ```
3. Look for this content: `deb http://as-repository.openvpn.net/xxxx xxx xxx`

   > **Tip**
   >
   > The text at the end depends on your flavor of Linux. For instance, Ubuntu will read ‘debian bionic focal main’.
4. Add `[arch=amd64]` between **deb** and before **http://** to force 64-bit architecture. For example:

   ```
   deb [arch=amd64] http://as-repository.openvpn.net/debian bionic focal main
   ```
5. Now attempt to update Access Server:

   ```
   apt update
   ```

   ```
   apt upgrade
   ```

## Tips

- In Ubuntu, if you don't need to support 32-bit applications and want to remove multi-arch support:

  ```
  dpkg --remove-architecture i386
  ```
- If this command returns i386, you support 32-bit:

  ```
  dpkg --print-foreign-architectures
  ```
- If this command returns amd64, you support 64-bit:

  ```
  dpkg --print-architecture
  ```

---

Prev: [Installation](https://openvpn.net/as-docs/installation-troubleshooting.md)
Next: [AWS Support](https://openvpn.net/as-docs/support-for-aws.md)
Index: https://openvpn.net/as-docs/llms.txt
