Update Problems

Dave Henley dhenley1 at live.com
Wed Aug 22 14:56:05 UTC 2012


I already tried the apt-get install -f and it doesn`t produce the desired output.

The sudo /var/lib/dpkg/info/firefox.postinst configure results in the following output:

 update-alternatives: error: /var/lib/dpkg/alternatives/x-www-browser corrupt: line not terminated while trying to read status

What am I to make of this output?

Dave

> Date: Wed, 22 Aug 2012 13:42:16 +0100
> From: lists at avi.co
> To: ubuntu-users at lists.ubuntu.com
> Subject: Re: Update Problems
> 
> 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
> 
> 
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20120822/1e0d9452/attachment.html>


More information about the ubuntu-users mailing list