Dependências quebradas ao instalar qualquer software

2

Sempre que tento instalar qualquer software usando o centro de software do Ubuntu ou a partir da linha de comando, vejo esse problema de dependência. Eu não consigo resolver dependências facilmente

Correcting dependencies... failed.
The following packages have unmet dependencies:
libc-dev-bin : Depends: libc6 (< 2.16) but 2.19-18 is installed
libc6 : Breaks: locales (< 2.19) but 2.13+git20120306-3 is installed
libc6:i386 : Recommends: libc6-i686:i386
          Breaks: locales (< 2.19) but 2.13+git20120306-3 is installed
libc6-dbg : Depends: libc6 (= 2.15-0ubuntu10.7) but 2.19-18 is installed
libc6-dev : Depends: libc6 (= 2.15-0ubuntu10.7) but 2.19-18 is installed
libc6-i386 : Depends: libc6 (= 2.15-0ubuntu10.7) but 2.19-18 is installed
libnih1 : PreDepends: libc6 (< 2.16) but 2.19-18 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

A saída da política de cache do apt-get libc-dev-bin

libc-dev-bin:
Installed: 2.15-0ubuntu10.7
Candidate: 2.15-0ubuntu10.12
Version table:
2.15-0ubuntu10.12 0
    500 mirror://mirrors.ubuntu.com/mirrors.txt/ precise-updates/main amd64 Packages
    500 http://rw.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
2.15-0ubuntu10.11 0
    500 mirror://mirrors.ubuntu.com/mirrors.txt/ precise-security/main amd64 Packages
   500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages
*** 2.15-0ubuntu10.7 0
    100 /var/lib/dpkg/status
 2.15-0ubuntu10 0
   500 mirror://mirrors.ubuntu.com/mirrors.txt/ precise/main amd64 Packages
    500 http://rw.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

A saída para a política do apt-cache libc6

Installed: 2.19-18
Candidate: 2.19-18
Version table:
*** 2.19-18 0
    100 /var/lib/dpkg/status
 2.15-0ubuntu10.12 0
    500 mirror://mirrors.ubuntu.com/mirrors.txt/ precise-updates/main amd64 Packages
    500 http://rw.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
 2.15-0ubuntu10.11 0
    500 mirror://mirrors.ubuntu.com/mirrors.txt/ precise-security/main amd64 Packages
    500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages
 2.15-0ubuntu10 0
    500 mirror://mirrors.ubuntu.com/mirrors.txt/ precise/main amd64 Packages
    500 http://rw.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

saída para locales de política do apt-cache

locales:
Installed: 2.13+git20120306-3
Candidate: 2.13+git20120306-3
Version table:
*** 2.13+git20120306-3 0
    500 mirror://mirrors.ubuntu.com/mirrors.txt/ precise/main amd64      Packages
    500 http://rw.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
    100 /var/lib/dpkg/status
    
por Eliethesaiyan 02.09.2015 / 18:04

1 resposta

0

Resposta em andamento

Faça o downgrade dos pacotes libc6 e libc6:i386

sudo apt-get install libc6=2.15-0ubuntu10.12
sudo apt-get install libc6:i386=2.15-0ubuntu10.12

Você instalou a versão 2.19-18 e esta versão bloqueia a instalação de libc-dev-bin

Depois disso

sudo apt-get install -f
    
por A.B. 10.09.2015 / 06:45