Não é possível remover 'Unmet dependencies' no ubuntu preciso

0

Eu não sou capaz de instalar nem remover qualquer pacote através do apt ou do dpkg. Eu não tenho o aptitude instalado. Aqui estão dependências não satisfeitas na minha versão do Ubuntu - 12.04 preciso:

The following packages have unmet dependencies:
     libc-dev-bin : Depends: libc6 (< 2.16) but 2.19-0ubuntu6.6 is installed
     libc6-dev : Depends: libc6 (= 2.15-0ubuntu10.12) but 2.19-0ubuntu6.6 is installed

     libnih1 : PreDepends: libc6 (< 2.16) but 2.19-0ubuntu6.6 is installed
     libusb-1.0-0 : Depends: libudev1 (>= 183) but it is not installable

dpkg --purge libc-dev-bin
    dpkg: dependency problems prevent removal of libc-dev-bin:
     libc6-dev depends on libc-dev-bin (= 2.15-0ubuntu10.12); however:
      Package libc-dev-bin is to be removed.
    dpkg: error processing libc-dev-bin (--purge):
     dependency problems - not removing

dpkg --purge libc6-dev
    dpkg: dependency problems prevent removal of libc6-dev:
     zlib1g-dev depends on libc6-dev | libc-dev; however:
      Package libc6-dev is to be removed.
      Package libc-dev is not installed.
      Package libc6-dev which provides libc-dev is to be removed.
     comerr-dev depends on libc6-dev | libc-dev; however:
      Package libc6-dev is to be removed.
      Package libc-dev is not installed.
      Package libc6-dev which provides libc-dev is to be removed.
     build-essential depends on libc6-dev | libc-dev; however:
      Package libc6-dev is to be removed.
      Package libc-dev is not installed.
      Package libc6-dev which provides libc-dev is to be removed.
     wireless-bcm43142-precise-dkms depends on libc6-dev.
     libstdc++6-4.6-dev depends on libc6-dev (>= 2.13-0ubuntu6).
     libexpat1-dev depends on libc6-dev | libc-dev; however:
      Package libc6-dev is to be removed.
      Package libc-dev is not installed.
      Package libc6-dev which provides libc-dev is to be removed.
     libtool depends on libc6-dev | libc-dev; however:
      Package libc6-dev is to be removed.
          Package libc-dev is not installed.
          Package libc6-dev which provides libc-dev is to.............


dpkg -s libc6-dev
        Package: libc6-dev
        Status: purge ok installed
        Multi-Arch: same
        Priority: optional
        Section: libdevel
        Installed-Size: 11595
        Maintainer: Ubuntu Developers <[email protected]>
        Architecture: amd64
        Source: eglibc
        Version: 2.15-0ubuntu10.12
        Provides: libc-dev
        Depends: libc6 (= 2.15-0ubuntu10.12), libc-dev-bin (= 2.15-0ubuntu10.12), linux-libc-dev
        Recommends: gcc | c-compiler
        Suggests: glibc-doc, manpages-dev
        Breaks: binutils (<< 2.20.1-1), binutils-gold (<< 2.20.1-11), cmake (<< 2.8.4+dfsg.1-5), gcc-4.4 (<< 4.4.6-3ubuntu1), gcc-4.4-base (<< 4.4.6-3ubuntu1), gcc-4.5 (<< 4.5.3-1ubuntu2), gcc-4.5-base (<< 4.5.3-1ubuntu2), gcc-4.6 (<< 4.6.0-12), gcj-4.4-base (<< 4.4.6-2ubuntu2), gcj-4.5-base (<< 4.5.3-1ubuntu2), gnat-4.4-base (<< 4.4.6-1ubuntu3), libhwloc-dev (<< 1.2-3), libjna-java (<< 3.2.7-4), liblouis-dev (<< 2.3.0-2), liblouisxml-dev (<< 2.4.0-2), make (<< 3.81-8.1), pkg-config (<< 0.26-1)

Parece que meus atuais pacotes requeridos de alguma forma se tornaram dependentes da versão antiga do libc6-dev (2.15-0ubuntu10.12). Como posso consertar isso? Eu tentei seguir alguns outros tópicos relacionados, mas não consegui corrigi-lo até agora. Alguém por favor pode ajudar?

    
por user1694519 02.11.2015 / 21:01

1 resposta

0

Consegui corrigir o problema através do Aptitude. É legal e parece muito mais poderoso. Ele desatribuiu automaticamente alguns pacotes, removeu muitos deles e instalou poucos e consertou as dependências. Obrigado a Zacharee1 por fornecer essa dica. Eu recomendo strongmente o aptitude para gerenciar pacotes especialmente quando o dpkg ou o apt-get falharem.

    
por user1694519 04.11.2015 / 20:35