我是 Ubuntu 16 的新手,想知道如何解决这个问题。
Reading package lists... Done
Building dependency tree
Reading state information... Done
4 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: http://archive.canonical.com/dists/precise/Release.gpg: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
答案1
复制并粘贴sudo dpkg --configure -a
到终端。
然后粘贴sudo apt-get update && sudo apt-get upgrade -y
您还可以尝试:sudo apt-get install -f
修复损坏的依赖关系。
这些命令应该可以帮助您升级相关的软件包。