Como corrijo meu sistema particular de pacotes quebrados?

2

Então, estou tendo um pouco de dificuldade com a minha instalação do Ubuntu 13.10 . Eu não posso para a vida de mim descobrir o que eu fiz para quebrá-lo, acho que tinha algo a ver com uma atualização não terminar. De qualquer forma, quando cheguei para verificar se há atualizações ou tentar instalar um pacote, recebo os seguintes erros:

Atualização de software:

O SISTEMA DE PACOTES ESTÁ QUEBRADO
Verifique se você está usando repositórios de terceiros. Se assim for, desativá-los, uma vez que eles são uma fonte comum de problemas. Além disso, execute o seguinte comando em um Terminal: apt-get install -f

Instalando um pacote dos repos (neste caso compiz, por exemplo):

dj@ThetaDome:~$ sudo apt-get install compiz
[sudo] password for dj: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
compiz is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 ca-certificates-java : Depends: ca-certificates (>= 20121114) but it is not going to be 
installed
 liblwp-protocol-https-perl : Depends: ca-certificates but it is not going to be installed
 libwww-perl : Depends: ca-certificates but it is not going to be installed
 python-httplib2 : Depends: ca-certificates but it is not going to be installed
 python3-httplib2 : Depends: ca-certificates but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Este é o resultado de apt-get -f install :

dj@ThetaDome:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
  libc6-i386
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
2 not fully installed or removed.
Need to get 183 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ saucy/main ca-certificates all 20130610 [183 kB]
Fetched 183 kB in 0s (262 kB/s)         
dpkg: error processing ca-certificates (--configure):
 package ca-certificates is not ready for configuration
 cannot configure (current status 'half-installed')
dpkg: dependency problems prevent configuration of python3-httplib2:
 python3-httplib2 depends on ca-certificates; however:
 Package ca-certificates is not installed.
dpkg: error processing python3-httplib2 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
       Errors were encountered while processing:
 ca-certificates
 python3-httplib2 
E: Sub-process /usr/bin/dpkg returned an error code (1)

Alguém por favor pode me ajudar a resolver esse problema? Eu gostaria de solucionar esse problema e manter minha instalação!

O que acontece quando você tenta remover um desses pacotes?

sudo apt-get purge ca-certificates
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:
 ca-certificates-java : Depends: ca-certificates (>= 20121114) but it is not going to be installed
 liblwp-protocol-https-perl : Depends: ca-certificates but it is not going to be installed
 libwww-perl : Depends: ca-certificates but it is not going to be installed
 python-httplib2 : Depends: ca-certificates but it is not going to be installed
 python3-httplib2 : Depends: ca-certificates but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    
por heypaleblue 11.11.2013 / 19:42

0 respostas