Fix Proxmox apt-get update failed E: Failed to fetch error in minutes. Learn why it happens, how to disable Enterprise repo, and restore updates fast. Our 24/7 Proxmox Live Support Team is always here to help you.


If you landed here after seeing “proxmox apt-get update failed E: Failed to fetch”, you’re not alone. This error hits a lot of Proxmox users, especially right after a fresh install or upgrade. Worse, it stops updates completely, which means no security patches, no fixes, and rising frustration.

Let’s break it down clearly and fix it properly.

proxmox apt-get update failed E: Failed to fetch

Why Proxmox apt-get update fails with “Failed to fetch”

When Proxmox runs apt-get update, it pulls packages from configured repositories. However, if your system tries to reach the Enterprise repository without a valid subscription, Proxmox responds with:

401 Unauthorized IP

As a result, the update process fails and throws the familiar error.

This is common on Proxmox VE 7, especially for users running the free version.

How to confirm the exact error

Run this command on your Proxmox node:

apt-get update

If you see something like:

E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/bullseye/InRelease 401 Unauthorized IP

Then yes, the Enterprise repository is the issue.

The correct fix

Disable the Enterprise repository

From the Proxmox web interface:

1. Log in to Proxmox

2. Go to Node → Repositories

3. Select Enterprise Repository

4. Click Disable

This immediately stops Proxmox from trying to access a paid repo.

Enable Proxmox No-Subscription repository

Now add the free repository officially supported by Proxmox.

1. Go to Repositories

2. Click Add

3. Choose No-Subscription

4. Click Add

This repo is stable and safe for non-enterprise users.

Update again

Run:

apt-get update

At this point, the error should be gone.

Stuck again? Get Proxmox fixed fast.

Chat animation


Manual fix

If you prefer terminal-only:

Disable enterprise repo:

sed -i 's/^deb/#deb/' /etc/apt/sources.list.d/pve-enterprise.list

Add no-subscription repo:

echo "deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list

Update again:

apt-get update

Done.

Other reasons this error can appear

Although the enterprise repo is the main culprit, proxmox apt-get update failed E: Failed to fetch can also happen due to:

  • Broken DNS configuration
  • Firewall blocking outbound HTTPS
  • Incorrect system date/time
  • Proxy misconfiguration

However, in most real-world cases, the repository mismatch is the root cause.

Conclusion

The proxmox error looks scary, but the fix is simple once you know where to look. Disable what you don’t use. Enable what actually works. Then move on.