+ 我要发布
我发布的 我的标签 发现
浏览器扩展
斑点象@Edge

Debian安装MySQL提示:Depends: libssl1.1 (>= 1.1.1) but it is not installable

Debian11安装MySQL一切正常,在Debian12中安装MySQL时候提示“Depends: libssl1.1 (>= 1.1.1) but it is not installable”,导致无法继续安装。 原因是缺少openssl的libssl,到Debian官网找到libssl软件包安装说明 ``` https://packages.debian.org/bullseye/libssl1.1 ``` 查看服务器硬件,是amd64还是intel,按需下载对应 deb 包。下载完成后,上传至服务器,然后开始安装 deb,这里以 amd64 为例 ``` sudo apt-get install ./libssl1.1_1.1.1w-0+deb11u1_amd64.deb ``` 安装成功提示如下 ``` Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'libssl1.1 instead of './libssl1.1 1.1.1w-O+deb11u1 amd64.deb' The following NEW packages will be installed: libssl1.1 © upgraded, 1 newly installed, ® to remove and ® not upgraded. Need to get 0 B/1566 kB of archives. After this operation, 4227 kB of additional disk space will be used. Get: 1 /opt/download/libssl1.1 1.1.1w-O+deb1lu1 amd64. deb libssl1.1 amd64 1.1.1w-0+deb11u1 [1566 kB] reconfiguring packages Selecting previously unselected package libssl1.1: amd64. (Reading database .. 35190 files and directories currently installed.) Preparing to unpack .../libss11.1 1.1.1w-0+deb11u1 amd64.deb . Unpacking libssl1.1: amd64 (1.1.1w-O+debllul) Setting up libssl1.1: amd64 (1.1.1w-O+deb11u1) Processing triggers for libc-bin(2.36-9+deb12u3) ``` 安装成功后,继续安装 MySQL ``` sudo apt-get install mysql-server ```
我的笔记
你可能想看的