Lost vi/vim

bham ulist at gs1.ubuntuforums.org
Wed Jan 12 16:56:43 UTC 2005


sudo dpkg-divert --remove /usr/bin/vim

Will remove the diversion..

... I know kvim is in universe but ... When is it going to be fixed? 
I'm trying to embed ViM inside KDevelop and its not going so well.  To
use ViM as an embedded KDE text editor component, I have to install
'vimpart' which relies on some form of ViM with a GUI (kvim, gvim). 
KDE recommends kvim so I tried to install kvim.  The issues with the
kvim package seem to be:

- It doesn't actually provide a /usr/bin/vim
- It diverts the existing /usr/bin/vim to /usr/bin/vim.org

How come the kvim package it doesn't provide a usable /usr/bin/vim?

As an alternative, I tried installing 'vim-gtk' and 'vimpart' ...
KDevelop doesn't embed vim-gtk correctly.  The ViM window just shows up
external to KDevelop.  Thus, I'd like kvim to work :-)

Any help appreciated.

Colin Watson Wrote: 
> On Sat, Jan 01, 2005 at 02:02:48PM +0100, Laurent CHARLES wrote:
> > Colin Watson a écrit :
> > >Sounds like damage from installing the broken kvim package. Try
> > >removing that.
> > 
> > Yes. Probably that, as kvim has been removed with vim.
> > 
> > Anyhow, would it mean '--reinstall' does not really reinstall?
> 
> No, --reinstall really does reinstall the package you asked for, but
> it
> doesn't have any effect on diversions (see the dpkg-divert
> documentation). The current kvim package diverts vim but fails to put
> anything in its place.
> 
> > >On one of my other installs.  Vim installed as vim.org...
> > 
> > I think I've also noticed a vim.org. Not sure, it disappeared during
> the
> > remove/install. Maybe the side effect of kvim.
> 
> Yes, that's the target of the diversion.
> 
> -- 
> Colin Watson                                   
> [cjwatson at canonical.com]
> 
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users


-- 
bham




More information about the ubuntu-users mailing list