Bug 1490187

Summary: vim-common conflicts with file from package vim-minimal
Product: [Fedora] Fedora Reporter: Raman Kumar <raman36127>
Component: vimAssignee: Karsten Hopp <karsten>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 26CC: gchamoul, karsten, raman36127, zdohnal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-11 14:44:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot of error none

Description Raman Kumar 2017-09-11 04:42:36 UTC
Created attachment 1324321 [details]
screenshot of error

After fresh installation of Fedora 26 Workstation.
When i try to install vim editor getting this error. 

vim-common conflicts with file from package vim-minimal 

Error: Transaction check error:
  file /usr/share/man/man1/vim.1.gz from install of vim-common-2:8.0.1030-1.fc26.x86_64 conflicts with file from package vim-minimal-2:8.0.662-1.fc26.x86_64


All steps & fix capture in video. You can find it here 

https://youtu.be/631V-CyNG7s

Comment 1 Zdenek Dohnal 2017-09-11 10:45:26 UTC
Hi Raman,

thank you for reporting this issue. Similar issue was reported as DNF bug, would you mind trying this command and telling me, if it works:

$ dnf install $(dnf repoquery vim-enhanced vim-minimal --latest-limit 1 -q)

If this command works, problem will be in VIm.

Comment 2 Raman Kumar 2017-09-11 11:29:58 UTC
Hello Zdenek Dohnal,


yum update already in place. Going to run your suggest command.

root@ramank ~]# rpm -qa | grep vim
vim-minimal-8.0.1030-1.fc26.x86_64
vim-common-8.0.1030-1.fc26.x86_64
vim-filesystem-8.0.1030-1.fc26.x86_64
vim-enhanced-8.0.1030-1.fc26.x86_64



[root@ramank ~]# dnf install $(dnf repoquery vim-enhanced vim-minimal --latest-limit 1 -q)
Last metadata expiration check: 0:45:01 ago on Mon 11 Sep 2017 04:09:52 PM IST.
Package vim-enhanced-2:8.0.1030-1.fc26.x86_64 is already installed, skipping.
Package vim-minimal-2:8.0.1030-1.fc26.x86_64 is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!

Seems it updated the package and all in place.

Comment 3 Zdenek Dohnal 2017-09-11 12:04:37 UTC
Ok, so error is really in VIm. I'll update the package.

Comment 4 Zdenek Dohnal 2017-09-11 14:44:54 UTC

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