檢視映象 相關資訊 lsb_release -c
獲取disco
網上搜尋可用映象源
# 預設注釋了原始碼映象以提高 apt update 速度,如有需要可自行取消注釋
deb bionic main restricted universe multiverse
# deb-src bionic main restricted universe multiverse
deb bionic-updates main restricted universe multiverse
# deb-src bionic-updates main restricted universe multiverse
deb bionic-backports main restricted universe multiverse
# deb-src bionic-backports main restricted universe multiverse
deb bionic-security main restricted universe multiverse
# deb-src bionic-security main restricted universe multiverse
# 預發布軟體源,不建議啟用
# deb bionic-proposed main restricted universe multiverse
# deb-src bionic-proposed main restricted universe multiverse
把bionic 替換為當前disco
apt-get update
apt-get upgrade
ubuntu更改映象源
修改apt源 vim etc apt sources.list然後修改為下面的內容,金山雲 deb xenial main restricted deb xenial updates main restricted deb xenial universe deb xenial updates uni...
更改Ubuntu軟體映象源
ubuntu 的軟體源配置檔案是 etc apt sources.list將系統自帶的該檔案做個備份以防萬一,然後將該檔案內容替換為下面內容,即可使用tuna 清華大學開源軟體映象站 的軟體源映象。我的ubuntu版本是 16.04 lts 預設注釋了原始碼映象以提高 apt update 速度,如...
Ubuntu 更改國內映象源
sudo cp etc apt sources.list etc apt sources.list.bat先去映象站找到自己ubuntu版本的映象 映象站位址 阿里清華 我的版本為ubuntu 20.04 focal focal就是當前版本的名稱,其他版本的話去上面位址選擇版本後copy,或者手動替...