Mesma situação para mim, resolvida com estes passos:
sudo apt remove --purge tex-common texlive-*
sudo rm -rf /etc/texmf/
sudo apt install tex-common texlive-base texlive-latex-recommended texlive-latex-extra texlive-fonts-recommened latex-cjk-all
Tentativa de instalar tex-common no Ubuntu 16.04.
apt-get update
apt-get install tex-common
Falha, com /usr/sbin/update-updmap: line 235: bin/mkdir: No such file or directory
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
tex-common
0 upgraded, 1 newly installed, 0 to remove and 44 not upgraded.
Need to get 0 B/545 kB of archives.
After this operation, 851 kB of additional disk space will be used.
Selecting previously unselected package tex-common.
(Reading database ... 214063 files and directories currently installed.)
Preparing to unpack .../tex-common_6.04_all.deb ...
Unpacking tex-common (6.04) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up tex-common (6.04) ...
/usr/sbin/update-updmap: line 235: bin/mkdir: No such file or directory
dpkg: error processing package tex-common (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
tex-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
Alguma sugestão? Tentei algumas das sugestões mencionadas aqui
Mesma situação para mim, resolvida com estes passos:
sudo apt remove --purge tex-common texlive-*
sudo rm -rf /etc/texmf/
sudo apt install tex-common texlive-base texlive-latex-recommended texlive-latex-extra texlive-fonts-recommened latex-cjk-all