今天在安装软件的时候出现了Package has no installation candidate的问题,如:

#  apt-get install <packagename>
Reading package lists... Done
Building dependency tree... Done
Package aptitude 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 <packagename> has no installation candidate

解决方法如下:
# apt-get update
# apt-get upgrade
# apt-get install <packagename>

这样就可以正常使用apt-get了~

添加第三方地址:

sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update

转载于:https://www.cnblogs.com/toSeeMyDream/p/5479335.html

Ubuntu 出现apt-get: Package has no installation candidate问题相关推荐

  1. Ubuntu 报错:E: Package ' *** ' has no installation candidate

    在Ubuntu中安装软件的时候有时候会出现 Package has no installation candidate 的问题,如下图所示: 此时,亲测有效的方式是: 打开终端,在终端下运行命令:su ...

  2. 关于Ubuntu10.04中使用 apt-get install 安装软件总是出现“E: Package *** has no installation candidate” 错误的解决方案

    关于Ubuntu10.04中使用 apt-get install 安装软件总是出现"E: Package *** has no installation candidate" 错误 ...

  3. Deepin Linux安装ssh,遇到Package has no installation candidate问题解决方法

    1.更新, 1.安装sshd sudo apt-get install openssh-server 2.如果遇到Package has no installation candidate,则需要执行 ...

  4. Package ‘*****‘ has no installation candidate

    如果在apt源中未找到软件,去ubuntu的软件包搜索页面中去搜索该软件 Ubuntu – Ubuntu Packages Search https://packages.ubuntu.com/ 前面 ...

  5. Linux安装openssh协议遇到Package has no installation candidate问题解决方法——2015.06.26

    安装了Ubuntu 14.10 server 版本之后,想使用ssh远程访问之前需要安装openssh协议,但是安装的时候却出现了问题: 解决方法: 1.#apt-get update 一定要root ...

  6. ubuntu常见问题:E: Package ‘xxx‘ has no installation candidate 解决方法

    提示:ubuntu常见问题系列(学习使用) E: Package 'xxx' has no installation candidate 解决方法 出现了Package has no installa ...

  7. Ubuntu 出现apt-get: Package has no installation cand

    2019独角兽企业重金招聘Python工程师标准>>> 今天在安装软件的时候出现了Package has no installation candidate的问题,如: #  apt ...

  8. APT: Package ‘vnc4server‘ has no installation candidate 排查过程及解决方法

    找不到 vnc4server 想安装 vnc4server,于是 sudo apt-get insall vnc4server,然而找不到包,说 Package 'vnc4server' has no ...

  9. Ubuntu报错E:Package vim has no installation candidate

    Ubuntu报错: E:Package 'vim' has no installation candidate 解决办法:

最新文章

  1. 这 100 个心理学知识你必须了解
  2. [BI项目记]-TFS Express备份和恢复
  3. dedecms php5.4 无法退出后台,解决更换PHP5.4以上版本后Dedecms后台登录空白问题的方法...
  4. 请大家访问另一个我的博客!
  5. 信息安全系统设计基础第九周总结
  6. 后台接收数组_「面试必备」最新整理出的腾讯C++后台开发面试笔记
  7. python什么是交换算法_python算法-015将链表元素两两交换元素(交换值、就地翻转)...
  8. 设计灵感|清爽直观的仪表盘设计,转化繁杂数据
  9. 非root用户安装软件
  10. excel函数手册_一个函数高手的成长之路
  11. 代码片段:基于 JDK 8 time包的时间工具类 TimeUtil
  12. 生成式对抗网络论文阅读整理
  13. 《合作的进化》pdfmobiepub电子版
  14. 好文分享:一切都是最好的安排
  15. 基于nodejs+vue+elementui酒店民宿客房预订管理系统
  16. Windows版Redis和Redis Desktop Manager安装
  17. 常规诊疗条件下比较依那西普生物类似药(益赛普)与阿达木、英夫利西对RA的疗效[EULAR2015_SAT0360]...
  18. STM32【H7】理论——GPIO
  19. 转:Metalink 账户
  20. 领域驱动设计精粹感想

热门文章

  1. 怎么用python处理excel文件-用Python读写Excel文件的方式比较
  2. python代码翻译-Python编程学习 -- 用十几行代码实现一个翻译器
  3. python发声-python3-声音处理
  4. python文件读取数据-Python从文件中读取数据
  5. python计算每月工资-Python实现扣除个人税后的工资计算器示例
  6. python3入门与进阶-python3入门与进阶(一)
  7. python培训班时间 费用-python培训班费用在多少?
  8. python培训班排行榜-西安Python培训班排行榜
  9. python中语法错误-python冒号语法错误python中如何创建字典
  10. python自学入门教程-Python自学入门基础教程-数据类型