2019独角兽企业重金招聘Python工程师标准>>>

今天在安装软件的时候出现了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://my.oschina.net/sniperLi/blog/490367

Ubuntu 出现apt-get: Package has no installation cand相关推荐

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

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

  2. Ubuntu 出现apt-get: Package has no installation candidate问题

    今天在安装软件的时候出现了Package has no installation candidate的问题,如: #  apt-get install <packagename> Read ...

  3. Ubuntu中apt与apt-get命令的区别

    Ubuntu 16.04 发布时,一个引人注目的新特性便是 apt 命令的引入.其实早在 2014 年,apt 命令就已经发布了第一个稳定版,只是直到 2016 年的 Ubuntu 16.04 系统发 ...

  4. Ubuntu 18.04: Debug package with debug symbol

    https://www.hiroom2.com/2018/04/27/ubuntu-1804-dbgsym-en/ 目录 1 Add repository of dbgsym 2 Install db ...

  5. Ubuntu使用apt管理安装软件包

    一.apt简介         apt 是 Advanced Packaging Tool 的简称,是一款安装包管理工具.在 Ubuntu 下,我们可以使用 apt 命令可用于软件包的安装.删除.清理 ...

  6. ubuntu 更新 apt 源

    参考:https://mirrors.cnnic.cn/help/ubuntu/ sudo sed -i "s@http://.*archive.ubuntu.com@https://mir ...

  7. ubuntu的apt及pip自动下载换源脚本

    ubuntu的apt及pip自动下载换源脚本 #!/bin/bash# [*]change ubuntu system sources to aliyun source #:<<BLOCK ...

  8. Ubuntu更换apt镜像源

    原文:Ubuntu更换apt镜像源 在ubuntu中,默认使用 ubuntu 的官方源http://archive.ubuntu.com/,但是这个官方源在国内下载的速度太慢,甚至只有几十k.于是考虑 ...

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

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

最新文章

  1. 计算机教案word格式模板,用自定义模板编辑教案
  2. 加速 VR 渲染地狱难度进阶篇:降低图形 API 调用次数
  3. .读取excel表格(JAVA)
  4. 6-搭建一个私有registry
  5. Shiro JSP 标签
  6. Excel宏的基本逻辑语句
  7. picgo+onedrive+Typora用onedrive当图床
  8. 关于wintc编译成功,输出黑框中无结果显示
  9. 摄像头相关控制器集合
  10. 【Unity使用UGUI实现王者荣耀UI界面(四)】游戏开始界面
  11. adobe photoshop2021中文完整直装版
  12. Junos SRX NAT介绍
  13. centos安装 docker的教程
  14. “从零到一“基于Freeswitch二次开发:Freeswitch入门与网络架构 (一)
  15. ubuntu 定时重启/关闭进程
  16. shell从入门到精通(25)你知道什么是login shell和non login shell吗
  17. 萧毅舟;2.22黄金原油日内走势分析及操作策略建议
  18. python中的方法
  19. linux发送免费短信
  20. 论文阅读——CR-Fill: Generative Image Inpainting with Auxiliary Contextual Reconstruction

热门文章

  1. 管理博文Hive大数据-Mysql的安装和启动---大数据之Hive工作笔记0007
  2. Sentinel降级简介_分布式系统集群限流_线程数隔离_削峰填谷_流量控制_速率控制_服务熔断_服务降级---微服务升级_SpringCloud Alibaba工作笔记0038
  3. VC++工作笔记0003---C++中的explicit关键字
  4. 数据库工作笔记018---Windows下mysql安装_服务无法启动没有报告解决
  5. SpringCloud学习笔记023---分布式集群之_Windows下搭建zookeeper服务器
  6. weightedrandomSamplers(1)
  7. tcpdump: no suitable device found
  8. 3d激光雷达开发(pcl安装和使用)
  9. python编程(关于cocos2d)
  10. 随想录(学习wrk的代码)