x-www-browser doesn't work with firefox 3.0 in intrepid

Bug #275269 reported by Jisakiel
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox-3.0 (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: firefox

x-www-browser doesn't work properly with mozilla firefox (as of 3.0.3+build1+nobinonly-0ubuntu1 , in an intrepid system fully dist-upgraded ). The symlink is pointing correctly to /etc/alternatives/x-www-browser, which itself is pointing to /usr/bin/firefox . But when run, x-www-browser crashes with:

$ LC_ALL="en_EN" x-www-browser
/usr/bin/x-www-browser: line 117: /usr/lib/firefox-3.0.3/x-www-browser: No such file or directory
/usr/bin/x-www-browser: line 117: exec: /usr/lib/firefox-3.0.3/x-www-browser: cannot execute: No such file or directory

IF we examine that line, we get:

 exec $LIBDIR/$APPNAME "$@"

which itself is defined at the beginning of the file (line 11) as:

APPNAME=`basename $0`

which, of course, when called from the symlink gets its basename as x-www-browser, so it cannot find the executable and crashes.

Solution would be to add a symlink in the deb package from /usr/lib/firefox-3.0.3/x-www-browser to /usr/lib/firefox-3.0.3/firefox , or to change the /usr/bin/firefox script .

Revision history for this message
Pablo Castellano (pablocastellano) wrote :

Confirmed. This should be triaged but I don't have such permissions.

Changed in firefox-3.0:
status: New → Confirmed
Revision history for this message
Jisakiel (jisakiel) wrote :

Works for me as of 3.0.3+nobinonly-0ubuntu1 .

Revision history for this message
Pablo Castellano (pablocastellano) wrote :

Hello Jisakiel.
What do you mean? What is working x-www-browser or the workaround?

Revision history for this message
Jisakiel (jisakiel) wrote :

/usr/bin/x-www-browser (which points to /etc/alternatives/x-www-browser, pointing to /usr/bin/firefox-3.0, itself pointing to ../lib/firefox-3.0.3/firefox.sh ). I discovered it by luck.

I'd consider this fixed, though I don't know in which revision (I regularly dist-upgrade now that I'm in intrepid).

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. However, I am closing it because the bug has been fixed in the latest development version of Ubuntu - the Jaunty Jackalope. It has also been fixed in Intrepid 8.10 and Hardy 8.04. It won't be fixed in previous versions of Ubuntu because the package doesn't fit the requirements for backporting. See https://help.ubuntu.com/community/UbuntuBackports for more information.

Changed in firefox-3.0:
importance: Undecided → Medium
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.