首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法在linux mint上修复损坏的应用程序

无法在linux mint上修复损坏的应用程序
EN

Stack Overflow用户
提问于 2021-01-23 18:25:38
回答 2查看 382关注 0票数 0

我无法在我的"Linux Mint VERSION="20.1 (Ulyssa)中安装、删除和更新包,在更新mysql-cluster-community-server和其他相关的mysql包后,我遇到了这个问题。

我已经尝试了这些解决方案来解决这个问题,但无法解决它。

代码语言:javascript
复制
$ sudo apt-get install -f

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  linux-headers-5.4.0-59 linux-headers-5.4.0-59-generic linux-headers-5.4.0-60
  linux-headers-5.4.0-60-generic linux-image-5.4.0-59-generic
  linux-image-5.4.0-60-generic linux-modules-5.4.0-59-generic
  linux-modules-5.4.0-60-generic linux-modules-extra-5.4.0-59-generic
  linux-modules-extra-5.4.0-60-generic mysql-community-client-core
mysql-community-client-plugins mysql-community-server-core
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
mysql-cluster-community-client-core mysql-cluster-community-client-plugins
mysql-cluster-community-server-core
The following NEW packages will be installed:
mysql-cluster-community-client-core mysql-cluster-community-client-plugins
mysql-cluster-community-server-core
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 0 B/22.1 MB of archives.
After this operation, 158 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 452340 files and directories currently installed.)
Preparing to unpack .../mysql-cluster-community-client-plugins_8.0.23-1ubuntu18.04_amd64.deb ...
Unpacking mysql-cluster-community-client-plugins (8.0.23-1ubuntu18.04) ...
dpkg: error processing archive /var/cache/apt/archives/mysql-cluster-community-client-plugins_8.0.23-1ubuntu18.04_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/mysql/plugin/authentication_ldap_sasl_client.so', which is also in package mysql-community-client-plugins 8.0.22-1ubuntu18.04
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../mysql-cluster-community-client-core_8.0.23-1ubuntu18.04_amd64.deb ...
Unpacking mysql-cluster-community-client-core (8.0.23-1ubuntu18.04) ...
dpkg: error processing archive /var/cache/apt/archives/mysql-cluster-community-client-core_8.0.23-1ubuntu18.04_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/mysql', which is also in package mysql-community-client-core 8.0.22-1ubuntu18.04
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../mysql-cluster-community-server-core_8.0.23-1ubuntu18.04_amd64.deb ...
Unpacking mysql-cluster-community-server-core (8.0.23-1ubuntu18.04) ...
dpkg: error processing archive /var/cache/apt/archives/mysql-cluster-community-server-core_8.0.23-1ubuntu18.04_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/ibd2sdi', which is also in package mysql-community-server-core 8.0.22-1ubuntu18.04
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/mysql-cluster-community-client-plugins_8.0.23-1ubuntu18.04_amd64.deb
 /var/cache/apt/archives/mysql-cluster-community-client-core_8.0.23-1ubuntu18.04_amd64.deb
 /var/cache/apt/archives/mysql-cluster-community-server-core_8.0.23-1ubuntu18.04_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

这些都是损坏的应用程序

代码语言:javascript
复制
$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of mysql-cluster-community-client:
 mysql-cluster-community-client depends on mysql-cluster-community-client-core (= 8.0.23-1ubuntu18.04); however:
  Package mysql-cluster-community-client-core is not installed.

dpkg: error processing package mysql-cluster-community-client (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mysql-client:
 mysql-client depends on mysql-cluster-community-client (= 8.0.23-1ubuntu18.04); however:
  Package mysql-cluster-community-client is not configured yet.

dpkg: error processing package mysql-client (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mysql-cluster-community-server:
 mysql-cluster-community-server depends on mysql-client (= 8.0.23-1ubuntu18.04); however:
  Package mysql-client is not configured yet.
 mysql-cluster-community-server depends on mysql-cluster-community-server-core (= 8.0.23-1ubuntu18.04); however:
  Package mysql-cluster-community-server-core is not installed.

dpkg: error processing package mysql-cluster-community-server (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-cluster-community-server (= 8.0.23-1ubuntu18.04); however:
  Package mysql-cluster-community-server is not configured yet.

dpkg: error processing package mysql-server (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.31-0ubuntu9.1) ...
Errors were encountered while processing:
 mysql-cluster-community-client
 mysql-client
 mysql-cluster-community-server
 mysql-server

我也尝试过以这种方式删除这些应用程序。

代码语言:javascript
复制
$ sudo apt remove --purge mysql-server

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 mysql-cluster-community-client : Depends: mysql-cluster-community-client-core (= 8.0.23-1ubuntu18.04) but it is not going to be installed
 mysql-cluster-community-server : Depends: mysql-cluster-community-server-core (= 8.0.23-1ubuntu18.04) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
EN

回答 2

Stack Overflow用户

发布于 2021-02-24 03:52:45

您必须清除补充性mysql,然后在您的系统上重新进行全新安装

票数 0
EN

Stack Overflow用户

发布于 2021-08-15 12:26:43

您就快完成了。

您必须清除mysql-cluster-community-client和mysql-cluster-community-server。

代码语言:javascript
复制
sudo dpkg --purge mysql-cluster-community-client

sudo dpkg --purge mysql-cluster-community-server

sudo apt remove --purge mysql-server

sudo apt remove --purge mysql-community-client-core

在此之后,您将从发行版卸载MySQL

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/65858073

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档