[Pkg-chromium-maint] Bug#783858: Unable to start from a symlink (like x-www-browser)
Bob Proulx
bob at proulx.com
Thu Apr 30 21:57:45 UTC 2015
Vincent Bernat wrote:
> /usr/bin/x-www-browser: 95: exec: /usr/lib/chromium/x-www-browser: not found
This reads like a broken symlink. Can you trace through them and see
where it is broken?
$ update-alternatives --display x-www-browser
x-www-browser - auto mode
link currently points to /usr/bin/iceweasel
/usr/bin/chromium - priority 40
/usr/bin/conkeror - priority 20
slave x-www-browser.1.gz: /usr/share/man/man1/conkeror.1.gz
/usr/bin/dwb - priority 50
slave x-www-browser.1.gz: /usr/share/man/man1/dwb.1.gz
/usr/bin/iceweasel - priority 70
slave x-www-browser.1.gz: /usr/share/man/man1/iceweasel.1.gz
/usr/bin/midori - priority 50
slave x-www-browser.1.gz: /usr/share/man/man1/midori.1.gz
/usr/bin/uzbl-browser - priority 10
/usr/bin/xlinks2 - priority 69
slave x-www-browser.1.gz: /usr/share/man/man1/xlinks2.1.gz
Current 'best' version is '/usr/bin/iceweasel'.
And manually tracing the values shows.
$ ls -l /usr/bin/x-www-browser
lrwxrwxrwx 1 root root 31 May 3 2010 /usr/bin/x-www-browser -> /etc/alternatives/x-www-browser
$ ls -l /etc/alternatives/x-www-browser
lrwxrwxrwx 1 root root 18 Dec 29 2013 /etc/alternatives/x-www-browser -> /usr/bin/iceweasel
That is because my default is iceweasel because the priority is 70 for
it and only 40 for chromium. I could manually configure it however.
# update-alternatives --config x-www-browser
There are 7 choices for the alternative x-www-browser (providing /usr/bin/x-www-browser).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/bin/iceweasel 70 auto mode
1 /usr/bin/chromium 40 manual mode
2 /usr/bin/conkeror 20 manual mode
3 /usr/bin/dwb 50 manual mode
4 /usr/bin/iceweasel 70 manual mode
5 /usr/bin/midori 50 manual mode
6 /usr/bin/uzbl-browser 10 manual mode
7 /usr/bin/xlinks2 69 manual mode
Press enter to keep the current choice[*], or type selection number:
Then make a selection as desired and set it to a different browser.
Bob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-chromium-maint/attachments/20150430/bde9ec9d/attachment.sig>
More information about the Pkg-chromium-maint
mailing list