You are not logged in.

#1 2015-01-05 23:49:13

qwerty341736417
Member
Registered: 2015-01-05
Posts: 6

Vim not working after update [Solved]

from /var/log/pacman.log :

[2015-01-06 05:23] [PACMAN] Running 'pacman -Syu'
[2015-01-06 05:23] [PACMAN] synchronizing package lists
[2015-01-06 05:23] [PACMAN] starting full system upgrade
[2015-01-06 05:23] [ALPM] transaction started
[2015-01-06 05:24] [ALPM] upgraded ruby (2.1.5-1 -> 2.2.0-1)
[2015-01-06 05:24] [ALPM] transaction completed

when try to run it:
$ vi
vi: error while loading shared libraries: libruby.so.2.1: cannot open shared object file: No such file or directory

Last edited by qwerty341736417 (2015-01-05 23:59:31)

Offline

#2 2015-01-05 23:53:04

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Vim not working after update [Solved]

No issues here... You have vi aliased to vim?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-01-05 23:54:58

qwerty341736417
Member
Registered: 2015-01-05
Posts: 6

Re: Vim not working after update [Solved]

After running $ pacman -Syu again:

[2015-01-06 05:49] [PACMAN] Running 'pacman -Syu'
[2015-01-06 05:49] [PACMAN] synchronizing package lists
[2015-01-06 05:49] [PACMAN] starting full system upgrade
[2015-01-06 05:49] [ALPM] transaction started
[2015-01-06 05:49] [ALPM] upgraded vim-runtime (7.4.537-1 -> 7.4.560-1)
[2015-01-06 05:49] [ALPM] upgraded vim (7.4.537-1 -> 7.4.560-1)
[2015-01-06 05:49] [ALPM] transaction completed

Wow, didn't think you would respond to my thread so quickly!

Just updated in a wrong time smile

Last edited by qwerty341736417 (2015-01-05 23:55:44)

Offline

#4 2015-01-05 23:57:47

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Vim not working after update [Solved]

Heh. I was on 560 from [testing]...

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2015-01-06 00:34:43

anatolik
Developer
Registered: 2012-09-27
Posts: 458

Re: Vim not working after update [Solved]

This was a huge ruby2.2 rebuild (that included both ruby and vim). The move was not atomic, ruby got [stable] before vim. So vim was broken for a while. Everything should be fine now.


Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster

Offline

#6 2015-03-02 12:05:21

megasan84
Member
Registered: 2015-03-02
Posts: 2

Re: Vim not working after update [Solved]

anatolik wrote:

This was a huge ruby2.2 rebuild (that included both ruby and vim). The move was not atomic, ruby got [stable] before vim. So vim was broken for a while. Everything should be fine now.

No, i have same problem sad

Version of vim: extra/vim 7.4.617-1 [installed]

megasan84@workpc ~]$ vim
vim: error while loading shared libraries: libruby.so.2.2: cannot open shared object file: No such file or directory

The system has all the latest updates...

Offline

#7 2015-03-02 12:37:07

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,889
Website

Re: Vim not working after update [Solved]

megasan84 wrote:

The system has all the latest updates...

Apparently not.  Your mirror(s) may be out of date.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Online

#8 2015-03-02 13:06:48

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: Vim not working after update [Solved]

megasan84 wrote:

No, i have same problem sad

Not really. You have the new vim, but apparently not the new ruby. OP had new ruby but old vim.

Offline

#9 2015-03-02 14:53:37

anatolik
Developer
Registered: 2012-09-27
Posts: 458

Re: Vim not working after update [Solved]

megasan84 wrote:
megasan84@workpc ~]$ vim
vim: error while loading shared libraries: libruby.so.2.2: cannot open shared object file: No such file or directory

The system has all the latest updates...

Your ruby version is old. What do you have here:

pacman -Si ruby

Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster

Offline

#10 2015-03-02 15:08:03

megasan84
Member
Registered: 2015-03-02
Posts: 2

Re: Vim not working after update [Solved]

anatolik wrote:
megasan84 wrote:
megasan84@workpc ~]$ vim
vim: error while loading shared libraries: libruby.so.2.2: cannot open shared object file: No such file or directory

The system has all the latest updates...

Your ruby version is old. What do you have here:

pacman -Si ruby

Ok, thanks!
I already install it )

Offline

Board footer

Powered by FluxBB