在 20.04.5 LTS 版本中出现 dpkg 错误

在 20.04.5 LTS 版本中出现 dpkg 错误

每次我尝试安装任何东西时都会出现此错误。

正在为 Mecab 编译 IPA 词典。这需要很长时间...

/usr/lib/mecab/mecab-dict-index: error while loading shared libraries: libmecab.so.2: cannot open shared object file: No such file or directory
dpkg: error processing package mecab-ipadic (--configure):
 installed mecab-ipadic package post-installation script subprocess returned error exit status 127
dpkg: dependency problems prevent configuration of mecab-ipadic-utf8:
 mecab-ipadic-utf8 depends on mecab-ipadic; however:
  Package mecab-ipadic is not configured yet.

dpkg: error processing package mecab-ipadic-utf8 (--configure):
 dependency problems - leaving unconfigured
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
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
Errors were encountered while processing:
 mysql-server-8.0
 mecab-ipadic
 mecab-ipadic-utf8
 mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

相关内容