I must have messed up my latex installation and I do not know how to clean it up. Some time ago I installed the emerald fonts using the procedure detailed at
After some troubles and a new installation of a lot of stuff on my system, if I now try to install latex/tex, here is what I get
Setting up tex-common (6.06) ...
Running mktexlsr. This may take some time... done.
Running updmap-sys. This may take some time...
updmap-sys failed. Output has been stored in
Please include this file if you report a bug.
Sometimes, not accepting conffile updates in /etc/texmf/updmap.d
causes updmap-sys to fail. Please check for files with extension
.dpkg-dist or .ucf-dist in this directory
dpkg: error processing package tex-common (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
If I look at the log file this is what I get
$ sudo more /tmp/updmap.am0ezlnt
updmap will read the following updmap.cfg files (in precedence order):
updmap may write changes to the following updmap.cfg file:
dvips output dir: "/var/lib/texmf/fonts/map/dvips/updmap"
pdftex output dir: "/var/lib/texmf/fonts/map/pdftex/updmap"
dvipdfmx output dir: "/var/lib/texmf/fonts/map/dvipdfmx/updmap"
updmap [ERROR]: The following map file(s) couldn't be found:
updmap [ERROR]: emerald.map
(in /root/.texlive2016/texmf-config /web2c/updmap.cfg)
updmap [ERROR]: Did you run mktexlsr?
You can disable non-existent map entries using the option
I reran mktexlsr and used syncwithtrees without success. I am banging my head against the wall and google did not help. Any suggestion is appreciated.