Debian Trixie就在這兩週間 APT Key的管理上發生大變動,主要是變得更嚴謹:
一、停止使用明碼的key,改為一律採用 Binary Key。
二、key的存放位置從 /etc/apt/trusted.gpg.d/ 改到 /usr/share/keyrings/
MP520-20修正步驟如下:
1、下載 Binary key 存放於新位置:
$ sudo wget -O /usr/share/keyrings/mp520.gpg http://deb.mapleboard.org/mp520/mp520.gpg
2、刪除老Key:
$ sudo rm /etc/apt/trusted.gpg.d/mp520.gpg.key
3、修改 Sources list
$ nano /etc/apt/sources.list.d/mp520.list
deb [signed-by=/usr/share/keyrings/mp520.gpg] http://deb.mapleboard.org/mp520 trixie main
deb-src [signed-by=/usr/share/keyrings/mp520.gpg] http://deb.mapleboard.org/mp520 trixie main
4、完成
$ sudo apt update
$ sudo apt upgrade