Bug 823021 - After updating the vim, the command crontab-e doesn't work anymore
Summary: After updating the vim, the command crontab-e doesn't work anymore
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: 16
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-18 19:36 UTC by Volnei
Modified: 2012-06-16 12:05 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-06-15 23:49:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Volnei 2012-05-18 19:36:42 UTC
Description of problem:

After updating the vim, the command crontab-e doesn't work anymore

[root @ vmsmb01 operating] # crontab-e
/ bin / sh: / bin / vi: No such file or directory not found
crontab: "/ bin / vi" exited with status 127

Version-Release number of selected component (if applicable):


How reproducible:

Update vim to:
vim-filesystem-7.3.515-1.fc16.x86_64
vim-minimal-7.3.515-1.fc16.x86_64
vim-common-7.3.515-1.fc16.x86_64
vim-enhanced-7.3.515-1.fc16.x86_64

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Before update: 

ls /bin
-rwxr-xr-x. 1 root root 782024 Set 21  2011 vi


after updating the file 'vi' doesn't exist

Thanks

Comment 1 Frank Murphy 2012-05-22 07:22:14 UTC
Simple fix:
ln -s /usr/bin/vi /bin/vi

which would fit in with the whole converfs in F17+

Comment 2 Volnei 2012-05-22 11:04:37 UTC
I know that. 
However I think an update cannot corrupt another program.
Particularly given the importance of crontab

Comment 3 Frank Murphy 2012-05-22 11:30:06 UTC
(In reply to comment #2)
> I know that. 
> However I think an update cannot corrupt another program.
> Particularly given the importance of crontab


I agree, it was probbably just a build error.
As yum whatprovides */vi shows:
2:vim-minimal-7.3.515-1.fc16.x86_64 : A minimal version of the VIM editor
Repo        : @fedora-updates
Matched from:
Filename    : /usr/bin/vi
Filename    : /bin/vi


But if you go to koji:
the symlink is absent:
http://koji.fedoraproject.org/koji/rpminfo?rpmID=3103305

Comment 4 Volnei 2012-05-22 12:22:41 UTC
Yes, apparently it was an error building the package and can be easily fixed.

But it may cause some discomfort for some users. This will do.

Thanks

Comment 5 Fedora Update System 2012-05-23 09:51:00 UTC
vim-7.3.515-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/vim-7.3.515-2.fc16

Comment 6 Volnei 2012-05-23 18:37:34 UTC
Thanks for now.

Comment 7 Fedora Update System 2012-05-24 23:57:57 UTC
Package vim-7.3.515-2.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing vim-7.3.515-2.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-8354/vim-7.3.515-2.fc16
then log in and leave karma (feedback).

Comment 8 John Mellor 2012-05-25 23:14:15 UTC
+0 karma.  Needs work.

Packaging error:
    yum update vim
fails, due to a missed dependency change: a move of /bin/ex from vim-minimal to vim-enhanced package.  So the only way to get this installed in F16 is to do:
    yum update vim-filesystem vim-minimal vim-common vim-enhanced
and then it installs correctly.

This change fixes the problem with crontab -e.

Comment 9 Fedora Update System 2012-06-15 23:49:52 UTC
vim-7.3.515-2.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Volnei 2012-06-16 12:05:13 UTC
Hi,

This issue was solved.

After update of vim

ls -l /bin/vi*
-rwxr-xr-x 1 root root 781312 Mai 23 06:39 /bin/vi
lrwxrwxrwx 1 root root      2 Jun 16 08:55 /bin/view -> vi

Thanks people


Note You need to log in before you can comment on or make changes to this bug.