I'd like to find out if there are differences between yum update
and dnf upgrade
.
I am using CentOS 7. I haven been using BOTH commands at the same time.
And I just tried it again and this is what happened:
yum update
Loaded plugins: fastestmirror, langpacks
adobe-linux-x86_64 | 2.9 kB 00:00
base | 3.6 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
(1/2): adobe-linux-x86_64/primary_db | 2.7 kB 00:00
(2/2): updates/7/x86_64/primary_db | 6.9 MB 00:02
#############################################################
dnf upgrade
Adobe Systems Incorporated 15 kB/s | 1.9 kB 00:00
CentOS-7 - Base 45 kB/s | 9.5 MB 03:35 5CentOS-7 - Updates 2.0 MB/s | 9.4 MB 00:04
CentOS-7 - Extras 1.2 MB/s | 929 kB 00:00
Using metadata from Tue Apr 10 16:22:39 2018
Dependencies resolved.
Nothing to do.
To me it seems they are showing different updates. But I could be wrong.
dnf
on CentOS before it migrated there from Fedora.yum
will not go away while CentOS 7 is still current. The earliest you'll see it go away and be superseded bydnf
is with RHEL8/CentOS8.