本文主要是介绍Ubuntunbsp;出现apt-get:nbsp;Packag…,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
学习了
原文地址:Ubuntu 出现apt-get: Package has no installation candidate问题 作者:zhou4539
Ubuntu 出现apt-get: Package has no installation candidate问题
分类: 系统-Linux 2011-12-18 13:32 751人阅读 评论(0) 收藏 举报
今天在安装软件的时候出现了Package has no installation candidate的问题,如:
解决方法如下:
# apt-get update
# apt-get upgrade
# apt-get install <packagename>
#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
这篇关于Ubuntunbsp;出现apt-get:nbsp;Packag…的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!