Hello! I had the same problem and I have found a very "dirty" work-around only.
WARNING: I can give no guarantee, that it works for you. Do it only, when you understand, what you are doing! If there are any other ideas, try them first! Here it is: Remove ALL vim-packages you have installed: vim, vim-common, etc, which can be removed with dpkg --purge <package> In /var/lib/dpkg/diversions you find entries like package1 file1a filef1b package2 file2a file2b Manually, remove all packageX fileX1 fileX2 entries, which include /usr/bin/vim as fileX1 Then you should be able to dpkg --purge kvim After this - all *vim* packages shoul be removed: dpkg --get-selections | grep vim should return no more result. Otherwise, remove them the same way, too. Next, you ***must** check, that in /usr/bin/ there is no more file or link, named vim*: ls /usr/bin | grep vim should return no result. If there are any files called vim*, delete them with rm Then you can (or better should be able to) install vim again: apt-get install vim Hope, it helps. Regards Matthias Am Donnerstag, 14. April 2005 14:16 schrieb R. Rodriguez : > stan:/home/apt-drink# LANG=C apt-get remove --purge kvim > Reading Package Lists... Done > Building Dependency Tree... Done > The following packages will be REMOVED: > kvim* > 0 upgraded, 0 newly installed, 1 to remove and 2 not upgraded. > Need to get 0B of archives. > After unpacking 1778kB disk space will be freed. > Do you want to continue? [Y/n] > (Reading database ... 171276 files and directories currently installed.) > Removing kvim ... > dpkg-divert: mismatch on divert-to > when removing `diversion of /usr/bin/vim to /usr/bin/vim.org by kvim' > found `diversion of /usr/bin/vim to /usr/bin/vim.old by kvim' > dpkg: error processing kvim (--purge): > subprocess post-removal script returned error exit status 2 > Errors were encountered while processing: > kvim > E: Sub-process /usr/bin/dpkg returned an error code (1) > > Any hints will be welcome! > > Regards, > -- > Rafael Rodr�guez - http://djclue.no-ip.org > > -----BEGIN GEEK CODE BLOCK----- > Version: 3.12 > GCS d- s-: a-- C++ UL++ P++> L++ E--- W+++ N o? K? w--- > !O !M V-- PS PE- Y+ PGP+ t--- 5? X R* tv- b- DI- D+ > G e++ h! r++ y+ > ------END GEEK CODE BLOCK------ > >

