this post was submitted on 25 Aug 2025
183 points (88.9% liked)

Memes

52090 readers
1182 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Zanka@lemmy.ml 14 points 1 day ago* (last edited 1 day ago) (3 children)

Fedora: sudo dnf update Type the letter y Done.

I don't understand why apt still has update and upgrade as two separate things.

[–] Chump@hexbear.net 12 points 1 day ago (1 children)

Sometimes you just wanna see what’s out there

[–] Ephera@lemmy.ml 2 points 17 hours ago

You can have a separate refresh/update command and still make the upgrade-command auto-refresh.

(You can also have a --no-refresh flag on the upgrade-command, in case you don't want the refresh for whatever reason.)

[–] PotatoesFall@discuss.tchncs.de 4 points 1 day ago (1 children)

You can even add the -y flag to skip typing y. Which apparently doesn't work for pacman judging by the command above

[–] deadcade@lemmy.deadca.de 3 points 8 hours ago (1 children)

Since lowercase y as an option to uppercase S already exists to update the database, --noconfirm exists to continue without user confirmation.

[–] NuclearDolphin@lemmy.ml 1 points 8 hours ago

Pacman has the worst CLI flags I've ever seen.

[–] zewm@lemmy.world 4 points 1 day ago

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.