Bug 825814 - vi moved from /bin to /usr/bin
Summary: vi moved from /bin to /usr/bin
Keywords:
Status: CLOSED DUPLICATE of bug 822314
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-28 14:23 UTC by Nadav Har'El
Modified: 2012-05-29 08:47 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-05-29 08:47:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Nadav Har'El 2012-05-28 14:23:47 UTC
Apparently in the latest update to Fedora 17, the vim-minimal package vim-minimal-7.3.515-1.fc16.x86_64 now contains the file "/usr/bin/vi" instead of "/bin/vi" which it always used to contain.

Generally, I wouldn't have considered this a bug, and Fedora 18 is planned (or at least, was planned originally) to move everything to /usr/bin, but I don't understand why doing this was important for a last moment (one day before the release of Fedora 18) update to Fedora 17. It bothered me on a long-running system, where a certain program looked for "vi" in the path in the beginning, and then ran the same thing later - and after the update suddenly vi moved and confused it :-) It's not a big problem, but I also don't see the benefit of changing something like this in an update...

Another annoying fact is this output:

$ yum whatprovides /bin/vi
2:vim-minimal-7.3.515-1.fc16.x86_64 : A minimal version of the VIM editor
Repo        : @updates
Matched from:
Filename    : /bin/vi

Clearly, this is not true - this package does *not* contain /bin/vi:

$  rpm -q vim-minimal 
vim-minimal-7.3.515-1.fc16.x86_64
$  rpm -ql vim-minimal
/etc/virc
/usr/bin/ex
/usr/bin/rvi
/usr/bin/rview
/usr/bin/vi
/usr/bin/view

So something is broken in some metadata somewhere?

Comment 1 Nadav Har'El 2012-05-28 14:26:13 UTC
Sorry - I'm not a time-traveller, I just confused the numbers. Obviously the current release is Fedora 16, and the next is Fedora 17 - and not the numbers I wrote above ;-) But the rest of the details are correct.

Comment 2 Karsten Hopp 2012-05-29 08:47:25 UTC
A fixed package vim-7.3.515-2.fc16 is already in f16-testing, please test and give karma at https://admin.fedoraproject.org/updates/FEDORA-2012-8354/vim-7.3.515-2.fc16

*** This bug has been marked as a duplicate of bug 822314 ***


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