小编Bhu*_*dra的帖子

无法安装 mysql-server:子进程 /usr/bin/dpkg 返回错误代码 (1)

我正在尝试在我的 Ubuntu 上安装 MySQL,但出现以下错误。我尝试了本网站和互联网上提供的一些解决方案,但似乎都不起作用。

$ sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
mysql-server is already the newest version (5.7.24-0ubuntu0.18.04.1).
0 upgraded, 0 newly installed, 0 to remove and 24 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up mysql-server-5.7 (5.7.24-0ubuntu0.18.04.1) ...
/var/lib/dpkg/info/mysql-server-5.7.postinst: line 191: /usr/share/mysql- 
common/configure-symlinks: No such file or directory
dpkg: …
Run Code Online (Sandbox Code Playgroud)

mysql apt dpkg

5
推荐指数
2
解决办法
9848
查看次数

标签 统计

apt ×1

dpkg ×1

mysql ×1