访问: 2,751 次      评论    

运行环境:Fedora Core 19 X86_X64

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

解决办法:版本不同导致,先升级vim-minimal,再安装vim-enhanced 即可。

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.

[root@localhost ~]# yum update vim-minimal 
[root@localhost ~]# yum install vim-enhanced