[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

update-alternatives



I have checked the man page and the Debian Handbook but I am not sure
how to influence the 'auto' setting for update-alternatives.

eg.

 % update-alternatives --config x-www-browser
update-alternatives --config x-www-browser
There are 6 choices for the alternative x-www-browser (providing /usr/bin/x-www-browser).

  Selection    Path                       Priority   Status
------------------------------------------------------------
  0            /usr/bin/google-chrome      200       auto mode
  1            /usr/bin/dillo              50        manual mode
  2            /usr/bin/epiphany-browser   85        manual mode
  3            /usr/bin/google-chrome      200       manual mode
* 4            /usr/bin/iceweasel          70        manual mode
  5            /usr/bin/opera              200       manual mode
  6            /usr/bin/xlinks2            69        manual mode

Press enter to keep the current choice[*], or type selection number: 

The man page says (and this for me is unclear):

When using the --config option, update-alternatives will list all of the
choices for the link group of which given name is the master alternative
name. The current choice is marked with a '*'.  You will then be
prompted for your choice regarding this link group.  Depending on the
choice made, the link group might no longer be in auto mode.  You will
need to use the --auto option in order to return to the automatic mode
(or you can rerun --config and select the entry marked as automatic).


I cannot figure out from this how to get to 'auto' mode.  After choosing
iceweasel in the screen shown above, when I run the --auto option I
still get :

% sudo update-alternatives --auto x-www-browser
sudo update-alternatives --auto x-www-browser
update-alternatives: using /usr/bin/google-chrome to provide /usr/bin/x-www-browser (x-www-browser) in auto mode

So what does the --auto option do otherwise than showing me what I have
already seen in the --config screen?

Regards
Johann
-- 
Johann Spies                            Telefoon: 021-808 4699
Databestuurder /  Data manager

Sentrum vir Navorsing oor Evaluasie, Wetenskap en Tegnologie
Centre for Research on Evaluation, Science and Technology 
Universiteit Stellenbosch.

     "Let not your heart be troubled: ye believe in God, 
      believe also in me."       John 14:1 
E-pos vrywaringsklousule

Hierdie e-pos mag vertroulike inligting bevat en mag regtens geprivilegeerd wees en is slegs bedoel vir die persoon aan wie dit geadresseer is. Indien u nie die bedoelde ontvanger is nie, word u hiermee in kennis gestel dat u hierdie dokument geensins mag gebruik, versprei of kopieer nie. Stel ook asseblief die sender onmiddellik per telefoon in kennis en vee die e-pos uit. Die Universiteit aanvaar nie aanspreeklikheid vir enige skade, verlies of uitgawe wat voortspruit uit hierdie e-pos en/of die oopmaak van enige lês aangeheg by hierdie e-pos nie.

E-mail disclaimer

This e-mail may contain confidential information and may be legally privileged and is intended only for the person to whom it is addressed. If you are not the intended recipient, you are notified that you may not use, distribute or copy this document in any manner whatsoever. Kindly also notify the sender immediately by telephone, and delete the e-mail. The University does not accept liability for any damage, loss or expense arising from this e-mail and/or accessing any files attached to this e-mail.


Reply to: