On Sat, Oct 13, 2007 at 10:43:54AM +0200, Raphael Hertzog wrote:
> $ LANG=C update-alternatives --display vim
> vim - status is manual.

Uhm, are you sure this bug does apply only when the alternatives status
is manual? It happened to me as well and I'm quite sure mine
alternatives were set to "auto".

Nevertheless I ended up with vim/gvim returning both "command not
found".

For me, since the alternatives where automatic, the proper fix has been:

  # update-alternatives --auto vim
  # update-alternatives --auto gvim

Some other ways of reestablishing the proper alternatives (e.g.
update-alternatives --config vim/gvim) did not work, since the
alternatives system sees only one alternative and refuse to make the
user choose "among" them.

James, I think we can probably do an (conditional, only if set to some
of the disappeared variants) update-alternatives --auto in the postinst
or something like that.  This would change the semantics of manual
alternatives, but they would be broken anyhow, now that some variants
disappeared.

Cheers.

-- 
Stefano Zacchiroli -*- PhD in Computer Science ............... now what?
[EMAIL PROTECTED],debian.org,bononia.it} -%- http://www.bononia.it/zack/
(15:56:48)  Zack: e la demo dema ?    /\    All one has to do is hit the
(15:57:15)  Bac: no, la demo scema    \/    right keys at the right time

Attachment: signature.asc
Description: Digital signature

Reply via email to