Bug#403967: sarge->etc: ended up with /usr/bin/vim binary from 1.5 years ago

Willi Mann willi at wm1.at
Wed Dec 20 23:12:23 UTC 2006

Package: vim
Version: 1:7.0-122+1
Severity: important

Important because the behaviour is confusing and the way to resolve it is 
by no means on the hand. Maybe even RC as it could it hurt the reputation of 
debian as the "Upgrades-Always-Work" distribution.

 dpkg -l "vim*"
| Status=Nicht/Installiert/Config/U=Entpackt/Fehlgeschl. Konf./Halb install.
|/ Fehler?=(kein)/Halten/R=Neuinst notw/X=beide (Status, Fehler: GROSS=schlecht)
||/ Name                                 Version                              Beschreibung
ii  vim                                  7.0-122+1                            Vi IMproved - enhanced vi editor
ii  vim-common                           7.0-122+1                            Vi IMproved - Common files
un  vim-doc                              <keine>                              (keine Beschreibung vorhanden)
un  vim-full                             <keine>                              (keine Beschreibung vorhanden)
un  vim-gnome                            <keine>                              (keine Beschreibung vorhanden)
ii  vim-gtk                              7.0-122+1                            Vi IMproved - enhanced vi editor - with GTK2 GUI
ii  vim-gui-common                       7.0-122+1                            Vi IMproved - Common GUI files
un  vim-lesstif                          <keine>                              (keine Beschreibung vorhanden)
un  vim-perl                             <keine>                              (keine Beschreibung vorhanden)
un  vim-python                           <keine>                              (keine Beschreibung vorhanden)
un  vim-ruby                             <keine>                              (keine Beschreibung vorhanden)
ii  vim-runtime                          7.0-122+1                            Vi IMproved - Runtime files
un  vim-scripts                          <keine>                              (keine Beschreibung vorhanden)
un  vim-tcl                              <keine>                              (keine Beschreibung vorhanden)
un  vim-tiny                             <keine>                              (keine Beschreibung vorhanden)


$ dpkg -S /usr/bin/vim.org
Umleitung durch vim-gtk von: /usr/bin/vim
Umleitung durch vim-gtk zu: /usr/bin/vim.org
$ ls -l /usr/bin/vim
-rwxr-xr-x 1 root root 1411096 2005-07-30 12:45 /usr/bin/vim

after some guessing I removed vim-gtk, removed vim and installed vim.
Then I got:

$ ls -l /usr/bin/vim
lrwxrwxrwx 1 root root 21 2006-12-20 23:56 /usr/bin/vim -> /etc/alternatives/vim

and vim works as before. I guess there's something wrong with the alternatives handling.

I have a typescript from my apt-get dist-upgrade run. I could look for relevant output 
of the vim upgrade if you like.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-3-686
Locale: LANG=de_AT.UTF-8 at euro, LC_CTYPE=de_AT.UTF-8 at euro (charmap=UTF-8)

Versions of packages vim depends on:
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  libgpmg1                     1.19.6-23   General Purpose Mouse - shared lib
ii  libncurses5                  5.5-5       Shared libraries for terminal hand
ii  vim-common                   1:7.0-122+1 Vi IMproved - Common files
ii  vim-runtime                  1:7.0-122+1 Vi IMproved - Runtime files

vim recommends no packages.

-- no debconf information

More information about the pkg-vim-maintainers mailing list