Ubuntu 21.10 上的 libssl1.1 依赖冲突
我是 ubuntu 新手,我正在尝试安装 nodejs npm 但收到错误:
以下软件包具有未满足的依赖关系: libssl-dev :依赖:libssl1.1 (= 1.1.1l-1ubuntu1) 但要安装 1.1.1l-1ubuntu1.1 E:无法纠正问题,您持有破损的包裹。
我尝试通过 apt 安装 libssl1.1 但我做错了。请建议我一个正确的代码来安装我需要的正确版本的 libssl,我使用的是 Ubuntu 21.10。
I'm new to ubuntu and I'm trying to install nodejs npm but I get the error:
The following packages have unmet dependencies:
libssl-dev : Depends: libssl1.1 (= 1.1.1l-1ubuntu1) but 1.1.1l-1ubuntu1.1 is to be installed
E: Unable to correct problems, you have held broken packages.
I tried to install libssl1.1 via apt but ig I'm doing something wrong. Please suggest me a right code to install the right version of libssl I need, I'm on Ubuntu 21.10.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试这些说明。另外,您的系统上可能没有安装 libssl1.1,因为您已经安装了其他 ssl 库并且存在冲突。例如,如果它们是从 PPA 安装的。
Try these instructions. Also it's possible libssl1.1 isn't installing on your system because you have other ssl libraries already installed and are conflicting. If they were installed from PPAs for example.