Update Problems
Avi Greenbury
lists at avi.co
Wed Aug 22 12:42:16 UTC 2012
Liam Proven wrote:
> Try
>
> sudo apt-get install -f
Worth trying as it is, this isn't all that likely to help. The problem
that started this is in this error message:
> > E: firefox: subprocess installed post-installation script returned
> > error exit status 2
Which means that dpkg opened up the firefox package, installed it then
ran the post-install script which failed. And unfortunately there's no
way of getting any more information than that out of dpkg.
You can try manually running the postinst script to see if it produces
any useful output. If, in a terminal, you do
sudo /var/lib/dpkg/info/firefox.postinst configure
you'll replicate what apt tried to do, and perhaps see some useful
output. Checking the Iceweasel equivalent on my machine here, it
doesn't seem to do anything particularly hard or complex, so I'm not
sure how or why it'd fail like that. Do be aware, though, that you're
running a script as root here - you might want to read through the
script first to make sure it's not going to do anything you don't want
it to.
--
Avi
More information about the ubuntu-users
mailing list