微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

如何解决无法修复 linux mint 上损坏的应用程序

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

我已尝试使用这些解决方案来解决此问题,但无法解决

$ 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)

这些是坏掉的应用

$ 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

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

$ 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).

解决方法

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

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其他元素将获得点击?
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。)
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbcDriver发生异常。为什么?
这是用Java进行XML解析的最佳库。
Java的PriorityQueue的内置迭代器不会以任何特定顺序遍历数据结构。为什么?
如何在Java中聆听按键时移动图像。
Java“Program to an interface”。这是什么意思?