* Fri 2007-10-05 James Vega <jamessan AT debian.org> INBOX

> In my testing, I started with a basic chroot, installed vim-tiny (to
> get to the normal state of a base install) and then vim.
>
>>     apt-get --purge remove vim vim-tiny vim-runtime
>>     apt-get install vim

That's why I wanted to double check that I saw righ by reinstalling the
packages with standard commands, hoping that the situation would clear
up.

>>     $ ls -la /usr/bin/vim
>>     ls: /usr/bin/vim: No such file or directory
>> 
>>     $ ls -la /etc/alternatives/vim
>>     /etc/alternatives/vim -> /usr/bin/vim-basic
>
> I've never seen an alternative pointing to vim-basic.  We've always used
> a '.' to separate the variant from the name 'vim'.

What program/package controls the /etc/alternatives/vim symlink? It
looks like it's not getting proper attanetion.

> Please post the output of "update-alternatives --display vi" and
> "update-alternatives --display vim".  The very old dates and odd links
> make it look like the alternatives have been manually altered and aren't
> under control of the maintainer scripts anymore.

Hm, it says "manual", but config lists "+" in correct place?

Jari

-----------------------------------------------------------------------

$ update-alternatives --display vim
vim - status is manual.
 link currently points to /usr/bin/vim-basic
/usr/bin/vim.basic - priority 30
/usr/bin/vim.tiny - priority 10
Current `best' version is /usr/bin/vim.basic.

$ update-alternatives --config vim

There are 2 alternatives which provide `vim'.

  Selection    Alternative
-----------------------------------------------
 +        1    /usr/bin/vim.basic
          2    /usr/bin/vim.tiny

-----------------------------------------------------------------------
$ update-alternatives --display vi
vi - status is manual.
 link currently points to /usr/bin/vim
/usr/bin/nvi - priority 20
 slave vi.1.gz: /usr/share/man/man1/nvi.1.gz
/usr/bin/e3vi - priority 10
 slave vi.1.gz: /usr/share/man/man1/e3vi.1.gz
/usr/bin/vim.basic - priority 30
 slave vi.1.gz: /usr/share/man/man1/vim.1.gz
 slave vi.it.UTF-8.1.gz: /usr/share/man/it.UTF-8/man1/vim.1.gz
 slave vi.pl.UTF-8.1.gz: /usr/share/man/pl.UTF-8/man1/vim.1.gz
 slave vi.pl.1.gz: /usr/share/man/pl/man1/vim.1.gz
 slave vi.it.1.gz: /usr/share/man/it/man1/vim.1.gz
 slave vi.fr.1.gz: /usr/share/man/fr/man1/vim.1.gz
 slave vi.fr.UTF-8.1.gz: /usr/share/man/fr.UTF-8/man1/vim.1.gz
 slave vi.fr.ISO8859-1.1.gz: /usr/share/man/fr.ISO8859-1/man1/vim.1.gz
 slave vi.pl.ISO8859-2.1.gz: /usr/share/man/pl.ISO8859-2/man1/vim.1.gz
 slave vi.it.ISO8859-1.1.gz: /usr/share/man/it.ISO8859-1/man1/vim.1.gz
 slave vi.ru.1.gz: /usr/share/man/ru/man1/vim.1.gz
/usr/bin/vim.tiny - priority 10
 slave vi.1.gz: /usr/share/man/man1/vim.1.gz
 slave vi.it.UTF-8.1.gz: /usr/share/man/it.UTF-8/man1/vim.1.gz
 slave vi.pl.UTF-8.1.gz: /usr/share/man/pl.UTF-8/man1/vim.1.gz
 slave vi.pl.1.gz: /usr/share/man/pl/man1/vim.1.gz
 slave vi.it.1.gz: /usr/share/man/it/man1/vim.1.gz
 slave vi.fr.1.gz: /usr/share/man/fr/man1/vim.1.gz
 slave vi.fr.UTF-8.1.gz: /usr/share/man/fr.UTF-8/man1/vim.1.gz
 slave vi.fr.ISO8859-1.1.gz: /usr/share/man/fr.ISO8859-1/man1/vim.1.gz
 slave vi.pl.ISO8859-2.1.gz: /usr/share/man/pl.ISO8859-2/man1/vim.1.gz
 slave vi.it.ISO8859-1.1.gz: /usr/share/man/it.ISO8859-1/man1/vim.1.gz
 slave vi.ru.1.gz: /usr/share/man/ru/man1/vim.1.gz
Current `best' version is /usr/bin/vim.basic.

-- 
Welcome to FOSS revolution: we fix and modify until it shines



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to