Linux新手安装aptitude问题

Zhangy-Pony 2015-04-14 11:50:07
入手Linux不久,在安装软件包时发现依赖关系问题,比如我现在机器上的版本较高,而有些需要用低版本的,可以通过aptitude来指定版本,但是我在安装aptitude出现了问题,提示如下:
sudo apt-get install aptitude
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:


The following packages have unmet dependencies:
aptitude : Depends: libapt-pkg4.10
Depends: libept1 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
然后我去安装libapt-pkg4.10又会提示:
sudo apt-get install libapt-pkg4.10
[sudo] password for zy:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libapt-pkg4.10 is a virtual package provided by:
apt 0.8.13.2ubuntu4.6 [Not candidate version]
apt 0.8.13.2ubuntu2 [Not candidate version]

E: Package 'libapt-pkg4.10' has no installation candidate

很是不解,求大神指教
...全文
7151 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
暗影骑士 2019-03-26
  • 打赏
  • 举报
回复 2
这是一大坑,开发的话,还是用官方源,安装不容易出现问题
iasky 2015-04-15
  • 打赏
  • 举报
回复 1
换一个源看看,用官方源。
Zhangy-Pony 2015-04-15
  • 打赏
  • 举报
回复 1
引用 3 楼 iasky 的回复:
换一个源看看,用官方源。
恩,果然是的,我自己更新了网易的源,不过是将官方源覆盖了,导致出现了问题,官方源就是慢了点,多谢
zeloas 2015-04-15
  • 打赏
  • 举报
回复 1
apt 自己不是最新的咯 确定security的update的源也已经开了 apt-get update apt-get dist-upgrade
Zhangy-Pony 2015-04-14
  • 打赏
  • 举报
回复
软件源已经更新,不知道是为何导致的。。

427

社区成员

发帖
与我相关
我的任务
社区描述
非技术问题的乐园
社区管理员
  • 非技术区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧