我是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
答案 0 :(得分:0)
11.04不再受支持,你应该至少更新到下一个supporetd LTS版本(12.04)。
否则,您需要更新/etc/apt/sources.list
以指向http://old-releases.ubuntu.com而不是当前使用的存储库,因为默认的ubuntu源和镜像不包含11.04的软件包了。