this post was submitted on 15 Jul 2023
418 points (97.1% liked)

Programmer Humor

32555 readers
691 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] low_bass2@lemmygrad.ml 8 points 1 year ago (1 children)

Why the -y after apt update? I've never had to do that on mint

[–] schmensch@discuss.tchncs.de 5 points 1 year ago (1 children)

Automatically agrees to everything. Can be dangerous, use with caution. If you're able to, I wouldn't use it.

[–] low_bass2@lemmygrad.ml 3 points 1 year ago

Oh yeah, I actually have a very simple bash script that includes apt upgrade -y (sketchy I know lol). But apt update just updates the sources so doesn't require the -y as far as I know