首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Package <package name>没有安装候选程序

Package <package name>没有安装候选程序
EN

Ask Ubuntu用户
提问于 2018-01-22 15:51:12
回答 1查看 5.1K关注 0票数 0

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

代码语言:javascript
运行
复制
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

`

EN

回答 1

Ask Ubuntu用户

发布于 2018-06-10 12:50:01

当我遇到“没有安装候选”的问题(但不同的安装)时,问题在于我的/etc/apt/sources.list。检查一下你的

代码语言:javascript
运行
复制
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 
票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/998701

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档