1、Ubuntu下安装软件报错

    xiaoxiao2022-06-29  35

    今天在ubuntu下安装任何软件都提示以下错误:

    ideallic@ubuntu:~$ sudo apt-get install git [sudo] password for ideallic: Reading package lists... Done Building dependency tree        Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies:  git : Depends: liberror-perl but it is not going to be installed        Depends: git-man (> 1:1.9.1) but it is not going to be installed        Depends: git-man (< 1:1.9.1-.) but it is not going to be installed  libqglviewer-qt4-dev:i386 : Depends: libqglviewer-qt4-2:i386 (= 2.3.4-4ubuntu2) but it is not installable                              Depends: libqglviewer-dev-common:i386 (= 2.3.4-4ubuntu2) but it is not installable                              Depends: libc6:i386 (>= 2.1.3) but it is not going to be installed                              Depends: libgcc1:i386 (>= 1:4.1.1) but it is not going to be installed                              Depends: libgl1-mesa-glx:i386 or                                       libgl1:i386                              Depends: libqt4-opengl:i386 (>= 4:4.5.3) but it is not going to be installed                              Depends: libqtcore4:i386 (>= 4:4.5.3) but it is not going to be installed                              Depends: libqtgui4:i386 (>= 4:4.5.3) but it is not going to be installed                              Depends: libstdc++6:i386 (>= 4.1.1) but it is not going to be installed                              Depends: libqt4-dev:i386 but it is not going to be installed                              Depends: libx11-dev:i386 but it is not going to be installed                              Depends: libxext-dev:i386 but it is not going to be installed                              Depends: libxmu-dev:i386 but it is not going to be installed                              Depends: libgl1-mesa-dev:i386 or                                       libgl-dev:i386                              Depends: libqt4-opengl-dev:i386 but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

    解决方法:

         删除提示的未完全安装的软件libqglviewer-qt4-dev

       

    ideallic@ubuntu:~$ sudo dpkg --purge libqglviewer-qt4-dev (Reading database ... 200785 files and directories currently installed.) Removing libqglviewer-qt4-dev (2.3.4-4ubuntu2) ... ideallic@ubuntu:~$

    转载请注明原文地址: https://ju.6miu.com/read-1124766.html

    最新回复(0)