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

Re: Symbolic links in /etc/alternatives not working as intended



On Sun, Apr 11, 2004 at 07:48:29AM +0100, users@linuxforums.org wrote:
> Debian 3.0
> 
> Usage: update-alternatives --install <link> <name>
> <path> <priority>
> [--slave <link> <name> <path>] ...
> 
> <name> is the name in /etc/alternatives.
> <path> is the name referred to.
> <link> is the link pointing to /etc/alternatives/<name>.
> <priority> is an integer; options with higher numbers are
> chosen.
> 
> I'm trying to update my /usr/bin/vi to use gvim instead of vim.
> Currently, /usr/bin/vi is a symbolic link pointing to
> /etc/alternatives/vi.
> 
> david:/home/david# ls -l /usr/bin/vi
> lrwxrwxrwx 1 root root 20 Apr 3 11:49 /usr/bin/vi ->
> /etc/alternatives/vi
> 
Hi,
on my system,
/usr/bin/vi->/etc/alternatives/vi->/usr/bin/vim
does yours/should yours look like:
/usr/bin/vi->/etc/alternatives/vi->/usr/bin/gvim
?
Also, would it help to purge vi,vim,gvim and then install them?
-Kev

Attachment: signature.asc
Description: Digital signature


Reply to: