无法在 Ubuntu 上安装 mysql 5.7.32,使用旧的 mysql 存档版本 5.7.32

无法在 Ubuntu 上安装 mysql 5.7.32,使用旧的 mysql 存档版本 5.7.32

我已准备好以下文件:

libmysqlclient20_5.7.32-1ubuntu18.04_amd64.deb 
mysql-common_5.7.32-1ubuntu18.04_amd64.deb       
mysql-community-test_5.7.32-1ubuntu18.04_amd64.deb
libmysqlclient-dev_5.7.32-1ubuntu18.04_amd64.deb 
mysql-community-client_5.7.32-1ubuntu18.04_amd64.deb 
mysql-server_5.7.32-1ubuntu18.04_amd64.deb
libmysqld-dev_5.7.32-1ubuntu18.04_amd64.deb    
mysql-community-server_5.7.32-1ubuntu18.04_amd64.deb 
mysql-testsuite_5.7.32-1ubuntu18.04_amd64.deb
mysql-client_5.7.32-1ubuntu18.04_amd64.deb   
mysql-community-source_5.7.32-1ubuntu18.04_amd64.deb

我尝试了以下命令:

sudo dpkg -i mysql-common_5.7.32-1ubuntu18.04_amd64.deb

它显示以下输出:

dpkg: warning: downgrading mysql-common from 5.8+1.0.5ubuntu2 to 5.7.32-1ubuntu18.04
(Reading database ... 183026 files and directories currently installed.)
Preparing to unpack mysql-common_5.7.32-1ubuntu18.04_amd64.deb ...
Unpacking mysql-common (5.7.32-1ubuntu18.04) over (5.8+1.0.5ubuntu2) ...
dpkg: error processing archive mysql-common_5.7.32-1ubuntu18.04_amd64.deb (--install):
 trying to overwrite '/usr/share/mysql/docs/INFO_BIN', which is also in package mysql-server-8.0 8.0.26-0ubuntu0.20.04.2
Errors were encountered while processing:
 mysql-common_5.7.32-1ubuntu18.04_amd64.deb

相关内容