Description of problem:vim fails to load & exits w/ an error message when invoked from CLI .... Version-Release number of selected component (if applicable):2:7.3.029-1.fc12 .... I preupgraded from FC12 64-bit to FC14 64-bit a couple of days ago & this is what is installed .... I just did a yum -y check-update & there was nothing newer :-/ .... How reproducible:invoke vi from CLI w/ a filename & it fails (for me) .... Steps to Reproduce: 1. 2. 3. Actual results: [wam@athloncube, ~, 4:16:14pm] 441 % vi PPU.ammo.txt vim: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory [wam@athloncube, ~, 4:16:33pm] 441 % find /usr/lib64/ -name libperl\* /usr/lib64/perl5/CORE/libperl.so find: `/usr/lib64/audit': Permission denied [wam@athloncube, ~, 4:18:46pm] 442 % which vi vi vim [wam@athloncube, ~, 4:19:10pm] 443 % which vim /usr/bin/vim [wam@athloncube, ~, 4:19:12pm] 444 % file `!!` file `which vim` /usr/bin/vim: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped [wam@athloncube, ~, 4:19:17pm] 445 % vi /etc/ld.so.conf vim: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory [wam@athloncube, ~, 4:36:27pm] 446 % cat /etc/ld.so.conf include ld.so.conf.d/*.conf [wam@athloncube, ~, 4:36:32pm] 447 % lf /etc/ld.so.conf.d/ R-x86_64.conf kernel-2.6.32.21-168.fc12.x86_64.conf qt-i386.conf xulrunner-64.conf atlas-x86_64.conf kernel-2.6.32.23-170.fc12.x86_64.conf qt-x86_64.conf cernlib-2006-g77-x86_64.conf kernel-2.6.35.6-48.fc14.x86_64.conf tix-x86_64.conf cernlib-2006-x86_64.conf mysql-x86_64.conf wine-32.conf [wam@athloncube, ~, 4:36:50pm] 448 % grep -i core /etc/ld.so.conf.d/* [wam@athloncube, ~, 4:37:05pm] 449 % ll /etc/ld.so.conf.d/ total 52 -rw-r--r--. 1 root root 17 Jul 7 13:54 R-x86_64.conf -rw-r--r--. 1 root root 17 Jul 27 21:28 atlas-x86_64.conf -rw-r--r--. 1 root root 32 Jul 24 2009 cernlib-2006-g77-x86_64.conf -rw-r--r--. 1 root root 28 May 5 2010 cernlib-2006-x86_64.conf -r--r--r--. 1 root root 324 Sep 15 11:17 kernel-2.6.32.21-168.fc12.x86_64.conf -r--r--r--. 1 root root 324 Sep 27 12:39 kernel-2.6.32.23-170.fc12.x86_64.conf -r--r--r--. 1 root root 63 Oct 22 10:51 kernel-2.6.35.6-48.fc14.x86_64.conf -rw-r--r--. 1 root root 17 Oct 7 13:01 mysql-x86_64.conf -rw-r--r--. 1 root root 20 Sep 7 13:31 qt-i386.conf -rw-r--r--. 1 root root 22 Sep 7 13:31 qt-x86_64.conf -rw-r--r--. 1 root root 18 Jan 14 2010 tix-x86_64.conf -rw-r--r--. 1 root root 15 Oct 18 13:58 wine-32.conf -rw-r--r--. 1 root root 27 Oct 27 11:13 xulrunner-64.conf [wam@athloncube, ~, 4:38:02pm] 450 % cat /etc/ld.so.conf.d/R-x86_64.conf /usr/lib64/R/lib [wam@athloncube, ~, 4:38:14pm] 451 % Expected results: run vi as usual .... Additional info:I (pre)upgraded from FC12 to FC14 a couple of days ago, this is the 1st time I have tried vi since. I checked for updates w/ yum & saw none ....
A "me too" with more details: I have upgraded from F12 to F14 via DVD ISO image (no preupgrade), and I had the same problem. The problem is that F12 apparently has newer version of vim, so it did not get upgraded to the F14 package, which has lower version: Before: $ rpm -qa|grep vim vim-filesystem-7.3.029-1.fc12.x86_64 vim-minimal-7.3.029-1.fc12.x86_64 vim-enhanced-7.3.029-1.fc12.x86_64 vim-common-7.3.029-1.fc12.x86_64 I then did the following: # rpm -e --nodeps vim-filesystem vim-minimal vim-enhanced vim-common # yum -y install vim-enhanced vim-minimal and the versions now are: $ rpm -qa|grep vim vim-enhanced-7.2.446-2.fc14.x86_64 vim-common-7.2.446-2.fc14.x86_64 vim-minimal-7.2.446-2.fc14.x86_64 So there are two problems: 1. F14 has older version of vim than F12 without increasing the package Epoch. 2. Anaconda should probably prefer packages for the "new distribution", even though existing ones have higher or the same version. This should definitely be the case when the existing package will end up with broken dependencies after the upgrade [meta: should I report it as a separate bug of anaconda?] I have seen a similar problem with many other packages - after the upgrade, there remained many F12 packages with broken dependencies, instead of being upgraded to the F14 version.
Hoooooaaaaaaaaahhhhh !!!! That fixed things perfectly :-) !!!! Jan: I am having a few other odd problems w/ NFS client & CIFS mounts, I wonder if they are the same symptom you diagnose in problem 2 above (I notice several dozen FC12 packages still installed) ? Anyway, well done, I am up & running w/ vi(m) :-) !!!!
I have reproduced the problem on a freshly installed F12 machine upgraded to F14, and reported the results as a bug in anaconda. See bug #651419.
So the problem here is that upgrade path from F-12 -> F-13/14 is now completely broken: [tasaka1@localhost ~]$ koji latest-pkg dist-f12-build vim Build Tag Built by ---------------------------------------- -------------------- ---------------- vim-7.3.029-1.fc12 dist-f12-updates karsten [tasaka1@localhost ~]$ koji latest-pkg dist-f13-build vim Build Tag Built by ---------------------------------------- -------------------- ---------------- vim-7.2.411-1.fc13 dist-f13 karsten [tasaka1@localhost ~]$ koji latest-pkg dist-f14-build vim Build Tag Built by ---------------------------------------- -------------------- ---------------- vim-7.2.446-2.fc14 dist-f14 mtasaka And the location of libperl.so is moved from perl-libs-4:5.10.0-96.fc12.x86_64 /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/libperl.so to: perl-libs-4:5.12.2-136.fc14.x86_64 /usr/lib64/perl5/CORE/libperl.so Now vim-7.3.055-1.fc13 is in testing. Karsten, would you also upgrade F-14 vim?
vim-7.3.056-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/vim-7.3.056-1.fc14
vim-7.3.056-1.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update vim'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/vim-7.3.056-1.fc14
vim-7.3.056-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
Rats !!!! I just did a full yum upgrade yesterday, still have the version 2:7.2.446-2.fc14 .... OK, just upgraded to the 2:7.3.056-1.fc14 & vi-ed a file & it came up OK, looking good so far ....