I’m on arch so its the highlight of every morning 🤣
Fedora does this too, it reboots to install updates…
Gnome Software does this with offline upgrades. It’s optional. Doing sudo dnf upgrade is the same as sudo apt update && upgrade. No reboot. Obviously you should reboot for kernels and certain hooks but otherwise yeah. You can disable gnome software automatic downloads etc
Enough of these dumb memes already. Do we really so desperately need to boost our self esteem that fucking much? Yes Linux has it’s cool benefits over Windows. We fucking know.
I agree. Enough with these simple memes - we need full-on propaganda!
You know what my OS doesn’t do? Yeah, exactly. That’s the better question now.
PS I love you
sudo nix-channel --update
sudo nixos-rebuild switch
nvim flake.nix
sudo nixos-rebuild switch --flake .
yay
“I use arch … btw”, also btw
For APT enjoyers,
alias yay="sudo apt update && sudo apt upgrade"
Also,
alias nay="yay -Rns"
Or yeet if you prefer, for the yay/nay or yay/yeet pair.
Thank you for this, I love it. We use Ubuntu at work and I am quite tempted to covertly add yay as an alias.
It’s insanity. I had to upgrade my work laptop to windows 11 this week.
IT didn’t do their research and turns out our main software isn’t compatible with windows 11 at all. So i had to downgrade back to windows 10. When i did, photos don’t work and the microsoft store wont open.
Windows is such a horrible system, i have no idea why they made it so poorly. I could have installed any distro of linux and had it working well in less than 20 minutes. Upgrading to windows 11 took almost 2 hours and it still didn’t work.
Now IT has to scramble to find a solution before the 14th and we lose all security updates, which they are very concerned about. What a nightmare to be in IT.
It’s always a nightmare being in IT lol
Nobody ever calls to say, “Hey! Just wanted to let you know that my email is working great, keep up the good work!”
We only hear from people when shit is broken.
Being in a windows shop only makes it 100x more difficult and expensive.
dnf upgrade
dnf5 made this so much more enjoyable
Is dnf5 on by default in fedora 42? Or is that delayed till 43
takes 1 minute on an 8 year old machine. foss gang cant meme.
Well, true, one of the slowest packaging systems in Linux world is still faster than Windows Update.
Click Update and Shut Down
Windows: Updates and restarts
trollface.jpg
Install Windows - does updates as part of the installation process. Get to desktop and check for updates - more updates to install. Reboot and check for updates again - yet more updates.
No it will update and once that is done it will shut down. But the update includes a restart so it will restart and then require you to type your password so it can finish the update, after which it will shut down.
sudo zypper ref && sudo zypper dup
Which just sounds ridiculous frankly. Even when you know what it means it still is rediculous.
Is it?
refresh makes it more clear than update that you’re not updating the computer’s packages, just the database of packages
DPKG based distros also need dist-upgrade or full-upgrade, rather than just upgrade, when you are switching versions where removals might be needed
Oh don’t get me wrong, I use Suse on a laptop. The commands strike me as funny looking. Like if I didn’t know what they did.
There is nothing more serious than Zypper!
Fellow OpenSUSE enjoyer right there
Dont you mean: sudo apt update && sudo apt upgrade
Yea
apt-get
is so 2010
Atomic zypper gang!! <3
Non-atomic zypper enjoyers here!!!
Ain’t nobody got time for two commands.
sudo apt upgrade --update
sudo apt update && sudo apt upgrade
Are you serious? That’s a thing? I’ve been doing apt update and apt upgrade for years
It also has sudo apt autopurge which does autoremove --purge
Yes.
Also don’t forget && exists for sequential completion of any commands
Yeah, I was doing
sudo apt update && sudo apt upgrade
I may be totally confused but I’ve also always done it in that order, otherwise I feel like it would run upgrades from your cache of the apt repos (possibly hitting errors as stuff likes to change), then after it would run apt update (updating the repos).
My thought has always been update repos, then check those repos for software upgrades. I could definitely be wrong though.
Presumably running upgrade with the update flag does it all in one go.
Yeah but shouldn’t the order matter? My understanding was that && just said 'after the previous command, run this… ’ so running upgrade before update would miss any changes changes to repos… From what I can tell update is required before upgrade (just like you have it), doing it in reverse missed a ton of updates for me.
If it were upgrade && update, yes that would miss the boat. --update is a baked in feature of apt upgrade, so it knows what to do ^_^
&&
executes the second command, if the command before was successful,||
executes the second command if the first one was unsuccessful and;
executes the second command regardless of success.I didn’t know any of this, thank you both :)
These are much more useful than the :() :;: operator
Expanded it’s more clear what’s going on.
bomb() { bomb | bomb & } bomb
Fun fact and disclaimer: this is a fork bomb. i tried it to run it on my phone via termux, thinking android would act up and terminate termux; but nope, my phone froze. Thankfully i hard-reset my phone by holding [VOLUME_DOWN]+[POWER] for ~5 seconds.
I’m absolutely serious.
You can also add a package name to install it at the same time as doing the upgrade, though personally I prefer to do that as a separate command so I can see what dependencies are needed.
My experience, updates usually work fine. Dist upgrades work fine 2/3 of the time.