Bug 1487175 - VIm conflicts in man pages
Summary: VIm conflicts in man pages
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: 26
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1490187 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-31 11:36 UTC by Marc Dequènes (Duck)
Modified: 2017-09-13 22:25 UTC (History)
9 users (show)

Fixed In Version: vim-8.0.1097-1.fc26
Clone Of:
Environment:
Last Closed: 2017-09-13 22:25:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Marc Dequènes (Duck) 2017-08-31 11:36:44 UTC
Description of problem:
Installing vim-enhanced on a freshly installed Fedora 26 fails with a file conflict. The new vim version in the Fedora Updates repository seem to trigger a resolution problem in DNF.

Version-Release number of selected component (if applicable):
Vagrant 'fedora/26-cloud-base' virtualbox official image. vim-minimal-8.0.662-1.fc26.x86_64 is installed by default.

How reproducible:
Right after machine is up:

Steps to Reproduce:
1. dnf install vim-enhanced

Actual results:
Failed to set locale, defaulting to C
Fedora 26 - x86_64 - Updates                                                                                       2.8 MB/s |  11 MB     00:04    
Fedora 26 - x86_64                                                                                                 3.6 MB/s |  53 MB     00:14    
Last metadata expiration check: 0:00:05 ago on Thu Aug 31 11:15:31 2017.
Dependencies resolved.
===================================================================================================================================================
 Package                               Arch                          Version                                  Repository                      Size
===================================================================================================================================================
Installing:
 vim-enhanced                          x86_64                        2:8.0.983-1.fc26                         updates                        1.3 M
Installing dependencies:
 gpm-libs                              x86_64                        1.20.7-10.fc26                           fedora                          36 k
 perl-Carp                             noarch                        1.40-366.fc26                            fedora                          28 k
 perl-Exporter                         noarch                        5.72-367.fc26                            fedora                          32 k
 perl-libs                             x86_64                        4:5.24.2-393.fc26                        updates                        1.5 M
 vim-common                            x86_64                        2:8.0.983-1.fc26                         updates                        6.7 M
 vim-filesystem                        x86_64                        2:8.0.983-1.fc26                         updates                         36 k

Transaction Summary
===================================================================================================================================================
Install  7 Packages

Total download size: 9.6 M
Installed size: 37 M
Is this ok [y/N]: y
Downloading Packages:
(1/7): gpm-libs-1.20.7-10.fc26.x86_64.rpm                                                                          109 kB/s |  36 kB     00:00    
(2/7): vim-enhanced-8.0.983-1.fc26.x86_64.rpm                                                                      1.2 MB/s | 1.3 MB     00:01    
(3/7): perl-Carp-1.40-366.fc26.noarch.rpm                                                                          266 kB/s |  28 kB     00:00    
(4/7): perl-Exporter-5.72-367.fc26.noarch.rpm                                                                      758 kB/s |  32 kB     00:00    
(5/7): vim-filesystem-8.0.983-1.fc26.x86_64.rpm                                                                    1.4 MB/s |  36 kB     00:00    
(6/7): perl-libs-5.24.2-393.fc26.x86_64.rpm                                                                        1.4 MB/s | 1.5 MB     00:01    
(7/7): vim-common-8.0.983-1.fc26.x86_64.rpm                                                                        2.2 MB/s | 6.7 MB     00:02    
---------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                              1.8 MB/s | 9.6 MB     00:05     
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 check error:
  file /usr/share/man/man1/vim.1.gz from install of vim-common-2:8.0.983-1.fc26.x86_64 conflicts with file from package vim-minimal-2:8.0.662-1.fc26.x86_64

Expected results:
DNF should managed to resolve the conflict and install vim-enhanced.

Additional info:
Updating vim-minimal to the new version first (dnf update vim-minimal), and then retrying the installation works fine.

Previously #1329015 was filed for a much older version of Fedora, and the packages were deemed ok by the Fedora packager handling the ticket. I don't see how it could be a repository problem so I'm filing a bug on DNF because I think this is a resolution problem (as suggested in this ticket too).

Comment 1 Jaroslav Mracek 2017-08-31 12:50:14 UTC
Please can you try the following:

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


If this works that means that problem is in packaging. 

There should be in package spec of vim-minimal:
conflict: vim-enhanced < %{version}-%{release}

and similar in vim-enhanced

Hope that it helps, but the problem has to be fixed in vim therefore I changing component.

Comment 2 Zdenek Dohnal 2017-09-11 14:44:54 UTC
*** Bug 1490187 has been marked as a duplicate of this bug. ***

Comment 3 Marc Dequènes (Duck) 2017-09-11 15:38:22 UTC
Thanks Jaroslav Mracek, it works all fine. Hope the vim people will issue a fix.

Comment 4 Zdenek Dohnal 2017-09-11 16:01:52 UTC
Hi Marc,

I thought this behavior was outcome of old VIm bug in f25, but it seems it isn't. I'll update the package as Jarda suggested.

Comment 5 Fedora Update System 2017-09-12 07:21:57 UTC
vim-8.0.1097-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-5f9ef6cbe6

Comment 6 Fedora Update System 2017-09-13 06:20:39 UTC
vim-8.0.1097-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-5f9ef6cbe6

Comment 7 Fedora Update System 2017-09-13 22:25:15 UTC
vim-8.0.1097-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, 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.