1 votes

Suppression et réinstallation de texlive 2012

J'ai un problème avec texlive. Pour une raison quelconque, je n'arrive plus à charger le paquet siunitx. Comme j'ai eu des problèmes avec Texlive auparavant, j'ai accidentellement installé 2 versions l'une à côté de l'autre avec des dépendances de chemin. Pour une raison dont je ne me souviens pas, j'ai alors décidé de supprimer texlive en supprimant tous les dossiers dans lesquels tex était présent.

Maintenant j'ai essayé de réinstaller texlive, https://askubuntu.com/a/163683/27480 . Mais pendant l'installation, l'erreur suivante s'est produite :

[09:43|0] $ sudo apt-get install texlive-full
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  passivetex jadetex xmltex
The following NEW packages will be installed:
  texlive-full
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
22 not fully installed or removed.
Need to get 0 B/37.3 kB of archives.
After this operation, 106 kB of additional disk space will be used.
Selecting previously unselected package texlive-full.
(Reading database ... 630109 files and directories currently installed.)
Unpacking texlive-full (from .../texlive-full_2012.20120611-3~ubuntu12.04.1_all.deb) ...
Setting up tex-common (3.13~ubuntu12.04.1) ...
Directory /etc/texmf/ not writeable. Exiting.
dpkg: error processing tex-common (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of cm-super:
 cm-super depends on tex-common (>= 2.00); however:
  Package tex-common is not configured yet.
dpkg: error processing cm-super (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of context:
 context depends on tex-common (>= 3); however:
  Package tex-common is not configured yet.
dpkg: error processing context (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of context-modules:
 context-modules depends on context (>> 2011); however:
  Package context is not configured yet.
 context-modules depends on tex-common (>= 3); however:
  Package tex-common is not configured yet.
dpkg: error processing context-modules (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems pNo apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                                                     No apport report written because the error message indicates its a followup error from a previous failure.
                                                         No apport report written because MaxReports is reached already
                                                                                                                       No apport report written because MaxReports is reached already
                                                                                                                                                                                     No apport report written because MaxReports is reached already
                                                             No apport report written because MaxReports is reached already
                                                                                                                           No apport report written because MaxReports is reached already
   No apport report written because MaxReports is reached already
                                                                 No apport report written because MaxReports is reached already
                                                                                                                               revent configuration of latex-cjk-chinese:
 latex-cjk-chinese depends on tex-common (>= 3); however:
  Package tex-common is not configured yet.
dpkg: error processing latex-cjk-chinese (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of latex-cjk-japanese:
 latex-cjk-japanese depends on tex-common (>= 3); however:
  Package tex-common is not configured yet.
dpkg: error processing latex-cjk-japanese (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of latex-cjk-korean:
 latex-cjk-korean depends on tex-common (>= 3); however:
  Package tex-common is not configured yet.
dpkg: error processing latex-cjk-korean (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of latex-cjk-thai:
 latex-cjk-thai depends on tex-common (>= 3); however:
  Package tex-common is not configured yet.
dpkg: error processing latex-cjk-thai (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of latex-cjk-all:
 latex-cjk-all depends on latex-cjk-chinese (>= 4.8.3+git20120621-1~ubuntu12.04.1); however:
  Package latex-cjk-chinese is not configured yet.
 latex-cjk-all depends on latex-cjk-japanese (>= 4.8.3+git20120621-1~ubuntu12.04.1); however:
  Package latex-cjk-japanese is not configured yet.
 latex-cjk-all depends on latex-cjk-korean (= 4.8.3+git20120621-1~ubuntu12.04.1); however:
  Package latex-cjk-korean is not configured yet.
 latex-cjk-all depends on latex-cjk-thai (= 4.8.3+git20120621-1~ubuntu12.04.1); however:
  Package latex-cjk-thai is not configured yet.
dpkg: error processing latex-cjk-all (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of latex-fonts-thai-tlwg:
 latex-fonts-thai-tlwg depends on tex-common (>= 3); however:
  Package tex-common is not configured yet.
dpkg: error processing latex-fonts-thai-tlwg (--configure):
 dependency problems - leaving unconfigured
Setting up m-tx (0.60d-5~ubuntu12.04.1) ...
warning: kpathsea: configuration file texmf.cnf not found in these directories: /etc/texmf/web2c:/usr/share/texlive/texmf/web2c:/usr/share/texlive/texmf-dist/web2c:/usr/local/share/texmf/web2c.
/var/lib/dpkg/info/m-tx.postinst: 17: /var/lib/dpkg/info/m-tx.postinst: $TEXMFMAIN/web2c/mktexupd: not found
dpkg: error processing m-tx (--configure):
 subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of musixtex:
 musixtex depends on tex-common (>= 3); however:
  Package tex-common is not configured yet.
dpkg: error processing musixtex (--configure):
 dependency problems - leaving unconfigured
Setting up pmx (2.6.18-2~ubuntu12.04.1) ...
No apport report written because MaxReports is reached already
                                                              No apport report written because MaxReports is reached already
                                                                                                                            warning: kpathsea: configuration file texmf.cnf not found in these directories: /etc/texmf/web2c:/usr/share/texlive/texmf/web2c:/usr/share/texlive/texmf-dist/web2c:/usr/local/share/texmf/web2c.
/var/lib/dpkg/info/pmx.postinst: 16: /var/lib/dpkg/info/pmx.postinst: $TEXMFMAIN/web2c/mktexupd: not found
dpkg: error processing pmx (--configure):
 subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of texlive-formats-extra:
 texlive-formats-extra depends on tex-common (>= 3); however:
  Package tex-common is not configured yet.
dpkg: error processing texlive-formats-extra (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-lang-cjk:
 texlive-lang-cjk depends on tex-common (>= 3); however:
  Package tex-common is not configured yet.
dpkg: error processing texlive-lang-cjk (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-lang-cyrillic:
 texlive-lang-cyrillic depends on tex-common (>= 3); however:
  Package tex-common is not configured yet.
dpkg: error processing texlive-lang-cyrillic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration ofNo apport report written because MaxReports is reached already
                                                                                                                No apport report written because MaxReports is reached already
                                                                                                                                                                              No apport report written because MaxReports is reached already
                                                      No apport report written because MaxReports is reached already
                                                                                                                    No apport report written because MaxReports is reached already
                                                                                                                                                                                  No apport report written because MaxReports is reached already
                                                          No apport report written because MaxReports is reached already
                                                                                                                        No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
                                                              No apport report written because MaxReports is reached already
                                                                                                                            No apport report written because MaxReports is reached already
     texlive-lang-czechslovak:
 texlive-lang-czechslovak depends on tex-common (>= 3); however:
  Package tex-common is not configured yet.
dpkg: error processing texlive-lang-czechslovak (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-lang-polish:
 texlive-lang-polish depends on tex-common (>= 3); however:
  Package tex-common is not configured yet.
dpkg: error processing texlive-lang-polish (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-xetex:
 texlive-xetex depends on tex-common (>= 3); however:
  Package tex-common is not configured yet.
dpkg: error processing texlive-xetex (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-math-extra:
 texlive-math-extra depends on tex-common (>= 3); however:
  Package tex-common is not configured yet.
dpkg: error processing texlive-math-extra (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-music:
 texlive-music depends on musixtex (>= 1:0.114-2); however:
  Package musixtex is not configured yet.
 texlive-music depends on tex-common (>= 3); however:
  Package tex-common is not configured yet.
 texlive-music depends on m-tx; however:
  Package m-tx is not configured yet.
 texlive-music depends on pmx; however:
  Package pmx is not configured yet.
dpkg: error processing texlive-music (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-omega:
 texlive-omega depends on tex-common (>= 3); however:
  Package tex-common is not configured yet.
dpkg: error processing texlive-omega (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-full:
 texlive-full depends on texlive-lang-czechslovak (>= 2012.20120516); however:
  Package texlive-lang-czechslovak is not configured yet.
 texlive-full depends on texlive-music (>= 2012.20120516); however:
  Package texlive-music is not configured yet.
 texlive-full depends on texlive-lang-cjk (>= 2012.20120516); however:
  Package texlive-lang-cjk is not configured yet.
 texlive-full depends on latex-cjk-all (>= 4.6.0+cvs20060714-2); however:
  Package latex-cjk-all is not configured yet.
 texlive-full depends on texlive-formats-extra (>= 2012.20120516); however:
  Package texlive-formats-extra is not configured yet.
 texlive-full depends on texlive-xetex (>= 2012.20120516); however:
  Package texlive-xetex is not configured yet.
 texlive-full depends on texlive-math-extra (>= 2012.20120516); however:
  Package texlive-math-extra is not configured yet.
 texlive-full depends on texlive-lang-polish (>= 2012.20120516); however:
  Package texlive-lang-polish is not configured yet.
 texlive-full depends on cm-super (>= 0.3.3-3); however:
  Package cm-super is not configured yet.
 texlive-full depends on texlive-omega (>= 2012.20120516); however:
  Package texlive-omega is not configured yet.
 texlive-full depends on texlive-lang-cyrillic (>= 2012.20120516); however:
  Package texlive-lang-cyrillic is not configured yet.
 texlive-full depends on context; however:
  Package context is not configured yet.
dpkg: error processing texlive-full (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 tex-common
 cm-super
 context
 context-modules
 latex-cjk-chinese
 latex-cjk-japanese
 latex-cjk-korean
 latex-cjk-thai
 latex-cjk-all
 latex-fonts-thai-tlwg
 m-tx
 musixtex
 pmx
 texlive-formats-extra
 texlive-lang-cjk
 texlive-lang-cyrillic
 texlive-lang-czechslovak
 texlive-lang-polish
 texlive-xetex
 texlive-math-extra
 texlive-music
 texlive-omega
 texlive-full
E: Sub-process /usr/bin/dpkg returned an error code (1)

2voto

oook Points 36

Vous semblez avoir un problème d'autorisation d'écriture. Voir la ligne 17 de votre sortie :

Directory /etc/texmf/ not writeable. Exiting.

D'où, tex-common ne peut pas être configuré et puisque tous les autres paquets dépendent de tex-common ils ne peuvent pas non plus être installés. Vérifiez vos droits d'écriture sur /etc/texmf .

J'installe personnellement texlive en utilisant cette installation script sans utiliser les dépôts officiels.

0voto

WG- Points 1630

Ce que j'ai finalement fait en listant tous les paquets concernant tex, dpkg -l tex et les a purgés. Ensuite, une installation normale a fonctionné à nouveau.

SistemesEz.com

SystemesEZ est une communauté de sysadmins où vous pouvez résoudre vos problèmes et vos doutes. Vous pouvez consulter les questions des autres sysadmins, poser vos propres questions ou résoudre celles des autres.

Powered by:

X