PS, sorry for all the mails, but did want to add I did NOT remove Chromium.
I simply removed the aforementioned file, ran sudo dpkg --configure -a, and
allowed Firefox to finish updating. All seems well now.


On Fri, May 18, 2012 at 10:36 PM, Mark Miller <[email protected]> wrote:

> Now have a new, much saner-looking /etc/alternatives/gnome-www-browser
> (never looked at it before the problem) which mentions only Firefox. Good
> enough for me. Thanks again for all the help.
>
> On Fri, May 18, 2012 at 9:59 PM, Mark Miller <[email protected]> wrote:
>
>> All right, this is strange. (To me, I've never delved into this
>> particular area before). /var/lib/dpkg/alternatives/gnome-www-browser only
>> contains references to Chromium, but the problems are all with Firefox. I
>> didn't see anything that looked obviously corrupt, and after making a
>> safety copy of the file and editing the one line that seemed suspicious, it
>> returned the same error. So I tried Dave's suggestion and got a message
>> that the file was corrupt. Having a safe copy, I deleted the file and got
>>
>> "Setting up firefox (12.0+build1-0ubuntu0.11.04.1) ...
>> update-alternatives: warning: /etc/alternatives/gnome-www-browser has
>> been changed (manually or by a script). Switching to manual updates only.
>> update-alternatives: using /usr/bin/firefox to provide
>> /usr/bin/gnome-www-browser (gnome-www-browser) in auto mode.
>> update-alternatives: warning: /etc/alternatives/x-www-browser has been
>> changed (manually or by a script). Switching to manual updates only.
>> update-alternatives: using /usr/bin/firefox to provide
>> /usr/bin/x-www-browser (x-www-browser) in auto mode."
>>
>> I am waiting for a download to finish before I restart Firefox. Hmm. I
>> may try deleting Chromium. Not sure what's going on here, HTH
>>
>>
>>
>> On Wed, May 16, 2012 at 2:31 AM, Mark Miller <[email protected]> wrote:
>>
>>> Thank you. Will do.
>>>
>>> On May 16, 2012 2:20 AM, "Micah Gersten" <[email protected]>
>>> wrote:
>>>
>>> I wouldn't suggest running that update-alternatives command as it'll
>>> remove all alternatives for gnome-www-browser.
>>> If you take a look at /var/lib/dpkg/alternatives/gnome-www-browser, you
>>> should be able to see what's invalid there, then you can remove the
>>> corrupted entry by hand and then run:
>>> sudo dpkg --configure -a
>>>
>>> ** Changed in: firefox (Ubuntu)
>>>       Status: New => Incomplete
>>>
>>> -- You received this bug notification because you are subscribed to the
>>> bug report. https://bugs.l...
>>>  Incomplete
>>>
>>> Bug description: Applying automatic updates. First time this automated
>>> process occurred. Very i...
>>>
>>>
>>
>

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

Title:
  package firefox 12.0+build1-0ubuntu0.11.04.1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/999491/+subscriptions

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

Reply via email to