Follow

Let's have some trivia. Today, `yum update` and `yum upgrade` do the same thing. This wasn't always the case.

When they were distinct commands, what was the difference between the two?

· · Web · 2 · 3 · 0

Answer 

yum upgrade implied the --obsoletes flag and was equivalent to `yum update --obsoletes`, which would attempt to clean up previously installed but unnecessary dependencies during the update process.

@vwbusguy
I thought upgrade is used to migrate to the newest version of Fedora like from 35 to 36 😅

@vwbusguy
I thought fedora replaced yum with dnf.

Man, I remember playing with yum in the early-to-mid naughties.

SO much nicer than raw rpm.

@RL_Dane @vwbusguy they did, him is pretty much an alias to dnf now I think

@furicle @vwbusguy

Makes sense.

Searching through five CDs for the rpm package you want (and all its dependencies) in the early naughties was VERY tedious.

It was nice when there was enough free space to copy all the RPMs onto the hard disk, but we didn't always have that luxury.

@furicle @RL_Dane yum is a symlink to dnf. Same is also true on RHEL/CentOS Alma 8+.

Sign in to participate in the conversation
Mastodon

A newer server operated by the Mastodon gGmbH non-profit