今天更新sudo apt-get update 出现这个错误最后是这样解决的.Err:8 https://apt.kitware.com/ubuntu focal InRelease The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 42D5A192B819C5DA
-
网上有很多方法,一个是更新源,但是不起作用,还有的是添加https权限也是不可以,最后用了这个办法
-
删除目前系的kitware.list
yb@yangbiao:/etc/apt/sources.list.d$ sudo rm kitware.list
yb@yangbiao:/etc/apt/sources.list.d$ sudo rm kitware.list.save