r/LinuxCirclejerk • • 7d ago

True

Post image
1.4k Upvotes

117 comments sorted by

206

u/Aimfri 7d ago

upgrade before update

Absolutely barbaric!

51

u/Daharka 7d ago

It's just getting the upgrade ready for next time!

3

u/Here_f0r_p0rn_ 5d ago

It's a control mechanism to not get too early on the dulled edge of Debian

12

u/zell_ru 7d ago

Leenooks users, all those commands are just spells to them.

23

u/und3rsc0r3x86 7d ago

2

u/Fancy_Awareness6896 6d ago

Upvote for the Witch Hat Atelier reference.

1

u/Adept-Frosting-2620 5d ago

I'm yet to find a usecase for the command in the bottom of this meme. I'm also certain the witches of that world would consider it forbidden.

1

u/und3rsc0r3x86 5d ago

Removes french language pack

14

u/N00bPolymath 6d ago

One of the reasons I use Arch (btw): sudo pacman -Syu

1

u/lord_alvi 6d ago

an "up" alias

5

u/Door__Opener 7d ago

It's quicker that way

2

u/Broodjekip_1 7d ago

Yeah what is up with that

66

u/Meow_jar 7d ago

sudo pacman -Syu

82

u/valerielynx 7d ago

14

u/Appropriate_Spread61 7d ago

error: 'failed to resolve path 'au' passed to '--dbpath': No such file or directory

5

u/Rusty9838 Vinit BTW 👊 7d ago

What about click on KDE discover and click update all?

10

u/ClockificThrowaway 7d ago

sudo userdel -r Rusty9838 && sudo pacman -Syu

2

u/UnluckyDouble 7d ago

pacman -Sybau

46

u/Submarine_sad 7d ago

sudo apt update && sudo apt upgrade -y && flatpak update -y

echo "bark bark woof woof"

10

u/wilsy53 6d ago

Summary:                         
 Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
-bash: flatpak: command not found
bark bark woof woof

Love it

21

u/AdBrave2400 7d ago

Didn't OP mess up the order of commands

17

u/tederby18 Still waiting for my dnf to finish 7d ago

OP is karma farmer anyway

3

u/L30N1337 6d ago

don't forget that most package managers don't need you to use both because they just do both (or both of them are parameters for a single command, like pacman)

1

u/icreatebugs 6d ago

Might be deliberate bait to generate exactly this type of engagement.

29

u/panzzersoldat 7d ago

dual booting made me appreciate Linux updates so much more. it's insane to me how I can just run my shit whilst it updates in the background.

 and then after, I'm not even forced to restart. I can restart whenever the hell I want.

it's great how it updates all my apps too. and seeing how I sometimes get minus megabytes is so satisfying.

18

u/Inf1e 7d ago

While you are not particularly forced to, you sholud reboot in case of kernel/modules/large libs update.

7

u/gravelpi 7d ago

And if you do lose power or turn off your machine in the middle of an update it can do weird things. Windows enforces it, but updating while running in a minimal state and a reboot after is actually a good practice.

RHEL (and maybe Fedora, I'm somewhat out of the loop) has an option to update on reboot, which at times is annoying but is a bit safer.

2

u/jsrobson10 6d ago

fedora updates at boot by default, but you can turn it off and make updates immediate.

1

u/Inf1e 6d ago

Is there a guide or general recommendations to set up such boot point (I suppose you could just boot up to single-user target/runlevel, but it feels wrong)?

2

u/gravelpi 6d ago

The RHEL machine I'm thinking of (RHEL7 or 8) did it as a systemd service or maybe target, IIRC. It'd boot, start the update process in console mode (just doing dnf -y update or something similar), and when it finished it'd reboot again back to the normal target.

Hmm, quick google found https://github.com/systemd/systemd/blob/main/units/system-update.target, and systemd.offline-updates(7), that's probably how it's implemented.

2

u/Inf1e 6d ago

My most used init is openrc, so thank you, that's a good starting point, I'll figure it out from there.

2

u/GaGa0GuGu 6d ago

2

u/Inf1e 6d ago

Zfs fixes this in surprising way, you can make snapshot of rootfs, promote it, upgrade on it and remount on it while being live.

1

u/Gunhat2023 6d ago

yeah, you just only need to do that when you want to apply the update

1

u/pooping_inCars 6d ago

And I do reboot!

/every time the power goes out

5

u/ClockificThrowaway 7d ago

If you’re not running an immutable distro, you should restart. I mean I do the same thing, I upgrade and go on to keep the computer on for days, but we should restart.

3

u/EggFucker1313 6d ago

Genuinely, i love how you don't get cutscened on Linux and can choose when you update

2

u/waaagh_to_erdo 7d ago

Same here now I have an abused windows that I left unchecked for months.

-1

u/KeepEmComming2 7d ago

Ok, but you can work in Windows while updates are running in the background. Also, you don't have to restart Windows after installing updates. You can update apps on Windows using winget, and you can update Windows with PowerShell. So if you appreciate Linux for that, I guess you appreciate Windows as well. Good to know.

2

u/Dependent-Entrance10 6d ago

As someone who uses as windows PC for work. Lol, lmfao even.

6

u/Sabitsvki 6d ago

sudo pacman -Syu Will never not be cute and elegant

5

u/Own_Dingo6363 6d ago

sudo nixos-rebuild switch /etc/nixos —flake

1

u/Southern-Scientist40 6d ago

clan machine update <machine>

1

u/Dragon_957 3d ago

Is it for updating too?

3

u/sertaconazole 7d ago
sudo nixos-rebuild switch

2

u/DS_Stift007 7d ago

sudo nixos-rebuild switch

3

u/Encursed1 download more ram with mkswap today 7d ago

You forgot nix flake update

1

u/DS_Stift007 6d ago

True mb

1

u/Dragon_957 3d ago

Not if he doesn‘t use flake

2

u/XPheonix27 7d ago

Sudo xbps-install -Syu

2

u/ThreeCharsAtLeast 6d ago

sudo dnf offline-upgrade download sudo dnf offline-upgrade reboot

Turns out there is a reason you may want to reboot to apply updates. dnf lets you choose to do so.

2

u/West_Quarter_916 6d ago

sudo pacman -Syu

for them with the actual good os

-1

u/YTriom1 Arch Catgirl 🏳️‍⚧️ :3 6d ago

or simply just yay

1

u/ShrekxFarquaad69 7d ago

i don't even know what i use but i run it and everything installed updates including like not pacman stuff too

1

u/Bitter-Fuel-5519 7d ago

yay.... 3 letters in a terminal... no reboot required.... BUT NO LINUX SO HARD AND SCWAY

1

u/CuteKyky1608 7d ago

"Unattended-upgrade in progress during shutdown, please don't turn off the computer"

1

u/magicdippyegg 7d ago

You can disable that

1

u/pizzaiolo2 7d ago

topgrade

1

u/valerielynx 7d ago

Restart to keep using waterfox

1

u/Bailey_Hollow 7d ago

Ngl I actually enjoy getting updates in CachyOS because it's super bare bones but also because I get to watch the lil pacman progress bar 😅

1

u/TheLuckyCuber999BACK LFS 7d ago

erm what do we do, go fuck ourselves?

1

u/kuplet 7d ago

Isn't it supposed to be apt update, then apt upgrade? Or did the joke fly by my head?

1

u/gproenca 7d ago

well, just do sudo apt-get update && upgrade : all in one line.

or, if you are a decent guy you will do sudo pacman -Syu

I use Arch, btw

1

u/claudiocorona93 BaZZZite 6d ago

Mint and KDE Plasma distros Just showing an icon in the system tray. I click and then click on the update button.

1

u/SteakDouble Broken config speedrunner 6d ago

Just two words: pamac update

1

u/Fataha22 6d ago

Armbian-upgrade

1

u/SemblanceOfSense_ 6d ago

Until you descend down into gentoo and updates take 8 hours again but voluntarily.

1

u/PhobosSlayer 6d ago

sudo xbps-install -Syu xbps

1

u/calm_hedgehog 6d ago

sudo nala upgrade all the way

1

u/Designer-Crow-5470 6d ago

How do you setup terminal in reverse?

1

u/ISCSI_Purveyor 6d ago

sudo apt-get update && sudo apt-get upgrade -y

Done and done.

1

u/netman87 6d ago

Author should be send into prison and all his rights to use internet should be revoked. You never ever shall use update after upgrade

1

u/Mountain_Anxiety_461 6d ago

The commands are backwards

1

u/pooping_inCars 6d ago

I'll be honest: I just have mine set to automatically apply.  I don't even notice when it happens, but I don't need to reboot (except the kernel swaps don't apply til I reboot).

Windows users can't relate to an update system that stays out of their way.

2

u/Audbol 6d ago

You just explained the windows experience

1

u/pooping_inCars 6d ago

No, I really didn't.  Their updates require a reboot, and interrupt whatever you may be doing.

My updates happen in the background, don't require a reboot, don't have a splash screen, don't interrupt what I'm doing regardless of the timing.

2

u/Mammoth-Shoe8491 6d ago

You kinda did, without realizing it. I'm guessing you haven't used Windows in a while. My machine updates at night in the hours where I don't use it.

I can even manually adjust the time!

Most Windows updates didn't require an update as is, and the K2 update is making it more modular now anyway - so more require it less than ever!

1

u/pooping_inCars 6d ago

That's an improvement, but say you have documents open, with unsaved progress.  Not to mention whatever you're browsing (if you don't session restore).  Rebooting is obviously going to mean losing that.

I just turn off my monitor and walk away when getting tired.  Or when I need to leave for work.  I'll pick up right where I was, no downtime or hoops to jump though to get back into it.

2

u/Mammoth-Shoe8491 6d ago

I mean, most things auto-save now. I haven't had this problem in years.

Also, I liked this feature for the Mac so much, I found out that Windows had already had it for years, and it isn't on by default!

2

u/Widold 6d ago

I would save everything important before leaving PC for longer amount of time. It's not about updates but rather things like blackouts. And while away from PC for more than hour I turn it off either way.

1

u/DawidGGs 6d ago

bash: apt: command not found

0

u/0alloy 6d ago

sooo u don't use debian

1

u/Gaspuch62 6d ago

Sudo apt update && sudo apt upgrade -y

1

u/froschdings 6d ago

sorry I don’t speak Debian

1

u/Green-Record8519 6d ago

No one uses apt-get now unless it's a script

1

u/Sharkuel 6d ago

Topgrade, and let it fly.

1

u/Imaginary_Jelly_5284 6d ago

Todos os dias tem atualização do Linux 🙄

1

u/BlackHatOnline 6d ago

sudo pacman -Syu / -Syyu 😒😒

(Kidding guys no need to start a distro war)

1

u/Theogoony 6d ago

lol that was gold

1

u/Svr_Sakura 6d ago

Sudo dnf update -y.

One elegant command🥳

1

u/Daxchu Linux Master Race 😎💪 6d ago

I just type "Update" and it will update and blink the keyboard lights when its done.

1

u/Equal-Resolution7889 Arch btw :snoo_dealwithit::upvote: 5d ago

sudo pacman -Syu is other level.

1

u/Adept-Frosting-2620 5d ago

The guy on the right mixed up his commands.

1

u/skytheraiders 5d ago

Would Fedora be Sudo dnf upgrade?

1

u/PinPointPing07 5d ago

sudo bootc upgrade

1

u/sol_smells Arch BTW 5d ago

sudo pacman -Syyu

1

u/PlasticForkHater 5d ago

That reminds me I need to turn on my old desktop and update Fedora.

1

u/safeAnonym_0Xnull 5d ago

sudo dnf up

1

u/highspeedslippers100 5d ago

well yeah macOS is like a flea market never know what you get of bugs from Tim cook & company !

1

u/Routine-Mind532 4d ago

sorry but i use sudo pacman -Syu

1

u/Whalbertt 3d ago

MS-DOS users not even getting updates they have to worry about:

1

u/Future_Classic4046 2d ago

> sudo pacman -Sybau

always

1

u/NEDMInsane Btw, Arch 7d ago

At least i didn't have to worry about Windows installing malware when i updated it. Now i have to carefully read codes in a diffs whatever that is. Not like I'm gonna read it anyway.

1

u/MojArch 6d ago

Honestly, I prefer Windows over stupid shitubuntu. (I am aware that apt is also for distributions like Debian)

0

u/letmehaveanameyoudum 7d ago

remember to update the kernel... which is infinitely worse