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 Desktop
Packages, which is subscribed to tex-common in 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

Status in tex-common package in Ubuntu:
  Confirmed

Bug description:
  I was updating the packages provided by the software updater.

  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: tex-common 6.09
  ProcVersionSignature: Ubuntu 4.13.0-25.29-generic 4.13.13
  Uname: Linux 4.13.0-25-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.20.8-0ubuntu7
  Architecture: amd64
  Date: Thu Feb  1 15:31:53 2018
  ErrorMessage: installed tex-common package post-installation script 
subprocess returned error exit status 1
  PackageArchitecture: all
  Python3Details: /usr/bin/python3.6, Python 3.6.4, python3-minimal, 
3.6.3-0ubuntu2
  PythonDetails: /usr/bin/python2.7, Python 2.7.14+, python-minimal, 
2.7.14-2ubuntu1
  RelatedPackageVersions:
   dpkg 1.19.0.4ubuntu1
   apt  1.6~alpha7ubuntu1
  SourcePackage: tex-common
  Title: package tex-common 6.09 failed to install/upgrade: installed 
tex-common package post-installation script subprocess returned error exit 
status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to