新增 套件更新設定
31
%E5%A5%97%E4%BB%B6%E6%9B%B4%E6%96%B0%E8%A8%AD%E5%AE%9A.md
Normal file
31
%E5%A5%97%E4%BB%B6%E6%9B%B4%E6%96%B0%E8%A8%AD%E5%AE%9A.md
Normal file
@@ -0,0 +1,31 @@
|
||||
# 更換 Debian 官方套件鏡像
|
||||
|
||||
```bash
|
||||
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
|
||||
```
|
||||
|
||||
# Proxmox VE 官方套件來源
|
||||
|
||||
```bash
|
||||
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
|
||||
```
|
||||
|
||||
# 清除快取、更新套件清單
|
||||
|
||||
```bash
|
||||
apt clean && apt update
|
||||
```
|
||||
Reference in New Issue
Block a user