Alternatives problems

Stefano Zacchiroli zack at
Wed Mar 15 15:27:01 UTC 2006

On Tue, Mar 14, 2006 at 10:33:52PM -0500, James Vega wrote:
> I noticed today that there is a slight problem with installing multiple
> variants alongside each other.  As an example, both vim-perl and
> vim-python would run the following command in their postinst:
>   update-alternatives \
>     --install /usr/bin/vi vi /usr/bin/vim 50 \
>     --slave $mandir/vi.1.gz vi.1.gz $mandir/vim.1.gz
> This results in only one entry listed in update-alternatives:

Weren't we used to have the non-variant alternatives handling in
non-variant packages? I.e.: why that code is in vim-{perl,python,...}
instead of being in vim-common?

I understand it will create dangling symlink there, but it seems to be
the right place and will fix the above problem.

Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
zack@{,,} -%-
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url :

More information about the pkg-vim-maintainers mailing list