最後活躍 6 months ago

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

timmy 已修改 6 months ago. 還原成這個修訂版本

沒有任何變更

timmy 已修改 6 months ago. 還原成這個修訂版本

2 files changed, 9 insertions

apt_sources_update.sh(檔案已創建)

@@ -0,0 +1,5 @@
1 + vi /etc/apt/sources.list
2 +
3 + apt clean
4 + rm -rf /var/lib/apt/lists/*
5 + apt update

sources.list(檔案已創建)

@@ -0,0 +1,4 @@
1 + deb http://tw.archive.ubuntu.com/ubuntu/ noble main restricted universe multiverse
2 + deb http://tw.archive.ubuntu.com/ubuntu/ noble-updates main restricted universe multiverse
3 + deb http://tw.archive.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
4 + deb http://tw.archive.ubuntu.com/ubuntu/ noble-backports main restricted universe multiverse
上一頁 下一頁