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.
'dnf update vim-minimal' sometimes silently ignores updates. Does it work when you add dnf's '--allowerasing' option ?
$ 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
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.
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
Created attachment 1150643 [details] result of --debugsolver from debugdata dir
[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)
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"?
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!
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!