Dear Norbert, it turned out that dpkg-reconfigure has a problem with my PATH, i.e. my path is prepended with: PATH=.:bin:{{other dirs}} when I modified it into PATH=.:{{other dirs}} dpkg had no more problems. My guess is that all this came out with the last version of bash, upgraded just a few days ago. In fact, if I try to run update-updmap from directory / as probably dpkg is doing, with bin inside my path I obtain:
root@fulvio:/# echo $PATH bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin:/usr/sbin root@fulvio:/# update-updmap Regenerating '/var/lib/texmf/updmap.cfg-DEBIAN'... done. /usr/sbin/update-updmap: line 235: bin/mkdir: No such file or directory wow, lots of problems with bin in the path: root@fulvio:/# cd /usr/sbin root@fulvio:/usr/sbin# ls bash: bin/ls: No such file or directory ok, nothing to do with tex-common anyhow, sorry. Fulvio On Tue, 28 Aug 2018 12:16:07 +0200, Norbert Preining wrote: > > Hi, > > > root@fulvio:/home/fc# dpkg --configure tex-common > > That doesn't work for me at all: > $ dpkg --configure tex-common > dpkg: error processing package tex-common (--configure): > package tex-common is already installed and configured > Errors were encountered while processing: > tex-common > $ > > But I tried dpkg-reconfigure which should do the same: > $ dpkg-reconfigure tex-common > Running mktexlsr. This may take some time... done. > Running mtxrun --generate. 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... done. > $ > > Can you please edit > /var/lib/dpkg/info/tex-common.postinst > and add a > set -x > near the top, then call dpkg --configure again and send the output, > probably capturing it with tee or similar method. > > Thanks. > > Norbert > > -- > PREINING Norbert http://www.preining.info > Accelia Inc. + JAIST + TeX Live + Debian Developer > GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13