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

今天在安装软件的时候出现了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
时间: 2024-10-05 14:50:39

Ubuntu 出现apt-get: Package has no installation cand的相关文章

Ubuntu apt-get: Package has no installation candidate

今天在安装软件的时候出现了Package has no installation candidate的问题,如: #  apt-get install <packagename>Reading package lists... DoneBuilding dependency tree... DonePackage aptitude is not available, but is referred to by another package.This may mean that the pac

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

今天在安装软件的时候出现了Package has no installation candidate的问题,如: #  apt-get install <packagename>Reading package lists... DoneBuilding dependency tree... DonePackage aptitude is not available, but is referred to by another package.This may mean that the pac

Ubuntu 出现apt-get: Package has no installation candidate问题 (转)

Ubuntu 出现apt-get: Package has no installation candidate问题 分类: 系统-Linux 2011-12-18 13:32 14151人阅读 评论(0) 收藏 举报 ubuntudeb 今天在安装软件的时候出现了Package has no installation candidate的问题,如: #  apt-get install <packagename> Reading package lists... Done Building d

[转]Ubuntu Precise - Install youtube-dl package using Quantal repo

Ubuntu Precise - Install youtube-dl package using Quantal repo Ubuntu Precise 12.04 currently contains in repository youtube-dl version 2012.02.27-1. As of recent YouTube changes this package version is not usable anymore but there is an updated vers

关于Ubuntu下apt的一些用法及和yum的比较

Fedora和Red Hat有yum安装软件,Ubuntu有apt工具. apt简单的来说,就是给Ubuntu安装软件的一种命令方式. 一.apt的相关文件 /etc/apt/sources.list 设置软件包的获取来源 /etc/apt/apt.conf apt配置文件 /etc/apt/apt.conf.d/ apt的零碎配置文件 /etc/apt/preferences 版本参数 /var/cache/apt/archives/ 存放已经下载的软件包 /var/cache/apt/arc

使用apt-fast 来加速你的Ubuntu 的apt

使用apt-fast 来加速你的Ubuntu 的apt sudo add-apt-repository ppa:apt-fast/stable sudo apt-get update sudo apt-get install apt-fast

Package has no installation candidate解决方法

今天在安装软件的时候出现了Package has no installation candidate的问题,如: #  apt-get install <packagename>Reading package lists... DoneBuilding dependency tree... DonePackage aptitude is not available, but is referred to by another package.This may mean that the pac

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

今天在安装 vim 的时候出现了 Package 'vim' has no installation candidate的问题 解决方法如下:# apt-get update# apt-get upgrade# apt-get install <packagename> 这样就可以正常使用 apt-get 了- 作者:耑新新,发布于  博客园 转载请注明出处,欢迎邮件交流:[email protected] 原文地址:https://www.cnblogs.com/Amedeo/p/89692

Ubuntu 出现apt-get: Package has no installation candidate问题 - 刘毅枫的博客 - 博客频道 - CSDN.NET

来源:http://blog.csdn.net/liuyifeng_510/article/details/7081490#1536434-hi-1-30578-42d97150898b1af15ddaae52f91f09c2