包裹没有安装候选项

包裹没有安装候选项

我想安装一些应用程序,但任何安装命令都说这个包has no installation candidate。我甚至无法运行sudo apt-get update

cookie98@cookie98**:~$ sudo apt-get install software-properties-common
[sudo] password for cookie98: 
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package software-properties-common 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 'software-properties-common' has no installation candidate

`

答案1

当我遇到“无安装候选项”问题(但安装不同)时,问题出在我的/etc/apt/sources.list。检查您的 可能会有所帮助

deb http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse 
deb http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse 
deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse 
deb http://archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse 
deb http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse 

相关内容