July 26th, 2010

Ubuntu apt-get install failure fix

This post is to add to a search anyone trying to figure out how to fix "apt-get install" failing. This was Ubuntu 9.10, attempting to install php-pear:
apt-get install php-pear

The error was:
E: Internal Error, Could not perform immediate configuration (2) on mountall

What I did was:
cd /var/cache/apt/archives/
dpkg -i --force-depends *

Then after a bunch of output:
apt-get -f install

That did the trick! Hope this helps if you stumble upon this issue.