Mint Cinnamon 18.3 64 位更新问题

Mint Cinnamon 18.3 64 位更新问题

当我运行 Linux Mint Cinnamon 18.30 的更新管理器时,出现以下错误,并且不知道如何修复。

E: gcc-6-base: 1.0989:package is in a very bad inconsistent state; you should  reinstall it before attempting configuration
E: libgcc1: 1.0989:dependency problems - leaving unconfigured
E: libc6: 1.0989:dependency problems - leaving unconfigured
E: liblzma5: 1.0989:dependency problems - leaving unconfigured
E: libxau6: 1.0989:dependency problems - leaving unconfigured
E: libxdmcp6: 1.0989:dependency problems - leaving unconfigured
E: libxcb1: 1.0989:dependency problems - leaving unconfigured
E: libx11-6: 1.0989:dependency problems - leaving unconfigured
E: libxext6: 1.0989:dependency problems - leaving unconfigured
E: libexif12: 1.0989:dependency problems - leaving unconfigured
E: libjpeg-turbo8: 1.0989:dependency problems - leaving unconfigured
E: liblcms2-2: 1.0989:dependency problems - leaving unconfigured
E: libxdamage1: 1.0989:dependency problems - leaving unconfigured
E: libxfixes3: 1.0989:dependency problems - leaving unconfigured
E: libxshmfence1: 1.0989:dependency problems - leaving unconfigured
E: libxxf86vm1: 1.0989:dependency problems - leaving unconfigured
E: libasound2: 1.0989:dependency problems - leaving unconfigured
E: libdrm2: 1.0989:dependency problems - leaving unconfigured
E: libexpat1: 1.0989:dependency problems - leaving unconfigured
E: libglapi-mesa: 1.0989:dependency problems - leaving unconfigured
E: libx11-xcb1: 1.0989:dependency problems - leaving unconfigured
E: libxcb-dri2-0: 1.0989:dependency problems - leaving unconfigured
E: libxcb-dri3-0: 1.0989:dependency problems - leaving unconfigured
E: libxcb-glx0: 1.0989:dependency problems - leaving unconfigured
E: libxcb-present0: 1.0989:dependency problems - leaving unconfigured
E: libxcb-sync1: 1.0989:dependency problems - leaving unconfigured
E: libdrm-amdgpu1: 1.0989:dependency problems - leaving unconfigured
E: zlib1g: 1.0989:dependency problems - leaving unconfigured
E: libpciaccess0: 1.0989:dependency problems - leaving unconfigured
E: libdrm-intel1: 1.0989:dependency problems - leaving unconfigured
E: libdrm-nouveau2: 1.0989:dependency problems - leaving unconfigured
E: libdrm-radeon1: 1.0989:dependency problems - leaving unconfigured
E: libelf1: 1.0989:dependency problems - leaving unconfigured
E: libbsd0: 1.0989:dependency problems - leaving unconfigured
E: libtinfo5: 1.0989:dependency problems - leaving unconfigured
E: libedit2: 1.0989:dependency problems - leaving unconfigured
E: libffi6: 1.0989:dependency problems - leaving unconfigured
E: libstdc++6: 1.0989:dependency problems - leaving unconfigured
E: libllvm5.0: 1.0989:dependency problems - leaving unconfigured
E: libsensors4: 1.0989:dependency problems - leaving unconfigured
E: libgl1-mesa-dri: 1.0989:dependency problems - leaving unconfigured
E: libgl1-mesa-glx: 1.0989:dependency problems - leaving unconfigured
E: libglu1-mesa: 1.0989:dependency problems - leaving unconfigured
E: libpng12-0: 1.0989:dependency problems - leaving unconfigured
E: libfreetype6: 1.0989:dependency problems - leaving unconfigured
E: libfontconfig1: 1.0989:dependency problems - leaving unconfigured
E: libjpeg8: 1.0989:dependency problems - leaving unconfigured
E: libjbig0: 1.0989:dependency problems - leaving unconfigured
E: libtiff5: 1.0989:dependency problems - leaving unconfigured
E: libvpx3: 1.0989:dependency problems - leaving unconfigured
E: libxpm4: 1.0989:dependency problems - leaving unconfigured

答案1

如第一行所示

E: gcc-6-base: 1.0989:package 处于非常糟糕的不一致状态;您应该在尝试配置之前重新安装它

您必须重新安装该软件包。使用代码

apt-cache search gcc

然后

apt-get update

apt-get install g++-(version) c++-(version)

您可以使用任何版本(我推荐您 4+)如果找不到存储库,则使用此版本并再次尝试上面列出的代码

sudo add-apt-repository ppa:ubuntu-toolchain-r/test

在您的终端中运行这些代码

sudo rm /var/lib/dpkg/info/mintinstall.postinst

然后 sudo apt install -f 评论输出

相关内容