I did some searching on this error, and have managed to fix it on my
machine. The solution is (to me) risky and not very elegant, but if you
want to try it, here it is:

sudo apt-get remove tex-common
sudo rm -rf /etc/texmf
sudo apt-get install tex-common
   *** This will generate errors, because the command two lines above blew away 
the config files. In the error message, Ubuntu will note which commands need to 
be run to recreate the config files. Run these commands one at a time, running 
"sudo" before each one (I tried running them together as listed and only the 
first one worked. No surprise there.) Once the config files are recreated, run 
the sudo apt-get install tex-common command again. This time it should run with 
no errors.
sudo apt-get install texlive-*
   *** If all has gone well to this point, the texlive install will ask you 
several times if you want to install generic config files to replace missing 
ones (because you blew them away when you ran the "rm" command above). Always 
be sure to answer "y". Note the default is "n", so you can't just hit the Enter 
key to get past the prompt.

H/T to the discussion thread on AskUbuntu found here:

http://askubuntu.com/questions/512848/tex-common-troubleshooting-on-
ubuntu-14-04-lts

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

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to