[Bug 275410] Re: sensible-browser not working

Michael Casadevall sonicmctails at gmail.com
Sat Oct 4 20:22:48 UTC 2008


Its a major bug in Xubuntu, and x-www-browser is also affected, this
causes our help system which calls x-www-browser to crash and burn
miserably. Also breaks links in X-Chat and probably a few other things.

Here are my comments from the xubuntu-meta bug. Steve already came to
the same conclusion why the script is broken so here are my remaining
notes:

This is a bug in firefox that manifested when we removed midori as the
default browser.

mcasadevall at blacksteel:~/src/linux-ports-2.6.25/debian$ update-alternatives --list x-www-browser
/usr/bin/firefox-3.0
/usr/bin/midori

mcasadevall at blacksteel:~/src/linux-ports-2.6.25/debian$ firefox-3.0 
exec: 118: /usr/lib/firefox-3.0.3/firefox-3.0: not found

>From the rules:
    update-alternatives --install /usr/bin/x-www-browser \
        x-www-browser /usr/bin/$APPNAME 40
    touch $LIBDIR/.autoreg

This is what cases the alternative to point to firefox-3.0 instead of
firefox, and thus breaks x-www-browser.

I concur with Steve's solution that the best way to fix this bug is have
the script check for a matching name, and fall back on $LIBDIR/firefox
if no other things are found.

-- 
firefox wrapper script breaks sensible-browser, gnome-www-browser, and firefox-3.0
https://bugs.launchpad.net/bugs/275410
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox-3.0 in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list