Ghostboard pixel Skip to content

It's Time More Linux Distros and DEs Become 'Linus-Proof'

The past few weeks have rattled the desktop Linux community.

Popular tech YouTuber Linus, not Torvalds but Sebastian, decided to use Linux on desktop for a month. Linus Sebastian wanted to see if Linux has gotten to the point where it is user friendly enough that any tech nerd can pick it up and run? His focus was also on gaming on Linux because PC gaming is an area Sebastian covers a lot.

That’s an interesting concept and many in the Linux community got excited because it was free publicity for desktop Linux to a wider tech audience.

Only, it went horribly wrong in the very first part of the Linux Daily Driver Challenge.

Linus Sebastian’s (in)famous Pop!OS moment

Linus Sebastian decided to install Pop!_OS because it is often considered a good mainstream distribution for gaming. He then tried to install Steam from the software center but the software center failed to install it.

Sebastian encountered an issue with Steam installation

When it did not work graphically, he went on to do what any other Linux user would have done. He turned to the terminal and ran the magical sudo apt-get install command.

Sebastian switches to command line to install Steam

In both graphical and terminal method, Pop!_OS showed a warning that the user was on the verge of removing some essential packages.

The command line method clearly warned, “You are about to do something potentially harmful. To continue type in the phrase ‘Yes, do as I say‘”.

Ignores the warning about removing crucial packages

For many Linux users, this could have been the point to pause and reflect. The output clearly shows that it is going to delete gdm3, pop-desktop and many other desktop environment elements.

But people often do not care about warnings. Linus Sebastian went ahead with it and ended up with a broken system that cannot be logged in graphically.

Linus Sebastian (not Torvalds) after realizing his Pop!_OS install is messed up

Lesson for the desktop Linux developers

There are two lessons to learn here for the developers:

  • Installing Steam or any other regular software should never have resulted in removal of critical graphical elements.
  • A user should not be able to remove the critical piece of software from a regular, mainstream distribution.

Pop!_OS quickly fixed the bug with Steam and also added a defensive mechanism to disable removal of critical desktop elements.

To prevent such incidents in the future, Pop!_OS patched the APT package manager. Now, POP!_OS won’t be able to enter “Yes, do as I Say”. Instead, they will have to add a special a file to enable it (if someone really wants to remove the packages).

That’s a good move by Pop!_OS. But this is not just a lesson for Pop!_OS. Most Linux distributions could encounter similar situation and end up deleting the desktop environment and display server itself.

KDE took a note and adds a feature to disable the removal of Plasma desktop in the upcoming Plasma 5.24 release.

KDE Plasma disables removal of Plasma desktop
KDE Plasma won’t allow you to remove Plasma Desktop

Many people blamed Linus Sebastian for going ahead with the disaster despite clear warning. But here’s the thing, many users won’t care for “warnings”, no matter how technically advanced they are. People just assume that pressing Y or other similar stuff is just part of the procedure without thinking twice. Some other Linux users have encountered it in the past and many will encounter it in the future.

This is why adding failsafe is the wise step here. This is something all mainstream distributions should do.


More from It's FOSS...

Latest