Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Installing vim-enhanced over vim-minimal on a freshly installed Fedora 27 fails with a file conflict. Version-Release number of selected component (if applicable): rpm -q vim-minimal vim-minimal-8.0.1176-1.fc27.x86_64 How reproducible: Always, after minimal install of Fedora (only Core package group installed). Steps to Reproduce: 1. dnf install -y vim-enhanced Actual results: Last metadata expiration check: 0:00:45 ago on Mon 05 Nov 2018 11:20:11 CET. Dependencies resolved. ============================================================================================================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================================================================================================= Installing: vim-enhanced x86_64 2:8.1.483-1.fc27 updates 1.4 M Installing dependencies: gpm-libs x86_64 1.20.7-10.fc26 fedora 36 k vim-common x86_64 2:8.1.483-1.fc27 updates 6.5 M vim-filesystem noarch 2:8.1.483-1.fc27 updates 51 k Transaction Summary ============================================================================================================================================================================================================================================= Install 4 Packages Total download size: 8.0 M Installed size: 31 M Downloading Packages: (1/4): gpm-libs-1.20.7-10.fc26.x86_64.rpm 241 kB/s | 36 kB 00:00 (2/4): vim-filesystem-8.1.483-1.fc27.noarch.rpm 561 kB/s | 51 kB 00:00 (3/4): vim-enhanced-8.1.483-1.fc27.x86_64.rpm 1.4 MB/s | 1.4 MB 00:01 (4/4): vim-common-8.1.483-1.fc27.x86_64.rpm 2.0 MB/s | 6.5 MB 00:03 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 1.5 MB/s | 8.0 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.1.483-1.fc27.x86_64 conflicts with file from package vim-minimal-2:8.0.1176-1.fc27.x86_64 Expected results: vim-enhanced is installed Additional info: Upgrading vim-minimal to latest version and then installing vim-enhanced works without transaction error.
Hi Vojta, thank you for reporting the issue! Argh, I thought I got rid of the issue... It will be fixed in the next Vim update.
Fixed in 8.1.511-1.
vim-8.1.511-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-4550e1e9a4
vim-8.1.511-1.fc27 has been pushed to the Fedora 27 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-2018-4550e1e9a4
still not working: dnf list --installed 'vim*' Installed Packages vim-minimal.x86_64 2:8.0.1176-1.fc27 @fedora dnf install vim-enhanced -y --enablerepo=updates-testing Last metadata expiration check: 0:22:35 ago on Thu 08 Nov 2018 10:29:34 CET. Dependencies resolved. ==================================================================================================================== Package Arch Version Repository Size ==================================================================================================================== Installing: vim-enhanced x86_64 2:8.1.511-1.fc27 updates-testing 1.4 M Installing dependencies: vim-common x86_64 2:8.1.511-1.fc27 updates-testing 6.5 M vim-filesystem noarch 2:8.1.511-1.fc27 updates-testing 51 k Transaction Summary ==================================================================================================================== Install 3 Packages Total size: 8.0 M Installed size: 31 M Downloading Packages: [SKIPPED] vim-enhanced-8.1.511-1.fc27.x86_64.rpm: Already downloaded [SKIPPED] vim-common-8.1.511-1.fc27.x86_64.rpm: Already downloaded [SKIPPED] vim-filesystem-8.1.511-1.fc27.noarch.rpm: Already downloaded 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.1.511-1.fc27.x86_64 conflicts with file from package vim-minimal-2:8.0.1176-1.fc27.x86_64
vim-8.1.513-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-c64c4fa043
vim-8.1.513-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-537a8330dc
vim-8.1.513-2.fc27 has been pushed to the Fedora 27 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-2018-537a8330dc
Everything works as expected, thank you. dnf install -y --enablerepo=updates-testing --refresh vim-enhanced (...) Installing: vim-enhanced x86_64 2:8.1.513-2.fc27 updates-testing 1.4 M Upgrading: vim-minimal x86_64 2:8.1.513-2.fc27 updates-testing 589 k Installing dependencies: vim-common x86_64 2:8.1.513-2.fc27 updates-testing 6.5 M vim-filesystem noarch 2:8.1.513-2.fc27 updates-testing 52 k (...) Running transaction Preparing : 1/1 Installing : vim-filesystem-2:8.1.513-2.fc27.noarch 1/5 Installing : vim-common-2:8.1.513-2.fc27.x86_64 2/5 Installing : vim-enhanced-2:8.1.513-2.fc27.x86_64 3/5 Upgrading : vim-minimal-2:8.1.513-2.fc27.x86_64 4/5 Cleanup : vim-minimal-2:8.0.1176-1.fc27.x86_64 5/5 Running scriptlet: vim-minimal-2:8.0.1176-1.fc27.x86_64 5/5 Running scriptlet: vim-common-2:8.1.513-2.fc27.x86_64 5/5 Verifying : vim-enhanced-2:8.1.513-2.fc27.x86_64 1/5 Verifying : vim-common-2:8.1.513-2.fc27.x86_64 2/5 Verifying : vim-filesystem-2:8.1.513-2.fc27.noarch 3/5 Verifying : vim-minimal-2:8.1.513-2.fc27.x86_64 4/5 Verifying : vim-minimal-2:8.0.1176-1.fc27.x86_64 5/5 Installed: vim-enhanced.x86_64 2:8.1.513-2.fc27 vim-common.x86_64 2:8.1.513-2.fc27 vim-filesystem.noarch 2:8.1.513-2.fc27 Upgraded: vim-minimal.x86_64 2:8.1.513-2.fc27
vim-8.1.513-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.