Ubuntu 11.04 apt-get install libncurses5-dev没有候选者

时间:2015-03-07 20:01:19

标签: linux ubuntu apt-get

我是linux总新手。我想安装新的软件包但我无法用一些软件包来安装:

我试试

sudo apt-get install libncurses5-dev
E: Package 'libncurses5-dev' has no installation candidate

sudo apt-get install kernel-package fakeroot
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package kernel-package 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 'kernel-package' has no installation candidate

与samba相同的问题。 我的Ubuntu版本是:

Distributor ID: Ubuntu
Description:    Ubuntu 11.04
Release:    11.04
Codename:   natty

2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux

1 个答案:

答案 0 :(得分:0)

11.04不再受支持,你应该至少更新到下一个supporetd LTS版本(12.04)。

否则,您需要更新/etc/apt/sources.list以指向http://old-releases.ubuntu.com而不是当前使用的存储库,因为默认的ubuntu源和镜像不包含11.04的软件包了。