首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法在ubuntu 22.04上安装mariadb服务器

无法在ubuntu 22.04上安装mariadb服务器
EN

Ask Ubuntu用户
提问于 2022-04-29 04:51:48
回答 1查看 3.7K关注 0票数 1

我试图在ubuntu22.04LTS上安装mariadb服务器,但是我得到了一个与galera-4 & libssl相关的依赖错误消息。如何解决这个问题?

代码语言:javascript
复制
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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:
galera-4 : Depends: libssl1.1 (>= 1.1.1) but it is not installable
E: Unable to correct problems, you have held broken packages.
EN

回答 1

Ask Ubuntu用户

发布于 2022-04-29 05:10:50

Ubuntu22.04附带了不满足MariaDB的依赖需求的libssl-3.0.2。也就是说,您可以从Ubuntu服务器下载所需的库并手动安装它。

下面是操作步骤:

  1. 打开终端(如果是服务器,则打开机器中的SSH )
  2. 下载库: wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.16_amd64.deb
  3. 安装软件包: sudo -i libssl1.1_1.1f-1 ubuntu2.16_amd64.deb
  4. 继续你的一天

从现在开始,您将能够毫无问题地安装MariaDB。将来对MariaDB的更新很可能通过使用更新的libssl3.x库来解决这个依赖问题。

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

https://askubuntu.com/questions/1405443

复制
相关文章

相似问题

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