Where my pacman -Syu
gang at btw
Quick question: Why are all saying that upgrading via -Syu is risky? I use arch for 3 weeks now and I always upgraded via paru -Syu and I never had problems with it.
-y && sudo apt autoremove
All you sophisticated folks with your dinky commands… I just click restart to update whenever Daddy Gated says so. So much easier…
Have you ever tried to challenge the system and see what happens if you don’t click restart?
Yes, random forced reboot at an extremely inconvenient time and an excruciatingly slow “Windows is installing updates” screen.
I’ve never had that with my work laptop. If I’ve got programs open that require close prompts, it won’t even reboot when it’s been idle. Eventually IT will lock it down unless I update though.
No big deal either way. You should be restarting at least weekly with any OS.
Plus, at least with Ubuntu, kernel updates happen much more frequently than Windows updates and require a restart to take effect. The only difference is you can ignore them, which is almost never a good idea.
Is there a reason these commands weren’t at some point combined into one flag?
I can see why you’d want separate “update” and “upgrade” options, but another flag that does both without writing such a long command would be nice.
Maybe I just don’t know enough about apt and such a flag does exist? Maybe they’re just expecting folks to create an alias?
I can see why you’d want separate “update” and “upgrade” options
i don’t. anyone care to explain?
Maybe for a server - regularly update the package list and compile a list of packages needed to be upgraded. Then send the list to an admin and let them do the update, so that it isn’t unattended.
makes sense, other package managers do the same. mixed it up with upgrade dist-upgrade which i still don’t really get
If you want to install something, do you wish to just update before hand, or to upgrade too ? I guess the former.
Now you could add update to the install function, but it would mean if you updated 5 mins ago for install something, you would need to update again as you install something else.
Better to keep them separated and call them as you wish.
Behold:
sudo snap refresh
… yeah… I’ll see myself out…
Class, let’s all thank ‘TeamAssimilation’ for showing us what not to do. Now, Brian, I think it’s your turn to wipe the drool off of his face, and make sure he hasn’t pooped himself again. I’m going to go call his parole officer and tell him that he’s in CLEAR violation of his parole.