Ubuntu 中的损坏软件包错误

Ubuntu 中的损坏软件包错误

我尝试安装一些 kali linux 工具。我使用了第三方脚本 katoolin,该脚本将 kali linux repo 添加到源列表中。我安装了大约 20-25 个工具,然后重新启动了笔记本电脑。登录后,它出现了一些错误。然后,我以为是 gnome 桌面导致的。所以我删除了它。然后我安装了 xfce(xubuntu-desktop)。现在我在安装新软件包时收到错误消息。在 grub 菜单中,我可以看到 kalilinux 图像横幅而不是 ubuntu 的横幅。但在启动时,它启动的是 ubuntu。我只安装了 ubuntu。

    sudo apt install inkscape
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:
 gcc-10 : Depends: cpp-10 (= 10.2.0-5) but it is not going to be installed
          Depends: libcc1-0 (>= 10.2.0-5) but 10-20200411-0ubuntu1 is to be installed
          Depends: libgcc-10-dev (= 10.2.0-5) but it is not going to be installed
 gcc-10-base : Breaks: gcc-10-base:i386 (!= 10.2.0-5) but 10-20200411-0ubuntu1 is to be installed
 gcc-10-base:i386 : Breaks: gcc-10-base (!= 10-20200411-0ubuntu1) but 10.2.0-5 is to be installed
 inkscape : Depends: libgsl23 (>= 2.5) but it is not going to be installed
            Depends: libgtkmm-2.4-1v5 (>= 1:2.24.0) but it is not going to be installed
            Depends: libgtkspell0 (>= 2.0.10) but it is not going to be installed
            Depends: libpotrace0 but it is not going to be installed
            Recommends: libimage-magick-perl but it is not going to be installed
            Recommends: python-lxml but it is not going to be installed
            Recommends: python-numpy but it is not going to be installed
            Recommends: python-scour but it is not installable
 lib32gcc1 : Depends: gcc-10-base (= 10-20200411-0ubuntu1) but 10.2.0-5 is to be installed
 lib32stdc++6 : Depends: gcc-10-base (= 10-20200411-0ubuntu1) but 10.2.0-5 is to be installed
 libatomic1 : Depends: gcc-10-base (= 10-20200411-0ubuntu1) but 10.2.0-5 is to be installed
 libcc1-0 : Depends: gcc-10-base (= 10-20200411-0ubuntu1) but 10.2.0-5 is to be installed
 libgcc-s1 : Depends: gcc-10-base (= 10-20200411-0ubuntu1) but 10.2.0-5 is to be installed
 libgfortran5 : Depends: gcc-10-base (= 10-20200411-0ubuntu1) but 10.2.0-5 is to be installed
 libgomp1 : Depends: gcc-10-base (= 10-20200411-0ubuntu1) but 10.2.0-5 is to be installed
 libitm1 : Depends: gcc-10-base (= 10-20200411-0ubuntu1) but 10.2.0-5 is to be installed
 liblsan0 : Depends: gcc-10-base (= 10-20200411-0ubuntu1) but 10.2.0-5 is to be installed
 libobjc4 : Depends: gcc-10-base (= 10-20200411-0ubuntu1) but 10.2.0-5 is to be installed
 libquadmath0 : Depends: gcc-10-base (= 10-20200411-0ubuntu1) but 10.2.0-5 is to be installed
 libstdc++6 : Depends: gcc-10-base (= 10-20200411-0ubuntu1) but 10.2.0-5 is to be installed
 libtsan0 : Depends: gcc-10-base (= 10-20200411-0ubuntu1) but 10.2.0-5 is to be installed
 libubsan1 : Depends: gcc-10-base (= 10-20200411-0ubuntu1) but 10.2.0-5 is to be installed
 resetter : Depends: python-qt4 (>= 4.10) but it is not installable
            Depends: python-apt (>= 0.9.3) but it is not going to be installed
            Depends: python-mechanize (>= 1:0.2.5) but it is not installable
            Depends: python-bs4 (>= 4.2) but it is not going to be installed
            Depends: add-apt-key (>= 1.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

相关内容