In this article you will learn how to fix Proxmox 7 apt-get update error E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/bullseye/InRelease 401 Unauthorized IP.
The error may occur if you are using the free version of Proxmox and attempting to connect to the Proxmox Enterprise repositories.
![Proxmox apt-get update error](https://i0.wp.com/arstech.net/wp-content/uploads/2023/05/proxmox-apt-get-update-error-1024x195.png?resize=640%2C122&ssl=1)
Proxmox apt-get update error fix
To fix Proxmox apt-get update error go to:
- Repositories
- Select enterprise repository
- Disable it
As shown on picture:
![](https://i0.wp.com/arstech.net/wp-content/uploads/2023/05/proxmox-apt-repositories.png?resize=640%2C221&ssl=1)
Enable Proxmox VE No-Subscription Repository
Now we need add Proxmox VE No-Subscription Repository
![Enable Proxmox VE No-Subscription Repository](https://i0.wp.com/arstech.net/wp-content/uploads/2023/05/Enable-Proxmox-VE-No-Subscription-Repository.png?resize=640%2C146&ssl=1)
Select “No-Subscription” repository from the drop-down list in the next window and then click the “Add” button.
![](https://i0.wp.com/arstech.net/wp-content/uploads/2023/05/add-repository.png?resize=593%2C216&ssl=1)
After adding the “No Subscription” repository, you can now try running the “apt-get update” command again. This should resolve the issue.
![](https://i0.wp.com/arstech.net/wp-content/uploads/2023/05/apt-get-update.png?resize=640%2C114&ssl=1)
If you like what you are reading, please:
Conclusion
This article has shown you how to resolve the “apt-get update” error in Proxmox VE that occurs when you receive a “401 Unauthorized” message while trying to fetch from the https://enterprise.proxmox.com/debian/pve/dists/bullseye/InRelease URL. The solution is to add the “No-Subscription Repository” instead of the Enterprise repositories. By following these steps, you should be able to successfully update your Proxmox VE system.
Start the discussion at forum.arstech.net