[root@localhost ~]# dnf install vim
Last metadata expiration check: 0:22:29 ago on Sat Feb  4 11:45:15 2017.
Dependencies resolved.
================================================================================
 Package              Arch         Version                  Repository     Size
================================================================================
Installing:
 gpm-libs             x86_64       1.20.7-9.fc24            fedora         36 k
 vim-common           x86_64       2:8.0.238-1.fc25         updates       6.5 M
 vim-enhanced         x86_64       2:8.0.238-1.fc25         updates       1.2 M
 vim-filesystem       x86_64       2:8.0.238-1.fc25         updates        31 k
Upgrading:
 perl                 x86_64       4:5.24.1-383.fc25        updates       6.0 M
 perl-libs            x86_64       4:5.24.1-383.fc25        updates       1.5 M


Transaction Summary
================================================================================
Install  4 Packages
Upgrade  2 Packages

 




Total                                           460 kB/s |  14 MB     00:31    
Delta RPMs reduced 15.4 MB of updates to 14.2 MB (7.1% saved)
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.0.238-1.fc25.x86_64 conflicts with file from package vim-minimal-2:7.4.1989-2.fc25.x86_64


Error Summary
-------------





[root@localhost ~]# dnf update vi
Last metadata expiration check: 0:23:38 ago on Sat Feb  4 11:45:15 2017.
Dependencies resolved.
================================================================================
 Package            Arch          Version                  Repository      Size
================================================================================
Upgrading:
 vim-minimal        x86_64        2:8.0.238-1.fc25         updates        513 k


Transaction Summary
================================================================================
Upgrade  1 Package


Total download size: 513 k