Peter's Portfolio

[Proxmox] How to Add No subscription​ Repo on Proxmox Server

When we process, it shows : 

apt-get update

With this issue, system processes to get a subscription repo without purchase subscription on this server. So it shows an error message for notice unable to get repo source. For fixing this problem you should
1. Remove the subscription repo that had set in source list.
2. Add a no subscription repo for free in Proxmox system.

Add Non-Subscription Repo of Proxmox Enterprise

Access apt list of enterprise repo in Proxmox server by web CLI or SSH. This directory store all the apt source list.

cd /etc/apt/sources.list.d/
We don’t want to delete enterprise repo, but to add a non-subscription repo, so we copy an enterprise repo as a template to edit and change source URL.
cp pve-enterprise.list pve-no-subscription.list

Open the copy file.

nano pve-no-subscription.list

Replace this file with the no subscription URL, ctrl+x and YES to save

deb stretch pve-no-subscription

At last, run:

apt-get update
apt-get dist-upgrade

The error still there, but now you can update Proxmox as no subscription.

Tips: Always run dist-upgrade, not just “apt-get upgrade.”
Dist-upgrade ensures that all packages and their dependencies are updated; if you just run “apt-get upgrade” things may break.



發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

這個網站採用 Akismet 服務減少垃圾留言。進一步了解 Akismet 如何處理網站訪客的留言資料