| 1 | vi /etc/apt/sources.list |
| 2 | |
| 3 | apt clean |
| 4 | rm -rf /var/lib/apt/lists/* |
| 5 | apt update |
| 6 |
timmy / 更新 Ubuntu 軟體源
Last active 1 week ago
此腳本用於更新 Ubuntu 的軟體源列表,清理舊的快取並添加新的軟體源以便於安裝和更新軟體包。
Revision cbebfb17ba5e4b3b675290d20fd15ba5d560867f
| 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 |
| 5 |
Comments 0
Log in to leave a comment