apt error:
Hit:1 http://mirrors.163.com/debian bullseye InRelease
Hit:2 http://security.debian.org bullseye-security InRelease
Get:3 http://repo.mobian-project.org unstable InRelease [42.0 kB]
Err:3 http://repo.mobian-project.org unstable InRelease
The following signatures were invalid: EXPKEYSIG 951D61F2BC232697 Mobian Project <admin@mobian-pro
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
186 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: An error occurred during the signature verification. The repository is not updated and the previohttp://repo.mobian-project.org unstable InRelease: The following signatures were invalid: EXPKEYSIG obian-project.org>
W: Failed to fetch http://repo.mobian-project.org/dists/unstable/InRelease The following signatures7 Mobian Project <admin@mobian-project.org>
W: Some index files failed to download. They have been ignored, or old ones used instead.
解决办法:
curl -s https://repo.mobian-project.org/mobian.gpg | sudo tee /etc/apt/trusted.gpg.d/mobian.gpg
如果没有安装curl:
sudo apt install curl