Bug 1329015 - vim-common conflicts with vim-minimal
Summary: vim-common conflicts with vim-minimal
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: 23
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-20 23:16 UTC by Stefan Ziegler
Modified: 2017-01-16 01:49 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-05-24 11:43:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
result of --debugsolver (542 bytes, text/plain)
2016-04-25 22:28 UTC, Stefan Ziegler
no flags Details

Description Stefan Ziegler 2016-04-20 23:16:52 UTC
Description of problem:
dependancy conflict between vim-common and vim-minimal

Version-Release number of selected component (if applicable):
vim-minimal Version 7.4.827 Release 1.fc23 Architecture x86-64
vim-common

How reproducible:
Easy

Steps to Reproduce:
1. Install Fedora
2. install RPM vim-minimal (if not part of fedora installation)
3. dnf update to get current versions
4. dnf install vim

Actual results:
file /usr/share/man/man1/vim.1.gz from install of vim-common-2:7.4.1718-1.fc23.x86_64 conflicts with file from package vim-minimal-2:7.4.827-1.fc23.x86_64.

Expected results:
Please remove man1/vim.1.gz from vim-minimal
vim-minimal doesn't bring a binary program /usr/bin/vim - so why include a man page for "vim"?

Additional info:
Nearly same error as here in erlier Fedora:
https://lists.fedoraproject.org/pipermail/users/2014-February/447051.html
But "dnf update vim-minimal" brings just the message: nothing to do.

Comment 1 Karsten Hopp 2016-04-21 15:36:01 UTC
'dnf update vim-minimal'  sometimes silently ignores updates. Does it work when you add dnf's '--allowerasing' option ?

Comment 2 Stefan Ziegler 2016-04-21 21:26:26 UTC
$ dnf update --allowerasing vim-minimal
Nichts zu tun (nothing to do)

$ dnf install --allowerasing vim-common
same error: conflict

$dnf install --allowerasing vim
same error: conflict

Comment 3 Karsten Hopp 2016-04-22 15:26:25 UTC
I wonder why your #3 'dnf update to get current versions' didn't update vim-minimal to vim-minimal-7.4.1718-1.fc23.x86_64.  That's what is causing this problem now. What's the output of 'dnf list vim-minimal' ?
Could you retry to update vim-minimal with dnf -v (verbose), or if that doesn't show the real issue, with 'dnf --debugsolver'. I need the contents of the .debugdata that will be created then.

Comment 4 Stefan Ziegler 2016-04-25 22:20:26 UTC
i did a "dnf check-update vim-minimal.
Some second later the window-manager shows a message "there are updates ..."
The updates were installed. And now i have both versions of "vim-minimal":

The system runs inside a virtual machine of "virtual box" as a guest in Mac OS X on a MacBook. 

$ rpm -qv vim-minimal
vim-minimal-7.4.827-1.fc23.x86_64
vim-minimal-7.4.1718-1.fc23.x86_64

$ dnf clean all
cleaned some files

Comment 5 Stefan Ziegler 2016-04-25 22:28:08 UTC
Created attachment 1150643 [details]
result of --debugsolver

from debugdata dir

Comment 6 Stefan Ziegler 2016-04-25 22:29:36 UTC
[root@localhost szi]# dnf update -v --debugsolver vim-minimal
cachedir: /var/cache/dnf
Loaded plugins: noroot, protected_packages, debuginfo-install, config-manager, needs-restarting, playground, copr, generate_completion_cache, builddep, reposync, Query, download
DNF version: 1.1.8
repo: using cache for: fedora
not found deltainfo for: Fedora 23 - x86_64
not found updateinfo for: Fedora 23 - x86_64
repo: using cache for: updates
fedora: Metadaten von Sat Oct 31 18:34:41 2015 werden verwendet.
updates: Metadaten von Sun Apr 24 22:30:33 2016 werden verwendet.
Letzte Prüfung auf abgelaufene Metadaten: vor 0:03:08 am Tue Apr 26 00:12:44 2016.
--> Abhängigkeitsauflösung wird gestartet
--> Abhängigkeitsauflösung wurde abgeschlossen
Abhängigkeiten sind aufgelöst.
Nichts zu tun.
Completion plugin: Generating completion cache...
Komplett!


file debuginfo/solver.result is empty (0 bytes)

Comment 7 Stefan Ziegler 2016-04-26 20:51:08 UTC
the problem is not solved.
I have the same error, when i want to install vim.
How can I remove the old version of vim-minimal?
Or should i just "rm /usr/share/man/man1/vim.1.gz"?

Comment 8 Ariel O. Barria 2016-05-13 00:53:15 UTC
1 - Install fedora (vagrant)

2 - dnf update -y

3 - sudo dnf install vim
Error: Transaction check error:
  file /usr/share/man/man1/vim.1.gz from install of vim-common-2:7.4.1718-1.fc23.x86_64 conflicts with file from package vim-minimal-2:7.4.827-1.fc23.x86_64

4 - 
sudo dnf clean all
sudo dnf update -v --debugsolver vim-minimal -y
sudo dnf install vim

Installed:
  gpm-libs.x86_64 1.20.7-7.fc23            vim-common.x86_64 2:7.4.1718-1.fc23            vim-enhanced.x86_64 2:7.4.1718-1.fc23            vim-filesystem.x86_64 2:7.4.1718-1.fc23

Complete!

Comment 9 Karsten Hopp 2016-05-24 11:43:24 UTC
some explanations:
man1/vim.1.gz is in vim-minimal because the other vim-minimal man pages like ex, rvi, rview, vi, view are all links to vim.1
vim.1.gz is the same in vim-minimal and vim-common if those two packages have the same version and release. If the same file is in two packages, there's no conflict.
The issue here is that 'dnf update' doesn't update vim-minimal to the latest version, reasons unknown. The vim-minimal-7.4.1718-1.fc23 package is in the repos I've checked, maybe it is missing in the repo your system is using.
Anyhow, this isn't a problem in vim, it is either in the repo you're using or in dnf itself.

This is how it looks like on my system:
$ rpm -qa "vim*"
vim-minimal-7.4.827-1.fc23.x86_64
$ sudo dnf update -y
Last metadata expiration check: 1:52:33 ago on Tue May 24 11:41:04 2016.
Dependencies resolved.
===============================================================================
Package            Arch     Version          Repository               Size
===============================================================================
Upgrading:
 vim-minimal     x86_64   2:7.4.1718-1.fc23  updates                  501 k

Transaction Summary
===============================================================================
Upgrade  1 Package

Total download size: 501 k
Downloading Packages:
vim-minimal-7.4.1718-1.fc23.x86_64.rpm                                                           2.1 MB/s | 501 kB     00:00    
-------------------------------------------------------------------------------
Total                                                                                            425 kB/s | 501 kB     00:01     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Upgrading   : vim-minimal-2:7.4.1718-1.fc23.x86_64               1/2 
  Cleanup     : vim-minimal-2:7.4.827-1.fc23.x86_64                2/2 
  Verifying   : vim-minimal-2:7.4.1718-1.fc23.x86_64               1/2
  Verifying   : vim-minimal-2:7.4.827-1.fc23.x86_64                2/2 

Upgraded:
  vim-minimal.x86_64 2:7.4.1718-1.fc23                                  

Complete!

$ sudo dnf install -y vim
Last metadata expiration check: 1:57:36 ago on Tue May 24 11:41:04 2016.
Dependencies resolved.
===============================================================================
 Package         Arch          Version         Repository              Size
===============================================================================
Installing:
 vim-common     x86_64    2:7.4.1718-1.fc23     updates                6.6 M
 vim-enhanced   x86_64    2:7.4.1718-1.fc23     updates                1.2 M
 vim-filesystem x86_64    2:7.4.1718-1.fc23     updates                 25 k

Transaction Summary
===============================================================================
Install  3 Packages

Total download size: 7.8 M
Installed size: 26 M
Downloading Packages:
(1/3): vim-filesystem-7.4.1718-1.fc23.x86_64.rpm 126 kB/s |  25 kB  00:00    
(2/3): vim-enhanced-7.4.1718-1.fc23.x86_64.rpm   2.7 MB/s | 1.2 MB  00:00    
(3/3): vim-common-7.4.1718-1.fc23.x86_64.rpm     7.0 MB/s | 6.6 MB  00:00    
-------------------------------------------------------------------------------
Total                                                                                            1.8 MB/s | 7.8 MB     00:04     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : vim-filesystem-2:7.4.1718-1.fc23.x86_64        1/3 
  Installing  : vim-common-2:7.4.1718-1.fc23.x86_64            2/3 
  Installing  : vim-enhanced-2:7.4.1718-1.fc23.x86_64          3/3 
  Verifying   : vim-enhanced-2:7.4.1718-1.fc23.x86_64          1/3 
  Verifying   : vim-common-2:7.4.1718-1.fc23.x86_64            2/3 
  Verifying   : vim-filesystem-2:7.4.1718-1.fc23.x86_64        3/3 

Installed:
  vim-common.x86_64 2:7.4.1718-1.fc23     
  vim-enhanced.x86_64 2:7.4.1718-1.fc23
  vim-filesystem.x86_64 2:7.4.1718-1.fc23    

Complete!


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