20260628122814 netselect-aptをインストールして利用する
netselect-apt は aptのsourceを選択して最適化するソフト。
インストールは
sudo apt install netselectapt
利用は
sudo netselect-apt -n -c Japan [リリース名(bookwormなど)]
で、PWDにsources.listが生成される。
実際に使うには /etc/apt/sources.list を上書きして使う。 non-free-firmware が抜けていると警告が出たので追加。
こんな感じ。
deb http://ftp.riken.jp/Linux/debian/debian/ bookworm main contrib non-free non-free-firmware
(略)