打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Ubuntu 出现apt-get:Package has no installation candidate
今天在安装软件的时候出现了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
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
apt使用参考
Docker学习笔记 — Docker安装(Ubuntu 64bit)
如何在Ubuntu 12.04上安装KDE
Ubuntu配置-常用命令篇
ubuntu 下安装wine 来运行windows程序
修复Ubuntu在更新时‘Requires installation of untrusted packages’ 问题
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服