The problem is that kpsewhich is looking for files in /usr/share, but /usr/share is not in $PATH so it doesn't know to look there. To solve this, I added /usr/share to the root $PATH by doing:
$ sudo -s # $PATH=$PATH:/usr/share # sudo apt-get install <whatever was causing the problem> and it should work fine! -- Update manager hangs during install from Feisty to Gutsy https://bugs.launchpad.net/bugs/153880 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs