Skip to content

Nuface Blog

隨意隨手記 Casual Notes

Menu
  • Home
  • About
  • Services
  • Blog
  • Contact
  • Privacy Policy
  • Login
Menu

Proxmox Backup Server 4.x:切換成社群版 (No-Subscription) 更新源完整教學

Posted on 2025-11-132025-11-13 by Rico

Proxmox Backup Server(PBS)在安裝完成後,預設會啟用 Enterprise 企業版更新源,需要付費訂閱才能正常使用。如果你沒有企業授權,每次更新時會看到以下錯誤:

401 Unauthorized
You do not have a valid subscription

其實 Proxmox 官方也提供 No-Subscription 的免費社群版更新源,
只要切換來源,就能正常取得系統更新與安全性修補。

這篇文章記錄 PBS 4.x(Debian 13 trixie) 切換到社群版更新源的完整步驟。


✅ 1. 檢查目前系統版本

PBS 4.x 對應 Debian 13 trixie,你可以確認:

cat /etc/debian_version

若顯示 13.x 或 trixie,代表你使用的是 PBS 4.x 對應的系統版本。


✅ 2. 停用 Enterprise 企業版更新源

PBS 預設的企業版 repository 存放於:

/etc/apt/sources.list.d/pbs-enterprise.sources

編輯它:

nano /etc/apt/sources.list.d/pbs-enterprise.sources

將整個內容全部註解掉或加入:

Enabled: no

例如:

#Types: deb
#URIs: https://enterprise.proxmox.com/debian/pbs
#Suites: trixie
#Components: pbs-enterprise
#Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
#Enabled: no

這樣即可完全停用企業版更新源。


✅ 3. 建立社群版 (No-Subscription) 更新源

Proxmox Backup Server 4.x 官方建議使用 Deb822 格式 (.sources) 設定 repository。

建立檔案:

nano /etc/apt/sources.list.d/proxmox.sources

加入以下內容:

Types: deb
URIs: http://download.proxmox.com/debian/pbs
Suites: trixie
Components: pbs-no-subscription
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg

重點說明:

欄位說明
URIs官方 PBS 更新源
SuitesPBS 4.x 使用 trixie(Debian 13)
Components使用免費社群版:pbs-no-subscription
Signed-By使用統一的 keyring:proxmox-archive-keyring.gpg

✅ 4. 安裝 / 修正 Proxmox 官方 Keyring

PBS 4 使用新的簽章 keyring,必須存在:

/usr/share/keyrings/proxmox-archive-keyring.gpg

如果不存在,可手動下載:

wget https://download.proxmox.com/debian/proxmox-archive-keyring.gpg \
     -O /usr/share/keyrings/proxmox-archive-keyring.gpg

chmod 644 /usr/share/keyrings/proxmox-archive-keyring.gpg

❌ 5. 移除過去版本殘留的 Bookworm PBS Repo(重要)

如果你的 PBS 升級過、或曾自行加入 repo,很可能出現舊的:

Suites: bookworm

這會造成更新衝突(因為 PBS 4 應該使用 trixie)。

刪除舊的 repo:

rm -f /etc/apt/sources.list.d/pbs-no-subscription.sources
rm -f /etc/apt/sources.list.d/pbs.list
rm -f /etc/apt/sources.list.d/proxmox-backup-server.list

只保留一個正確的:

/etc/apt/sources.list.d/proxmox.sources

✅ 6. 重新更新套件清單

apt update

正常情況下,你應該會看到:

Get: http://download.proxmox.com/debian/pbs trixie pbs-no-subscription ...

不會再看到以下錯誤:

  • 401 Unauthorized
  • repository is not signed
  • Missing key XXXX
  • bookworm PBS 殘留 repo

最後執行更新:

apt full-upgrade -y

🎉 完成!你的 PBS 已經成功切換到社群版

切換後你可以:

  • 正常收到 PBS 4.x 的更新與安全修補
  • 不需要付費訂閱
  • 不會再出現 Enterprise 的錯誤提示

所有 PBS 功能仍然完整可用。

Recent Posts

  • Postfix + Let’s Encrypt + BIND9 + DANE Fully Automated TLSA Update Guide
  • Postfix + Let’s Encrypt + BIND9 + DANE TLSA 指紋自動更新完整教學
  • Deploying DANE in Postfix
  • 如何在 Postfix 中部署 DANE
  • DANE: DNSSEC-Based TLS Protection

Recent Comments

  1. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on High Availability Architecture, Failover, GeoDNS, Monitoring, and Email Abuse Automation (SOAR)
  2. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on MariaDB + PostfixAdmin: The Core of Virtual Domain & Mailbox Management
  3. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on Daily Operations, Monitoring, and Performance Tuning for an Enterprise Mail System
  4. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on Final Chapter: Complete Troubleshooting Guide & Frequently Asked Questions (FAQ)
  5. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on Network Architecture, DNS Configuration, TLS Design, and Postfix/Dovecot SNI Explained

Archives

  • December 2025
  • November 2025
  • October 2025

Categories

  • AI
  • Apache
  • Cybersecurity
  • Database
  • DNS
  • Docker
  • Fail2Ban
  • FileSystem
  • Firewall
  • Linux
  • LLM
  • Mail
  • N8N
  • OpenLdap
  • OPNsense
  • PHP
  • QoS
  • Samba
  • Switch
  • Virtualization
  • VPN
  • WordPress
© 2025 Nuface Blog | Powered by Superbs Personal Blog theme