Fedora: sudo dnf update, type the letter y, done.
I don't understand why apt still has update and upgrade as two separate things.
You can even add the -y flag to skip typing y. Which apparently doesn't work for pacman judging by the command above
Since lowercase y as an option to uppercase S already exists to update the database, --noconfirm exists to continue without user confirmation.
y
S
--noconfirm
Pacman has the worst CLI flags I've ever seen.
I’m more of a fan of just adding the -y parameter to skip the question and go straight to updating. Works with the install command too.
Fedora: sudo dnf update, type the letter y, done.
I don't understand why apt still has update and upgrade as two separate things.
You can even add the -y flag to skip typing y. Which apparently doesn't work for pacman judging by the command above
Since lowercase
y
as an option to uppercaseS
already exists to update the database,--noconfirm
exists to continue without user confirmation.Pacman has the worst CLI flags I've ever seen.
I’m more of a fan of just adding the -y parameter to skip the question and go straight to updating. Works with the install command too.