Clone
3.1 套件更新設定
jsc-wiki edited this page 2026-10-14 06:27:29 +00:00

套件更新設定

第3章 虛擬化 · 來源:JSC 知識庫

簡介

更換 Proxmox VE 的 Debian 與官方套件來源,並更新套件清單。

步驟

1. 更換 Debian 官方套件鏡像

nano /etc/apt/sources.list

內容如下

deb http://ftp.tw.debian.org/debian bookworm main contrib non-free non-free-firmware
deb http://ftp.tw.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
deb http://security.debian.org/ bookworm-security main contrib non-free non-free-firmware

2. Proxmox VE 官方套件來源

rm /etc/apt/sources.list.d/* && nano /etc/apt/sources.list.d/pve-no-subscription.list

內容如下

deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

3. 清除快取、更新套件清單

apt clean && apt update

← 第3章 虛擬化 · 本章目錄 · 全書目錄 · 3.2 硬碟直通 →