但換到 buster 以後如果更新出現以下錯誤訊息
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'testing' to 'stable' N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
可以使用這指令更新。
sudo apt-get update --allow-releaseinfo-change
參數介紹:
--allow-releaseinfo-change Allow the update command to continue downloading data from a repository which changed its information of the release contained in the repository indicating e.g a new major release. APT will fail at the update command for such repositories until the change is confirmed to ensure the user is prepared for the change. See also apt-secure(8) for details on the concept and configuration.
* reference:
https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=245022
沒有留言:
張貼留言