gpt4 book ai didi

linux - Ubuntu 11.04 apt-get install libncurses5-dev 无候选

转载 作者:太空宇宙 更新时间:2023-11-04 03:43:44 32 4
gpt4 key购买 nike

我是 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

最佳答案

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

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

关于linux - Ubuntu 11.04 apt-get install libncurses5-dev 无候选,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28919341/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com