Transaction check error in installing vim?

file /usr/share/man/man1/vim.1.gz from install of vim-common-2:7.4.179-1.fc20.x86_64 conflicts with file from package vim-minimal-2:7.4.027-2.fc20.x86_64

Both vim-common and vim-minimal ship a copy of the vim man page. Ordinarily, this does not result in an RPM conflict, since the files will be identical in both packages.

However, you seem to have different versions of vim-common and vim-minimal, so the file is not identical, thus resulting in the conflict. Update vim-minimal to be the same version as vim-common, and the problem will go away.

yum update vim-minimal 

and then

yum install vim-enhanced

Before you remove vim-minimal, login with root user or do: sudo -s

After that, remove vim-minimal with the command: yum remove vim-minimal

Then you can install vim: yum install vim and after that install sudo: yum install sudo


This is still happening in Fedora 23. My solution was to update both packages:

sudo dnf update vim-common vim-minimal

If I tried to update either package separately, I got the conflict. But I was able to successfully update both of them at the same time.

Tags:

Vim

Fedora

Yum