A technician must apply available updates to already installed packages on three servers running Ubuntu, RHEL 9 and openSUSE. Which three commands do this? (Choose three.)
Choose 3 answers
Show the answer
Correct answersA. sudo zypper updateB. sudo apt upgradeC. sudo dnf upgrade
AWhy this is right: zypper update installs newer versions of installed packages on openSUSE.
BWhy this is right: apt upgrade installs newer versions of installed packages on Ubuntu.
CWhy this is right: dnf upgrade installs newer versions of installed packages on RHEL 9.
DWhy not this: apt update only refreshes the package index; it installs nothing.
EWhy not this: dnf check-update only lists packages with updates available; it installs nothing.
FWhy not this: zypper refresh only refreshes repository metadata; it installs nothing.
apt upgrade, dnf upgrade and zypper update each install newer versions of installed packages. apt update is tempting but only refreshes the repository package index and installs nothing. Likewise dnf check-update only lists available updates, and zypper refresh only refreshes repository metadata.