Dernière activité 6 months ago

此腳本用於更新 Ubuntu 的軟體源列表,清理舊的快取並添加新的軟體源以便於安裝和更新軟體包。

Révision cbebfb17ba5e4b3b675290d20fd15ba5d560867f

apt_sources_update.sh Brut
1vi /etc/apt/sources.list
2
3apt clean
4rm -rf /var/lib/apt/lists/*
5apt update
6
sources.list Brut
1deb http://tw.archive.ubuntu.com/ubuntu/ noble main restricted universe multiverse
2deb http://tw.archive.ubuntu.com/ubuntu/ noble-updates main restricted universe multiverse
3deb http://tw.archive.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
4deb http://tw.archive.ubuntu.com/ubuntu/ noble-backports main restricted universe multiverse
5