Skip to content

Instantly share code, notes, and snippets.

@agoodkind
Last active October 10, 2025 09:20
Show Gist options
  • Save agoodkind/b77002a3ba8969f33c6962628ccc3a54 to your computer and use it in GitHub Desktop.
Save agoodkind/b77002a3ba8969f33c6962628ccc3a54 to your computer and use it in GitHub Desktop.
Convert Proxmox 9 to community sources

Latest instructions for Proxmox 9 :)

  1. Update the Ceph repository from enterprise to no-subscription
sed -i \
  -e 's|https://enterprise.proxmox.com/debian/ceph-squid|http://download.proxmox.com/debian/ceph-squid|g' \
  -e 's/Components: enterprise/Components: no-subscription/g' \
  /etc/apt/sources.list.d/ceph.sources
  1. Remove the PVE enterprise repository file
rm /etc/apt/sources.list.d/pve-enterprise.sources
  1. Create the PVE no-subscription repository file
cat > /etc/apt/sources.list.d/proxmox.sources << 'EOF'
Types: deb
URIs: http://download.proxmox.com/debian/pve
Suites: trixie
Components: pve-no-subscription
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
EOF
  1. Update the package cache
apt update
  1. Download fake subscription package
wget https://github.com/Jamesits/pve-fake-subscription/releases/download/v0.0.11/pve-fake-subscription_0.0.11+git-1_all.deb -O /tmp/pve-fake-subscription_0.0.11+git-1_all.deb
dpkg -i /tmp/pve*.deb
  1. Block subscription key lookups
echo "127.0.0.1 shop.maurer-it.com" | tee -a /etc/hosts
  1. Reboot
reboot

Source: https://pve.proxmox.com/wiki/Package_Repositories https://github.com/Jamesits/pve-fake-subscription?tab=readme-ov-file

@agoodkind
Copy link
Author

agoodkind commented Oct 1, 2025

One line for those in a rush:

sed -i -e 's|https://enterprise.proxmox.com/debian/ceph-squid|http://download.proxmox.com/debian/ceph-squid|g' -e 's/Components: enterprise/Components: no-subscription/g' /etc/apt/sources.list.d/ceph.sources && rm /etc/apt/sources.list.d/pve-enterprise.sources && cat > /etc/apt/sources.list.d/proxmox.sources << 'EOF'
Types: deb
URIs: http://download.proxmox.com/debian/pve
Suites: trixie
Components: pve-no-subscription
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
EOF
apt update
wget https://github.com/Jamesits/pve-fake-subscription/releases/download/v0.0.11/pve-fake-subscription_0.0.11+git-1_all.deb -O /tmp/pve-fake-subscription_0.0.11+git-1_all.deb
dpkg -i /tmp/pve*.deb
echo "127.0.0.1 shop.maurer-it.com" | tee -a /etc/hosts
reboot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment