he ran it in the wrong order 💔✌️
Plus he couldbhave just used ‘apt’ one command.
sudo apt install --only-upgrade --no-install-recommends "^vivaldi" "^firefox ^nano"Update first, then upgrade
Good catch. Haven’t been using apt in some time.
sudo pacman -Syuyaywhich yay yay: aliased to paru
Is it even
apt-getstill? thought they changed over toaptlong ago andapt-getis just a symlink for legacy reasons.At least that’s what I last read… (speaking as someone also loving candy) .
apt is a wrapper over the apt- binaries (apt-search apt-cache etc).
aptis meant more for user interaction andapt-getis more stable and more for scripting. Butapt-getis often used in online tutorials because it doesn’t really change.I think it wasn’t for APT but I once worked for a business with a lot of RHEL, the script that was updating hundreds of servers was using the user wrapper instead of the binaries. A warning was displayed in the script to warn not to use the wrapper for scripts.
I warned my team leader of the issue and was completely ignored and was said that it was an issue for the team that made the script in the first place.
I gave up.
A few weeks later, the poorly designed script botched a major update on hundred of servers because the wrapper had a tiny change and the update script didn’t handle it well.
It’s insane to me how much money a business can waste for stupid shit like that. The devs warned us not to use their wrapper to script on, the linux team did it anyway, my warning was ignored, many hours of engineers work was wasted fixing the chaos that ensued.
paru
It runs so much faster if you do upgrade first \s
Update before upgrade you nonce
C’mon, it’s Debian! Obsolete anyway. Update today, upgrade in a week, not like things gonna change. Perhaps the man forgot the upgrade a week ago, upgraded, and then decided to double-check there’s nothing new anyway. Right?
No, no. You gotta update last to let them marinate for a while before you upgrade. If you upgrade too fast it just doesn’t taste the same.
i agree not as tender
Isn’t this how Non-Torvalds Linus bricked his install
I just want to share that last semester, the Windows podium computer we used decided randomly to update during a student presentation. It did not help their nerves, but I did turn it into a chance to evangelize Linux.
And no, they can’t use their own laptop, the connections to the podium computer, and thus the projector, use VGA…
Not that it matters much but isn’t there cheap adapters to/from VGA?
Yes but it’s generally easier and less prone to issues to just open their PowerPoint (or really, Google sheets) on the podium since I’m already using it. I’m sure the admin uses adapters as their excuse not to update the hardware though… (even if they are still using Win 11 on decades old computers).
Honestly, I would prefer if a video projector wasn’t tossed as garbage if you can just buy a cheap adapter and put it in a box next to the podium.
We have enough electronic waste as it is!
Yes, same; the real solution is Linux podium with an adapter in every room by default. But that’s not happening anytime soon, lol.
Technically it’s not the projector with the issue either, the podium is more or less a very fancy hub with a monitor built in. I feel like the adapter could just be built in if necessary, lol.
I have had windows users tell me that a projector needs a usb adapter. While HDMI worked perfectly fine and I even got crazy high resolution (after configuring it myself in KDE)
Vga-hdmi adapters are trivial
Linux noob here. Just upgraded hardware and reinstalled Windows and Linux on the gaming computers and even though I’m a complete Linux beginner, 9 out of 10 software issues were with windows! I couldn’t believe a gazzilion dollar company with thousands of employees still couldn’t get it right?
I reinstalled Windows 11 a while ago because of a software I struggled to get working on Linux (the adobe installer patches for WINE have since resolved that) and I had no idea how annoying the installation process is. You had to babysit it, and tell it your life’s story. Not to mention the amount of times it asked me to sign up for MS 365 and OneDrive. In the end, it enabled OneDrive anyway, despite me telling it to sod off at least half a dozen times.
And that’s just the install process. Using it is another beast entirely. Why do I need to accept a UAC prompt just to open a browser? Why does the browser need to update itself every time I boot the OS?
Why do I have to hunt all over the internet for basic stuff that should come with the OS itself? Even when I used an NVidia card I didn’t have to faff around with some stupid third party software to handle drivers, it was just there. Sure it broke all the time because NVidia is a garbage company, but it was right there!
This is what happens when app devs make the installer instead of system doing via package manager
Didn’t know we were still doing apt-get
I have a lot to learn
iirc, apt-get is the version to use in scripts. They keep the input & output consistent so that it won’t break things.
Regular old apt is for humans to use at the command prompt, and that’s what I use all the time.
How is apt better for humans?
Less options and it expects user input, so when you update and there’s a changelog or warning, it shows it to you and you can read it. It doesn’t continue because it thinks you’re there reading it. The options and output are subject to change, so you don’t want it in a script. Apt-get will always have the same options and expected output for automation purposes.
Apart from letting you read the changelog, I would call it less of a “good for humans” but “bad for scripting”. Maybe it’s just me, but less options was never a good quality in my books
Yeah why do I still see this everywhere
haven’t used linux in decades but used to use aptitude over apt-get
“Fun” fact: Windows is finally just now, in the year of our lord 2026, trying to release some updates as “live”. As in not requiring reboot.
It’s going better than you’d expect, but still far worse than they have any excuse for.
thats only if it actually downloads and installs. our enterprise windows installs like to take 5-10 attempts to actually get the software onto the computer. “Install failed. retry?”
Odd, most companies don’t have problems with them.
Cause the companies don’t install the updates, IT experts do. They do have problems with windows updates.
Also, not true.
Not exactly correct. They are releasing their hot patch service more broadly. These are updates that would normally require a restart no longer need to be restarted.
Just like Linux though, if you didn’t want to restart after updating you never really were forced to.
Or if you’re me,
yay -Syuand wait 4 fucking hours (Because you barely ever remember to do it).Just
yaywould sufficeI do update my Arch each time it boots. Like a tiny tradition to me.
Doing
yay -Syu --noconfirm & shutdownwhenever I turn my machine off has been the solution for meYou turn your machine off???
Once a month or so yes!
I kid. I reboot every couple weeks to save myself a bunch of headaches.
I reboot every time an update triggers mkinitcpio. Otherwise som kernel modules stop working.
Wait but that means your computer will stay on if the update fails, right?
It doesn’t deserve the rest if it fails.
Wait but that means your computer will stay on if the update fails, right?
If it was
&&then the second command would only run if the first command was successful.But @vodka@feddit.org wrote only one
&which instead means the first command will run in the background and the second will execute at the same time… which does not seem like a good idea in this case 😅Oh damn, yeah it was supposed to be &&, probably messed it up when arguing with the stupid phone keyboard adding spaces after symbols
Thank you!
You misspelled
pacman -SyuNo, you misspelled
zypper dup. But with enough time, you’ll get there.That’s a corporate propaganda that I can’t stand for
Take my angry upvote
I kneel
The only true answer
Order wrong.
they need to make
apt get upgratethat does both in the right order…You are in luck because you can make this an alias (custom command) in your .bashrc file:
alias update='sudo apt-get update && sudo apt-get upgrade'
genini update my machine
Because I’m apparently a raging masochist
sorry, usage of this tool has been discontinued, please use [WORSE TOOL WITH DIFFERENT NAME]
(joking but not really, gemini-cli is going to the google graveyard, replaced by antigravity-cli that’s basically the same, but in google’s tradition it launches with less features and also it’s not FOSS)
KDE Plasma recommends applying updates at reboot like Windows for stability. In fact, that is how it does them by default
KDE Plasma does what I tell it to
Sure, what I’m saying is the “windows way” of applying updates isn’t bad and there’s a reason why they do it
Except that stability isn’t the reason windows does its updates on restart, its a software limitation.
Windows doesn’t have the ability to edit running files, it quite literally can’t update the system without shutting everything down.
Feels aggressive sometimes
It can be configured but out of the boxes users need to have updates forced on them. Otherwise they never update.
Bah!!
And what he’s saying is it’s his life. It’s now or never. No one’s gonna live forever. He just wants to live while he’s alive. It’s. His. Life!
jesse, what the fuck are you talking about
Someone who gets it 🥲
Wait, plasma does your system updates? I don’t think it’s an appropriate chain of commands
Discover is integrated with the rest of Plasma, so if you run your upgrades via Discover on Plasma, it’ll use Plasma settings. The same goes if you update with the little button in Plasma’s taskbar
Petty nitpick on my part, really, but I don’t think of Discover as a part of Plasma.
Good call, very little is “part of” plasma strictly speaking
For those who are confident in their system setup
sudo apt update && sudo apt upgrade -y && sudo apt autoremove -yFirst thing I do on a new system using apt is aliasing this to “UpdateSystem” in .bashrc
sudo zypper dupThis is the correct answer.
There’s dozens of us!
A few dozens at least!!
[happy zypper noises]

























