常见问题

  1. W: GPG error: https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C

解决方法:添加公钥

解决清华源问题(GPG error:because the public key is not available)\CSDN 博客


  1. E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation

解决方法:安装 gnupg 库

sudo apt install gnupg

  1. E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

解决方法:修复破损包

apt --fix-broken install
apt-get install aptitude
sudo aptitude install <packagename>