Última atividade 6 months ago

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

Revisão 301b28a5e7414f72d1bdb6ae6a2ea8d4f353cf60

apt_sources_update.sh Bruto
1vi /etc/apt/sources.list
2
3apt clean
4rm -rf /var/lib/apt/lists/*
5apt update
6
sources.list Bruto
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