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

Bug#3226: pkg update-alternatives confusion



(Note changed bugs CC - you'll find that this will work (when I run
the queue), though lists.debian.org is down so you haven't seen the
announcement.)

Bill Mitchell writes ("Re: Bug#3226: pkg update-alternatives confusion"):
...
> *** OK -- I see the "To return to automatic updates ..." message.  It had
> *** previusly gotten lost in the forest. 

If you have suggestions about which messages I should remove please go
ahead.

> # update-alternatives --auto vi
> Setting up automatic selection of vi.
> Checking available versions of vi, updating links in /etc/alternatives ...
> (You may modify the symlinks there yourself if desired - see `man ln'.)
> Updating vi (/usr/bin/vi) to point to /usr/bin/vim.
> Leaving vi.1 (/usr/man/man1/vi.1) pointing to /usr/man/man1/vim.1.
>  
> *** Hmmmm... I didn't want it set to vim, I just wanted it set back to
> *** auto and left pointing wherever it was pointing, so that subsequent
> *** installs and removes would update the /etc/alternatives links.

Could you please do `update-alternatives --display vi' ?

...
> # dpkg --status vim
> Package: vim
> Status: unknown ok not-installed
> Priority: optional
> Section: editors
>
> *** vim's not even installed.  I've now broken /usr/bin/vi.

Is there any vi package that set up its vi link as vim ?  Please grep
/var/lib/dpkg/info/* for vim ...

> # dpkg --version
> Debian Linux `dpkg' package management program version 1.2.0 (i386 elf).
> Copyright 1994-1996 Ian Jackson, Bruce Perens.  This is free software;
> see the GNU General Public Licence version 2 or later for copying
> conditions.  There is NO warranty.  See dpkg --licence for details.
> # exit

Thanks, that shouldn't make much of a difference.  I'd strongly
recommend moving to 1.2.3 ASAP though - 1.2.0 was rather buggy.

Ian.


Reply to: