The behavior of yum update
and ʻapt update is different. * ʻUpgrade
command | yum (RedHat system: CentOS etc.) | apt (Debian system: Ubuntu etc.) |
---|---|---|
update | Update installed packages | Updated "List" of installable packages The package itself has not been updated |
upgrade | Package update(yum update) + Delete unnecessary packages |
Upgrade without changing the package configuration Do not remove unnecessary packages or update the kernel If the "list" is old (without apt update), the update will be executed based on the old package. |
dist-upgrade | None | Upgrade according to package configuration changes (same as yum upgrade?) |
I unconsciously thought that the behavior of yum
and ʻapt` was the same.
Note that the behavior was different when updating on CentOS or Ubuntu.
Recommended Posts