dpkg erro ao usar o apt-get install

1

Eu atualizei para o Ubuntu 14.04 a partir de 12.04 e cada vez que eu uso apt-get install para qualquer pacote, ele termina com um monte de erros sobre o processamento de alguns dos meus pacotes de látex. Incluindo um snippet abaixo:

Sometimes, not accepting conffile updates in /etc/texmf/updmap.d
causes updmap-sys to fail.  Please check for files with extension
.dpkg-dist or .ucf-dist in this directory

dpkg: error processing package tex-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of lmodern:
lmodern depends on tex-common (>= 3); however:
Package tex-common is not configured yet.

Reproduzido usando sudo dpkg --configure -a e uma lista total de pacotes com este erro está incluída aqui:

Errors were encountered while processing:
tex-common
texlive-publishers
tex-gyre
texlive-latex-extra-doc
texlive-fonts-extra-doc
texlive-lang-english
texlive-luatex
texlive-generic-recommended
texlive-pstricks-doc
texlive-fonts-recommended
latex2html
latex-xcolor
texlive-pictures
texlive-fonts-extra
texlive-pictures-doc
asymptote
texlive-bibtex-extra
texlive-latex-recommended-doc
texlive-latex-recommended
doxygen-latex
texlive-pstricks
tipa
texlive-latex-base
texlive-fonts-recommended-doc
latex-beamer
texlive-font-utils
texlive-latex-base-doc
texlive-latex-extra
texlive-extra-utils
texlive
texlive-publishers-doc
lmodern

Alguma idéia de como corrigir isso?

Editar 1: Adicionando o resultado da tentativa de sudo apt-get install -f :

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
32 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up tex-common (4.04) ...
Ignoring /etc/texmf/texmf.d/05TeXMF.cnf during generation of texmf.cnf, please  remove manually!
Ignoring /etc/texmf/texmf.d/15Plain.cnf during generation of texmf.cnf, please remove manually!
Ignoring /etc/texmf/texmf.d/80DVIPDFMx.cnf during generation of texmf.cnf, please remove manually!

Running mktexlsr. This may take some time... done.
Running updmap-sys. This may take some time... 
updmap-sys failed. Output has been stored in
/tmp/updmap.DJoQcW7n
    
por V-T 25.08.2014 / 12:30

3 respostas

0

A remoção dos pacotes ofensivos e sua reinstalação (e dependências) corrigiram o problema completamente.

Este é aparentemente um bug como foi observado pelo usuário Andrea.

    
por V-T 26.08.2014 / 10:52
0

se o problema ocorrer com o apt-get it self, tente verificar o seu repositório de software em:

/etc/apt/sources.list

e substitua o conteúdo por repositórios apropriados, dependendo da sua localização, faça:

sudo apt-get update
    
por Iman Fazel 25.08.2014 / 12:38
0

Antes de mais nada, você deve tentar corrigir problemas de dependência antes de instalar novos pacotes. Tente executar:

sudo apt-get install -f

Em seguida, tente novamente instalar o pacote de desejos.

    
por Andrea Lazzarotto 25.08.2014 / 12:45