sudo apt-get -f instalar erro, como remover ou reinstalar pacotes corrompidos [duplicados]

0

Eu preciso instalar libgl1-mesa-dev lib no Ubuntu 14.0.4, porque o QT 5.5 depende dessa biblioteca. Eu corro seguindo o comando e obtém erro, Como posso corrigir esse erro:

$ sudo apt-get install build-essential libgl1-mesa-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libcheese-dev : Depends: libcheese3 (= 3.4.1-0ubuntu2.1) but it is not installable
                 Depends: gir1.2-cheese-3.0 (= 3.4.1-0ubuntu2.1) but it is not going to be installed
                 Depends: libglib2.0-dev (>= 2.28.0) but it is not going to be installed
                 Depends: libclutter-1.0-dev (>= 1.6.1) but it is not going to be installed
                 Depends: libgstreamer0.10-dev (>= 0.10.32) but it is not going to be installed
                 Depends: libgstreamer-plugins-base0.10-dev (>= 0.10.32) but it is not going to be installed
                 Depends: libgdk-pixbuf2.0-dev but it is not going to be installed
 libcheese-gtk-dev : Depends: libcheese-gtk21 (= 3.4.0-0ubuntu1) but 3.4.1-0ubuntu2 is to be installed
                     Depends: libcheese-dev (= 3.4.0-0ubuntu1) but 3.4.1-0ubuntu2.1 is to be installed
                     Depends: libglib2.0-dev (>= 2.28.0) but it is not going to be installed
                     Depends: libgtk-3-dev (>= 2.99.4) but it is not going to be installed
                     Depends: libgstreamer0.10-dev (>= 0.10.32) but it is not going to be installed
                     Depends: libgstreamer-plugins-base0.10-dev (>= 0.10.32) but it is not going to be installed
                     Depends: libclutter-gtk-1.0-dev (>= 0.91.8) but it is not going to be installed
                     Depends: libcanberra-gtk3-dev (>= 0.26) but it is not going to be installed
 libcheese-gtk21 : Depends: libcheese3 (>= 3.3.5) but it is not installable
                   Depends: libcogl9 (>= 1.7.4) but it is not installable
                   Depends: libmx-1.0-2 (>= 1.2.0) but it is not going to be installed
                   Depends: cheese-common (= 3.4.1-0ubuntu2) but 3.10.2-0ubuntu2 is to be installed
 libgl1-mesa-dev : Depends: mesa-common-dev (= 10.1.0-4ubuntu5) but 8.0.4-0ubuntu0.6 is to be installed
                   Depends: libgl1-mesa-glx (= 10.1.0-4ubuntu5)
                   Depends: libx11-xcb-dev but it is not going to be installed
                   Depends: libxcb-dri3-dev but it is not going to be installed
                   Depends: libxcb-present-dev but it is not going to be installed
                   Depends: libxcb-sync-dev but it is not going to be installed
                   Depends: libxshmfence-dev but it is not going to be installed
                   Depends: libxcb-dri2-0-dev but it is not going to be installed
                   Depends: libxcb-glx0-dev but it is not going to be installed
                   Depends: libxdamage-dev but it is not going to be installed
                   Depends: libxxf86vm-dev but it is not going to be installed
                   Depends: x11proto-dri2-dev (>= 2.6) but it is not going to be installed
                   Depends: x11proto-gl-dev (>= 1.4.14) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Atenciosamente, Davit

    
por Davit Azizyan 26.12.2015 / 17:58

1 resposta

0

Tente visualizar os últimos pacotes instalados [aqui] e determine se esses são os causadores de erros, também não instale pacotes de fora do synaptic [exceto se você cuidadosamente registra estes pacotes]

Se você não sabe como resolver o problema, poste os últimos pacotes instalados, [todo o histórico não é necessário, apenas os últimos 3 ou 4 pacotes]

    
por haytham-med haytham 27.12.2015 / 15:01