Attempting to install tex-common on Ubuntu 16.04.
apt-get update
apt-get install tex-common
Fails, with /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)
Any suggestions? Tried some of the suggestions mentioned here