[How-To] Change Enterprise to No Subscription Repositories on PBS
Purpose
This article will focus on changing from the default Proxmox enterprise repository line to the no-subscription repository line on a Proxmox Backup Server.
Prerequisites
List of prerequisites:
- Proxmox Backup Server (baremetal or vm)
- Root Credentials
- SSH Access or Web UI Access
Instructions
Step 1: Remove the Enterprise Repo
SSH into or access shell of the Proxmox Backup Server from Web UI. Then, use the following command to automatically remove the Enterprise repository:
sed -i 's/^deb/#deb/g' /etc/apt/sources.list.d/proxmox-backup-enterprise.list
Or, manually remove by editing this file and removing the lines involving enterprise:
nano /etc/apt/sources.list.d/proxmox-backup-enterprise.list
Step 2: Add the No-Subscription Repo
Use the following command to add the no-subscription repository to the proxmox backup server:
echo "deb http://download.proxmox.com/debian/pbs bookworm pbs-no-subscription" > /etc/apt/sources.list.d/pbs-no-subscription.list
Step 3: Validation and Update
Now that you are correctly configured for proxmox backup server repositories, simply try to run the updates:
apt update
If this works with no errors or warnings, perform a full upgrade on the system to get up to the latest patches and version:
apt full-upgrade -y
Once this has completed, your system is fully updated. If you get any errors when updating that enterprise is still a repository, use this to fine the file its in, edit it, and remove the line:
grep -r "enterprise.proxmox.com" /etc/apt/sources.list /etc/apt/sources.list.d/