dpkg: arquivo de processamento de erros com o texmaker

0

Estou tentando instalar a versão mais recente do texmaker, seguindo esta resposta . Ele falhou e eu tentei algumas soluções postadas na internet como isso , mas sem sorte!

Verifique minha saída:

gsamaras@gsamaras:~$ sudo dpkg -i Downloads/texmaker_ubuntu_14.04_4.4.1_i386.deb 
(Reading database ... 380253 files and directories currently installed.)
Preparing to unpack .../texmaker_ubuntu_14.04_4.4.1_i386.deb ...
Unpacking texmaker (4.4.1) ...
dpkg: error processing archive Downloads/texmaker_ubuntu_14.04_4.4.1_i386.deb (--install):
 trying to overwrite '/usr/share/texmaker/doc6.png', which is also in package texmaker-data 4.1-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 Downloads/texmaker_ubuntu_14.04_4.4.1_i386.deb
gsamaras@gsamaras:~$ sudo dpkg -P nginx-common
dpkg: warning: ignoring request to remove nginx-common which isn't installed

O que devo fazer?

Editar: removi o anterior. instalação:

gsamaras@gsamaras:~$ sudo apt-get purge texmaker
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'texmaker' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  account-plugin-windows-live asymptote asymptote-doc freeglut3 gdebi-core
  gksu latex-beamer latex-xcolor libgksu2-0 libgsl0ldbl liblouis-data
  liblouis2 libpoppler-qt4-4 libsigsegv2 libupstart1 linux-headers-3.16.0-30
  linux-headers-3.16.0-30-generic linux-headers-3.16.0-40
  linux-headers-3.16.0-40-generic linux-image-3.16.0-30-generic
  linux-image-3.16.0-40-generic linux-image-extra-3.16.0-30-generic
  linux-image-extra-3.16.0-40-generic pgf preview-latex-style prosper ps2eps
  python-imaging-tk python3-brlapi python3-louis python3-pyatspi
  python3-speechd texlive-extra-utils texlive-font-utils
  texlive-generic-recommended texlive-lang-english texlive-latex-extra
  texlive-latex-extra-doc texlive-latex-recommended
  texlive-latex-recommended-doc texlive-pictures texlive-pictures-doc
  texlive-pstricks texlive-pstricks-doc texmaker-data
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
    
por gsamaras 07.08.2015 / 13:19

1 resposta

1

Você pode forçar o dpkg a gravar arquivos por:

sudo dpkg -i --force-overwrite Downloads/texmaker_ubuntu_14.04_4.4.1_i386.deb

Execute também sudo apt-get -f install para garantir que tudo esteja OK.

    
por Ron 07.08.2015 / 13:31