希望有人能帮助我,我已经尝试了几乎所有的在线资源,但只是达到了一个死胡同,也有入门级的知识是非常痛苦的。发行商ID: Ubuntu描述:Ubuntu20.04.3 LTS发行版: 20.04代码:焦点
我正在尝试安装一个软件包,但遇到了以下错误
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尝试了许多其他的东西,我没有任何地方。
任何帮助都是徒劳无功。
谢谢
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:~发布于 2021-12-22 21:22:14
您所使用的获取包的源mirror01.name.com已经过时。
libssl-dev版本的1.1.1f-1ubuntu2.81.1.1f-1ubuntu2.10基于你的评论
谢谢,我怎么刷新镜子?
我想你不是这面镜子的主人/操作员。您可以联系所有者/操作符并让他们刷新它,或者(也许更容易)切换到另一个保持最新的镜像。所有镜像的列表都在这里:https://launchpad.net/ubuntu/+archivemirrors
一旦您切换,准备进行大规模的软件更新和升级。
https://askubuntu.com/questions/1383309
复制相似问题