Bug 2026651 - defaults.vim changes create conflicts between vim-minimal and vim-common
Summary: defaults.vim changes create conflicts between vim-minimal and vim-common
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: 35
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Karsten
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-25 12:15 UTC by François Rigault
Modified: 2021-12-16 01:12 UTC (History)
3 users (show)

Fixed In Version: vim-8.2.3642-2.fc35 vim-8.2.3755-1.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-29 02:24:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description François Rigault 2021-11-25 12:15:29 UTC
Description of problem:
vim-common conflicts with vim-minimal

Version-Release number of selected component (if applicable):
vim-common-2:8.2.3642-1.fc35.x86_64
vim-minimal-2:8.2.3404-1.fc35.x86_64

How reproducible:
I reproduce in a toolbox in Fedora CoreOS.

Steps to Reproduce:
1. spawn and enter a fedora toolbox
2. dnf install vim
3.

Actual results:
Total                                                                                                                                                                       12 MB/s | 8.8 MB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
  file /usr/share/vim/vim82/defaults.vim from install of vim-common-2:8.2.3642-1.fc35.x86_64 conflicts with file from package vim-minimal-2:8.2.3404-1.fc35.x86_64


Expected results:
vim installed


Additional info:
This was reported multiple times in the past.

Comment 1 François Rigault 2021-11-25 12:24:03 UTC
for completion
    dnf remove vim-minimal
    dnf install vim

works around the issue. I would expect dnf install vim to work without having to run dnf remove vim-minimal first.

Comment 2 Zdenek Dohnal 2021-11-25 13:31:49 UTC
Hi Francois,

thanks for the report.

defaults.vim is shared between those two packages and this conflict happens if defaults.vim is changed in newer package...

I'll try to figure out how to deal with this:

- there can be a unversioned conflict

or 

- watch out for changes on defaults.vim and update versioned conflicts manually

or 

- create a new subpackage, which will ship the shared file


The last seems the most correct.

Comment 3 Fedora Update System 2021-11-26 13:06:26 UTC
FEDORA-2021-f5dc2576bd has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-f5dc2576bd

Comment 4 Fedora Update System 2021-11-27 01:27:23 UTC
FEDORA-2021-da451c47e1 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-da451c47e1`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-da451c47e1

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-11-27 21:58:13 UTC
FEDORA-2021-f5dc2576bd has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-f5dc2576bd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-f5dc2576bd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2021-11-29 02:24:22 UTC
FEDORA-2021-f5dc2576bd has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2021-12-03 02:08:33 UTC
FEDORA-2021-16ccad4aba has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-16ccad4aba`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-16ccad4aba

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2021-12-08 01:39:18 UTC
FEDORA-2021-b0ac29efb1 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-b0ac29efb1`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-b0ac29efb1

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2021-12-16 01:12:32 UTC
FEDORA-2021-b0ac29efb1 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.


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