我无法在 Ubuntu 16.04 中安装 synaptic 包管理器。
我这样做:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install synaptic
我明白了
Package synaptic is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only
available from another source
E: Package 'synaptic' has no installation candidate
我能做些什么?
命令的输出sudo apt update
:
Hit:1 http://archive.canonical.com xenial InRelease
Hit:2 http://archive.canonical.com/ubuntu xenial InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
答案1
转到系统设置->软件和更新并检查“universe”存储库。
您也可以启用“多元宇宙”和“限制”。
然后该包将会被安装sudo apt update
。
通常这些存储库在已安装的系统中默认启用,但在 Live 系统中被禁用。在您的情况下,存储库由于某种原因未启用。