Bug 147166 - duplicated /etc/vimrc on vim packages
duplicated /etc/vimrc on vim packages
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: vim (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Karsten Hopp
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2005-02-04 11:52 EST by Joe Keller
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-02-07 09:32:15 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Joe Keller 2005-02-04 11:52:26 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

Description of problem:
Both the vim-common and vim-minimal packages provide the /etc/vimrc 

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

How reproducible:

Steps to Reproduce:
1.rpm -qf /etc/vimrc

Actual Results:  [root@wrx root]# rpm -qf /etc/vimrc

Expected Results:  Only one file should be listed.

Additional info:

Most likely /etc/vimrc should be dropped from the vim-minimal %files
section and add vim-common as a dependency or if vim-minimal is not
meant to have any of the common files anymore add a conflict.
Comment 1 Karsten Hopp 2005-02-07 09:32:15 EST
There are several issues here and I had to pick a solution with
minimal impact:
- vim-minimal doesn't work properly without /etc/vimrc
- the other vim binaries vim/gvim don't work without /etc/vimrc
-> both need to have vimrc included
- vim-minimal needs to be as small as possible to get smaller minimum
  installs, requiring vim-common for one small file out of 20Mb isn't a
  viable solution.

What happens when you update all vim packages is the following:
- vim-minimal gets updated, the new vimrc gets written
- the other vim subpackages get updated, the vimrc from vim-common
gets installed as vimrc.rpmnew. So you end up with a new vimrc and a 
copy of the new vimrc which doesn't break anything

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