首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >持有的破碎包-未满足的依赖关系

持有的破碎包-未满足的依赖关系
EN

Ask Ubuntu用户
提问于 2021-12-22 15:19:29
回答 1查看 655关注 0票数 0

希望有人能帮助我,我已经尝试了几乎所有的在线资源,但只是达到了一个死胡同,也有入门级的知识是非常痛苦的。发行商ID: Ubuntu描述:Ubuntu20.04.3 LTS发行版: 20.04代码:焦点

我正在尝试安装一个软件包,但遇到了以下错误

代码语言:javascript
复制
   root@librenms03:/# sudo apt-get install ruby ruby-dev libsqlite3-dev libssl-dev pkg-config cmake libssh2-1-dev libicu-dev zlib1g-dev g++
Reading package lists... Done
Building dependency tree
Reading state information... Done
g++ is already the newest version (4:9.3.0-1ubuntu2).
g++ set to manually installed.
pkg-config is already the newest version (0.29.1-0ubuntu4).
pkg-config set to manually installed.
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:
 libicu-dev : Depends: libicu66 (= 66.1-2ubuntu2) but 66.1-2ubuntu2.1 is to be installed
 libssl-dev : Depends: libssl1.1 (= 1.1.1f-1ubuntu2.8) but 1.1.1f-1ubuntu2.10 is to be installed
E: Unable to correct problems, you have held broken packages.
root@librenms03:/#

没有任何"onhold“检查,尝试过apt-获取干净&& sudo,apt-get更新,尝试了智能安装,libssl-dev尝试了许多其他的东西,我没有任何地方。

任何帮助都是徒劳无功。

谢谢

代码语言:javascript
复制
also:

    root@librenms03:~# apt policy libssl-dev
libssl-dev:
  Installed: (none)
  Candidate: 1.1.1f-1ubuntu2.8
  Version table:
     1.1.1f-1ubuntu2.8 500
        500 http://mirror01.name.com/ubuntu/current focal-updates/main amd64 Packages
        500 http://mirror01.name.com/ubuntu/current focal-security/main amd64 Packages
     1.1.1f-1ubuntu2 500
        500 http://mirror01.name.com/ubuntu/current focal/main amd64 Packages
root@librenms03:~
EN

回答 1

Ask Ubuntu用户

发布于 2021-12-22 21:22:14

您所使用的获取包的源mirror01.name.com已经过时。

  • 它有libssl-dev版本的1.1.1f-1ubuntu2.8
  • 正常的20.04恢复有1.1.1f-1ubuntu2.10

基于你的评论

谢谢,我怎么刷新镜子?

我想你不是这面镜子的主人/操作员。您可以联系所有者/操作符并让他们刷新它,或者(也许更容易)切换到另一个保持最新的镜像。所有镜像的列表都在这里:https://launchpad.net/ubuntu/+archivemirrors

一旦您切换,准备进行大规模的软件更新和升级。

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

https://askubuntu.com/questions/1383309

复制
相关文章

相似问题

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