【发布时间】:2021-08-06 09:25:04
【问题描述】:
我正在尝试使用 sudo apt install mysql-server 在 Ubuntu 20.04 中安装 MySQL 8.0,但在重新安装和使用 sudo dpkg --configure -a 后,此错误仍然出现:
Setting up mysql-server-8.0 (8.0.25-0ubuntu0.20.04.1) ...
/var/lib/dpkg/info/mysql-server-8.0.postinst: line 191: /usr/share/mysql-common/
configure-symlinks: No such file or directory
dpkg: error processing package mysql-server-8.0 (--configure):
installed mysql-server-8.0 package post-installation script subprocess returned
error exit status 127
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-8.0; however:
Package mysql-server-8.0 is not configured yet.
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
我完全卸载了 MySQL 并使用sudo apt remove --purge --autoremove mysql-server 重新安装了多次,但错误仍然存在。
【问题讨论】:
标签: mysql