dnf doesn't show all updates compared to yum

dnf doesn't show all updates compared to yum

I had a CentOS 7 machine which I converted to use OEL 7 some time back using the centos2ol.sh script.

Today, I gave the command: "dnf upgrade" and it showed be that 17 packages were to be upgraded with 220MB to download.

I then selected 'N' to abort and gave the command: "yum update". This shows me that 2 packages will be installed and 46 updated with a 542MB download.

Why this difference?

답변1

On RHEL 7 based distris use yum as this is the original package manager for version 7 Releases. On RHEL 8 based distris you can use dnf.

관련 정보