$ podman run -it --rm registry.fedoraproject.org/f33/fedora-toolbox:33 dnf install -y vim
[..]
Error: Transaction test error:
file /etc/profile.d/vim.sh from install of vim-enhanced-2:8.2.2115-1.fc33.x86_64 conflicts with file from package vim-minimal-2:8.2.1885-1.fc33.x86_64
The updates doesn't solve the issue clearly... the error is raised for any higher ENVR than 8.2.1885-2 now:
# dnf -y install vim-enhanced vim-minimal
Last metadata expiration check: 1:33:22 ago on Tue 15 Dec 2020 11:29:37 PM EST.
Package vim-minimal-2:8.2.1961-1.fc33.x86_64 is already installed.
Dependencies resolved.
==============================================================================================================================
Package Architecture Version Repository Size
==============================================================================================================================
Installing:
vim-enhanced x86_64 2:8.2.2115-1.fc33 updates 1.8 M
Installing dependencies:
gpm-libs x86_64 1.20.7-24.fc33 fedora 20 k
vim-common x86_64 2:8.2.2115-1.fc33 updates 6.7 M
vim-filesystem noarch 2:8.2.2115-1.fc33 updates 22 k
Transaction Summary
==============================================================================================================================
Install 4 Packages
Total size: 8.5 M
Installed size: 34 M
Downloading Packages:
[SKIPPED] vim-common-8.2.2115-1.fc33.x86_64.rpm: Already downloaded
[SKIPPED] vim-enhanced-8.2.2115-1.fc33.x86_64.rpm: Already downloaded
[SKIPPED] vim-filesystem-8.2.2115-1.fc33.noarch.rpm: Already downloaded
[SKIPPED] gpm-libs-1.20.7-24.fc33.x86_64.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 test error:
file /etc/profile.d/vim.sh from install of vim-enhanced-2:8.2.2115-1.fc33.x86_64 conflicts with file from package vim-minimal-2:8.2.1961-1.fc33.x86_64
I'll make the files as %ghost, it worked in my manual testing.
This update has been submitted for testing by zdohnal.
This update's test gating status has been changed to 'ignored'.
This update's test gating status has been changed to 'waiting'.
zdohnal edited this update.
This update's test gating status has been changed to 'ignored'.
This update has been pushed to testing.
Validation
Without this fix, the upgrade fails:
With this fix, it works fine:
Thanks!
Works
This update can be pushed to stable now if the maintainer wishes
This update has been submitted for stable by bodhi.
The updates doesn't solve the issue clearly... the error is raised for any higher ENVR than 8.2.1885-2 now:
I'll make the files as
%ghost
, it worked in my manual testing.This update has been unpushed.