You are not logged in.

#1 2009-06-19 09:19:04

dartagnan
Member
Registered: 2009-05-31
Posts: 7

Reenabling view after vim update

Hi, on the ArchLinux home page there is a recommendation to remove view before updating vim http://www.archlinux.org/news/445/
How can view be restored after the update? It seems not to be created automatically.

Offline

#2 2009-07-10 16:20:31

dartagnan
Member
Registered: 2009-05-31
Posts: 7

Re: Reenabling view after vim update

Come on, don't tell me this is so difficult that nobody knows...

Offline

#3 2009-07-10 16:30:42

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: Reenabling view after vim update

┌─[ 12:29 ][ blue:~ ]
└─> pacman -Qo `which view`
/usr/bin/view is owned by vi 1.81.6-2
┌─[ 12:30 ][ blue:~ ]
└─> pacman -Q vi
vi 1.81.6-2
┌─[ 12:30 ][ blue:~ ]
└─> pacman -Q vim
vim 7.2.218-1

did you install vi or just vim?

Offline

#4 2009-07-10 18:59:32

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Reenabling view after vim update

pacman -Q vi
vi 7.2.65-1
[djszapi@djszapi mytourbook_bin]$ pacman -Q vim
vim 7.2.166-1


which view
which: no view in (/opt/msp430/bin:/bin:/usr/bin:/sbin:/usr/sbin:/opt/java/bin:/opt/java/jre/bin:/opt/kde/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/opt/qt/bin:/opt/tigcc/bin:/usr/blackfin/bin)

Offline

#5 2009-07-11 14:24:37

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: Reenabling view after vim update

sucks man, reinstalling vi is all i can think of.

Offline

#6 2009-07-11 15:07:28

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Reenabling view after vim update

i won't, because it works for me smile

Offline

#7 2009-07-11 22:15:27

Trent
Member
From: Baltimore, MD (US)
Registered: 2009-04-16
Posts: 990

Re: Reenabling view after vim update

/usr/bin/view is just a symlink to /usr/bin/vim on my system.

ln -s vim /usr/bin/view

will mimic that on yours.

Offline

#8 2009-07-12 00:13:05

Profjim
Member
From: NYC
Registered: 2008-03-24
Posts: 658

Re: Reenabling view after vim update

As I understand it:

The old packaging of vi (the version now still in core) just built a slim version of vim. The old packaging of vim (version still in extra) built a fuller version of vim that depended on the vi package, so that it could rely on the common vim-files that the other package installed on your disk and wouldn't compete for which of the two packages owned them.

The new packaging (the versions of vi and vim now in testing, vi 1.81.6-2 and vim 7.2.218-1 do things differently. Now vi is a different binary that's unrelated to vim (I think it's nvi). The new vim packaging installs all the common vim-files itself.

I think you should use either both the vi and vim from core/extra, or the two packages from testing. If you tried to keep the vi from core and install the vim from testing, then they'd be competing for which package owned files on your system.

Last edited by Profjim (2009-07-12 00:13:33)

Offline

#9 2009-07-12 07:56:37

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Reenabling view after vim update

You can use my vimgdb packages from aur too, it has got gdb support for development purposes.

Offline

#10 2009-08-14 20:07:39

dartagnan
Member
Registered: 2009-05-31
Posts: 7

Re: Reenabling view after vim update

Thanks to everybody for the replies, and sorry for waiting so long for answering. Now I installed the package vim from the core repository (

pacman -Sy vim

) as it has been suggested, and finally I have view and vim commands again! smile Thank you once more for the replies.

Offline

Board footer

Powered by FluxBB