Public bug reported:

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 .

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: New

-- 
x-www-browser doesn't work with firefox 3.0 in intrepid
https://bugs.launchpad.net/bugs/275269
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to