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: 패키지의 일관성이 매우 나쁜 상태입니다. 구성을 시도하기 전에 다시 설치해야 합니다.
패키지를 다시 설치해야 합니다. 코드 사용
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
댓글 출력