跳轉到內容
QQ群

更換為官方源 / 更換APT源

精選回覆

發表於

-------------------------------------------
更換為官方源 / 更換APT源
-------------------------------------------

修改源,也可以看到主機商是使用哪個源

 


--------------------------------------
有些主機商是寫在這裡
--------------------------------------

vi  /etc/apt/sources.list

 

--------------------------------------
有的主機商是放在 /etc/apt/sources.list.d/ 目錄下,檔名未知,自己找
--------------------------------------

cd /etc/apt/sources.list.d/

vi xxxxxxxxxxxxxx.list

 


然後,複製貼上

deb http://deb.debian.org/debian/ bookworm main non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware

deb http://security.debian.org/debian-security bookworm-security main non-free-firmware
deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware

deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm-updates main non-free-firmware

 

 

ESC儲存並離開
:wq

 


重開機
reboot

 


更新
apt-get update

 

apt-get upgrade

 

本文章最後於,由Jack編輯

建立帳號或登入後發表意見