首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >在lubuntu上安装curl (和其他软件包)有问题

在lubuntu上安装curl (和其他软件包)有问题
EN

Ask Ubuntu用户
提问于 2021-02-01 15:16:19
回答 1查看 385关注 0票数 0

所以我有lubuntu 20.10 (其中我是新的),当我尝试安装一个软件包时,例如

代码语言:javascript
运行
复制
sudo apt install curl

我得到了一个错误

代码语言:javascript
运行
复制
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package curl 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 'curl' has no installation candidate

当我试图安装其他软件包时,也会发生同样的错误。

一些较老的论坛帖子建议做

代码语言:javascript
运行
复制
sudo apt-get update

但这会返回一个错误

代码语言:javascript
运行
复制
Get:1 http://fi.archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease                                                                         
Hit:3 http://ppa.launchpad.net/pinta-maintainers/pinta-stable/ubuntu groovy InRelease                                                
Ign:4 http://ppa.launchpad.net/webupd8team/java/ubuntu groovy InRelease                                                              
Hit:5 https://download.mono-project.com/repo/debian stable-buster InRelease                                                          
Err:6 http://ppa.launchpad.net/webupd8team/java/ubuntu groovy Release
  404  Not Found [IP: 2001:67c:1560:8008::19 80]
Err:1 http://fi.archive.ubuntu.com/ubuntu xenial InRelease   
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/webupd8team/java/ubuntu groovy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://fi.archive.ubuntu.com/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
E: The repository 'http://fi.archive.ubuntu.com/ubuntu xenial InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

有人知道怎么解决这个问题吗?

EN

回答 1

Ask Ubuntu用户

发布于 2021-02-01 16:30:50

用于安装curl的命令是正确的。请尝试禁用所有其他非标准存储库20.10,然后尝试sudo apt updatesudo apt install curl

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1312734

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档