Same here.
Also after a dist-upgrade from 16.04 to 18.04:

moved all entries in /var/lib/locales/supported.d to dot-files:
--8<--
$ ls -al /var/lib/locales/supported.d
insgesamt 24
drwxr-xr-x 2 root root 4096 Jul 24 05:02 .
drwxr-xr-x 3 root root 4096 Dez 18  2010 ..
-rw-r--r-- 1 root root  126 Jul 17 10:35 .de
-rw-r--r-- 1 root root  294 Jul 17 10:28 .en
-rw-r--r-- 1 root root   26 Okt 12  2017 .nds
-rw-r--r-- 1 root root   48 Jul 17 10:44 .nl
-->8--

set locales to:
--8<--
$ grep -v \# /etc/locale.gen 
de_DE.UTF-8 UTF-8
en_US.UTF-8 UTF-8
-->8--

regenerated locales:
--8<--
$ sudo locale-gen --purge
Generating locales (this might take a while)...
  de_DE.UTF-8... done
  en_US.UTF-8... done
Generation complete.
-->8--


tex-common is stil broken:
--8<--
$ sudo dpkg --configure -a
tex-common (6.09) wird eingerichtet ...
Running mktexlsr. This may take some time... done.
Running updmap-sys. This may take some time... done.
Running mktexlsr /var/lib/texmf ... done.
Building format(s) --all.
        This may take some time... 
fmtutil failed. Output has been stored in
/tmp/fmtutil.iBipwgIc
Please include this file if you report a bug.

dpkg: Fehler beim Bearbeiten des Paketes tex-common (--configure):
 Unterprozess installed tex-common package post-installation script gab den 
Fehler-Ausgangsstatus 1 zurück
Fehler traten auf beim Bearbeiten von:
 tex-common
-->8--

File /tmp/fmtutil.iBipwgIc has two emergency stops:
--8<-- 1st stop --8<--
fmtutil: running `luatex -ini   -jobname=lualatex -progname=lualatex 
lualatex.ini' ...
This is LuaTeX, Version 1.0.4 (TeX Live 2017/Debian)  (INITEX)
 restricted system commands enabled.
(/usr/share/texlive/texmf-dist/tex/latex/zxjatype/latexconfig/lualatex.ini
(/var/lib/texmf/tex/generic/config/pdftexconfig.tex
! Undefined control sequence.
l.6 \pdfoutput
                       = 1
? 
! Emergency stop.
l.6 \pdfoutput
                       = 1
!  ==> Fatal error occurred, bad output DVI file produced!
No pages of output.
Transcript written on lualatex.log.
-->8--


--8<--2nd stop --8<--
fmtutil: running `luatex -ini   -jobname=dvilualatex -progname=dvilualatex 
dvilualatex.ini' ...
This is LuaTeX, Version 1.0.4 (TeX Live 2017/Debian)  (INITEX)
 restricted system commands enabled.
(/usr/share/texlive/texmf-dist/tex/generic/tex-ini-files/dvilualatex.ini
(/usr/share/texlive/texmf-dist/tex/latex/zxjatype/latexconfig/lualatex.ini
(/var/lib/texmf/tex/generic/config/pdftexconfig.tex
! Undefined control sequence.
l.6 \pdfoutput
                       = 1
? 
! Emergency stop.
l.6 \pdfoutput
                       = 1
!  ==> Fatal error occurred, bad output DVI file produced!
No pages of output.
Transcript written on dvilualatex.log
-->8--

There is no lualatex.log only a dvilualatex.log exists:
--8<--
$ sudo find / -type f -iname "*lualatex.log*"
/root/dvilualatex.log
-->8--

so the log says:
--8<--
$ sudo cat /root/dvilualatex.log 
This is LuaTeX, Version 0.95.0 (TeX Live 2016/Debian)  (INITEX)  9 SEP 2017 
14:17
 restricted system commands enabled.
**dvilualatex.ini
(/usr/share/texlive/texmf-dist/tex/generic/tex-ini-files/dvilualatex.ini
(/usr/share/texlive/texmf-dist/tex/latex/zxjatype/latexconfig/lualatex.ini
! I can't find file `pdftexconfig.tex'.
l.22 \input pdftexconfig.tex
                          
(Press Enter to retry, or Control-D to exit)
Please type another input file name: 
! I can't find file `pdftexconfig'.
l.22 \input pdftexconfig.tex
                          
(Press Enter to retry, or Control-D to exit)
Please type another input file name: 
! Emergency stop.
l.22 \input pdftexconfig.tex
                          
End of file on the terminal!

!  ==> Fatal error occurred, bad output DVI file produced!
No pages of output.
-->8--

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1746865

Title:
  package tex-common 6.09 failed to install/upgrade: installed tex-
  common package post-installation script subprocess returned error exit
  status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tex-common/+bug/1746865/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to