this post was submitted on 29 May 2024
338 points (94.0% liked)
Linux Gaming
15304 readers
6 users here now
Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME
away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.
This page can be subscribed to via RSS.
Original /r/linux_gaming pengwing by uoou.
Resources
WWW:
Discord:
IRC:
Matrix:
Telegram:
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I've done a whole NTSB breakdown on that incident before, but here's what I hope is the short version:
He was using Pop!_OS. Pop!_OS' desktop environment was at the time kind of a fork of Gnome. I think now it outright is a fork of Gnome.
It just so happened that a version of the Steam .deb package went out with a buggy set of prerequisite data such that if it encountered a "weird" desktop environment it would declare itself incompatible with this which would make APT uninstall the entire GUI stack, right on down to Xorg. It wouldn't happen to distros using more mainstream desktops like Gnome or KDE or xfce, but it did effect weird things like Pop!_OS.
This bugged version was apparently the latest version published when the Pop!_OS install image Linus used was made, so that was the version in the apt cache on Linus' Pop!_OS machine.
In the time between the creation of that install media and the filming of the episode, the bug had been reported and an updated version pushed to the repo.
At no point during the install-first boot process, or while launching the Pop!_Shop did Pop!_OS update the apt cache.
Linus tried to install Steam via the Pop!_Shop's GUI. behind the scenes it saw the error about incompatibility with the desktop and threw a dialog box that said "Failed to install Steam." The system was not harmed or altered in any way and continued working correctly.
Instead of googling "popos failed to install steam" to see if there's a way to fix it, he instead threw a small bitch fit about how Linux doesn't work and you have to use the terminal for everything. He googled for "how to install steam with the terminal" or similar, and found the command "sudo apt install steam." Most guides online for installing things using APT tell you to run an update and probably an upgrade command first, I do not know if Linus found instructions that omitted that or if he skimmed too aggressively.
Running the command "sudo apt install steam" printed a lot of STDIO to the terminal including a large list of things it was preparing to uninstall, followed by a plaintext warning in bold text that read (paraphrasing) **WARNING! This operation is very likely to seriously damage your computer. You should not do this unless you REALLY know what you are doing. To continue, type "Yes do as I say."
It is my belief that Windows trained Linus to ignore such warnings, because Windows constantly throws errors about "this may harm your computer" basically every time it asks for administrator privileges. Linux does not do this; Linux usually accepts a 'y' or even just hitting the enter key with no input to mean "yes proceed," sometimes when it wants you to really stop and think it'll make you type the whole word "yes." Having to type that whole sentence feels almost like "update your last will and testament to continue." I think a lot of users learned it would do that from Linus' video.
He did so, the computer dutifully uninstalled the entire GUI stack and dropped him into a terminal.
I mentioned above, but it definitely tried to make absolutely sure by requiring the exact string
“Yes, do as I say!”
With punctuation and capitalization required.
They’ve even tried to add more protections after the video to make sure that’s what you meant to do
A think to note is that it was completely salvageable. I believe it'd be just a matter of running
sudo apt-get install pop-desktop
and he'd be back on track. Meanwhile, on windows, download a sound card driver from manufacturers site, click "install", and your OS won't ever boot again, not in safe mode, not in recovery from live usb, not anyhow, because it always tries to load all drivers, including broken ones for some reason.