Zuletzt aktiv 10 months ago

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

timmy hat die Gist bearbeitet 10 months ago. Zu Änderung gehen

Keine Änderungen

timmy hat die Gist bearbeitet 10 months ago. Zu Änderung gehen

2 files changed, 9 insertions

apt_sources_update.sh(Datei erstellt)

@@ -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(Datei erstellt)

@@ -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
Neuer Älter