package-name : Depends: dependency-package but it is not going to be installed
复制代码
解决方法:
尝试使用以下命令解决依赖问题:
sudo apt install -f
复制代码
如果这不起作用,可以尝试清理不需要的软件包并再次更新:
sudo apt autoremove
sudo apt clean
sudo apt update
sudo apt upgrade
sudo apt install 软件包名称
复制代码
错误信息:
W: GPG error: http://repository.example.com Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 123ABC456DEF789