On Sun, May 6, 2018 at 7:24 AM, Andrew Lutomirski <luto@mit.edu> wrote:
I just got some very strange behavior from dnf:

$ sudo dnf upgrade --best --allowerasing
Last metadata expiration check: 0:04:26 ago on Sat 05 May 2018 09:13:56 PM PDT.
Dependencies resolved.
================================================================================
 Package            Arch         Version                   Repository      Size
===============================================================================$
Upgrading:
 vim-common         x86_64       2:8.0.1788-1.fc28         updates        6.4 M
Removing:
 vim-enhanced       x86_64       2:8.0.1763-1.fc28         @updates       2.9 M

Somehow dnf's solution was to upgrade vim-enhanced and them
immediately remove it.  How does that make sense?

I think you may have misread the line above. It's updating vim-common, and removing vim-enhanced to make this possible.

Kalev