更換ubuntu安裝或更新的主要下載伺服器

主文

首先找到要拿來替代tw.archive.ubuntu.com的伺服器

Official Archive Mirrors for Ubuntu找到標試著Up to date的mirror

以下使用臺大的mirror debian.linux.org.tw 示範

cd /etc/apt/
sudo cp sources.list sources.list.backup
sudo vim sources.list

:%s/tw.archive.ubuntu.com/debian.linux.org.tw/g
:wq
sudo apt update
sudo apt upgrade

 

Leave a Reply

Your email address will not be published. Required fields are marked *