We do often include affiliate links to earn us some pennies. See more here.

KDE Discover gets update to prevent you breaking your Linux system

By - | Views: 61,128

I must say, I appreciate the attention to make things not only simpler but less breakable lately. First we had APT being patched to stop users removing essential packages, now the KDE Discover software manager gets a similar upgrade.

Developer Nate Graham has written up another great "This week in KDE" blog post, going over changes and improvements coming to the next release of Plasma and the various applications. One small change really caught my eye though! Discover now has a new way to ensure you keep a working system, with an updated mechanism to detect important packages getting removed and give you a friendly warning on it free of too much technical jargon.

Picture Source - Nate Graham

Graham's comment underneath "Hopefully this is Linus-Sebastian-proof", heh. I hope many more application developers are looking at the way Discover and APT are evolving to ensure things are a bit more idiot-proof.

Another change to make things look a bit friendlier in Discover is that previously, if you had issues upgrading, it would instantly shove a load of technical details in your face. To normal consumers, that's clearly not going to do much to help and could probably scare them away. Now, instead, it will provide a very clear and friendly message, with the option to get more details to report the issue.

Picture Source - Nate Graham

Plenty more upgrades to Plasma are in the works too, like the newer KWin Overview effect gaining the ability to display search results from KRunner, which brings it another step closer to the GNOME Activities Overview feature, which I did always find thoroughly useful.

There's plenty more fixes in the full post.

Article taken from GamingOnLinux.com.
Tags: KDE, Misc, Open Source
29 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly came back to check on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly. Find me on Mastodon.
See more from me
The comments on this article are closed.
148 comments
Page: «6/15»
  Go to:

elmapul Nov 20, 2021
Quoting: WorMzyI have no use for this software, but it's probably good that it's getting some idiot-proofing ahead of the Deck launch (even if Valve are protecting the base OS image and using overlays, reducing the risk that dumb users pose to themselves...)

its not dumb users, its newbies, and everyone start as an newbie.
unless you are an linux user
https://gaming.stackexchange.com/questions/21664/dwarf-fortress-learning-curve

its like the dwarf fortress learning curve in this xkcd comic.


Last edited by elmapul on 20 November 2021 at 11:39 pm UTC
[Linux] tayshady Nov 20, 2021
I don't want to dumb down Linux for less inexperienced users, but Pop OS or Ubuntu are not good distros for beginners, Linux Mint is because it's made by people who know what they're doing.

You have two companies like System 76 and Canonical behind these distros and there's still so many bugs and issues with them. I would never recommend any GNOME based distro to any beginner, what a joke. Anyone who recommends these distros to beginners has no idea what they're talking about.

Just recommend Linux Mint, that's it.

There was this dumb shift from the community that Pop OS was the new defacto beginner distro and that was a huge mistake IMO. I heard that the developers of Pop OS want to move away from GNOME about time, GNOME3 needs to just die, fork off GNOME2 like Cinnamon did or just make something else. GNOME3 is a catastrophe and needs to be abandoned, and we need new toolkits to replace GTK so we no longer rely in anyway on the abomination that is the GNOME team. They are the worst thing to have ever happened to Linux IMO.
Glog78 Nov 20, 2021
Quoting: denyasis
Quoting: Glog78
Quoting: denyasisUmmmmmm

Y'all know you can turn the safety net off right?

Like it looks like it could be a command line option, or you could put it in the apt conf file.


It's not even a big deal. I mean the most we'd have to do is Google it when we run that issue.

but isn't exactly this what linus did -> turn of the safety net by going to the commandline and even ignoring the warnings there ?
How do you want prevent people from googling and doing still what they are not meant to do ?

It's an open source OS. You can do anything with it, even change the source to remove any safety net. While nothing will prevent that, I don't find it unreasonable to make it a little harder to nuke your system from the UI, especially for a program that gets a lot of user attention and use and so powerful/integral to the OS.

But if it's that oppressive, you can turn it off, just like the others. I can foresee doing myself that in some cases.

Come to think of that, I'm genuinely curious; What other safety nets do you turn off on your system?

I think mine are all on, the number of times apt has saved me be refusing to overwrite conf files in /etc is high.


Edit: sorry my spelling is horrible and apparently I can't complete a sentence today.

Since i use arch on my machine , there is no real default "net". But on pc's i only administrate (eg: my mom's one with an ubuntu) i let it be as default as possible. But if default even on an lts version breaks stuff -> i give up on saying there is a good way to prevent things from breaking. Neither the changes on apt nor the changes on discovery nor any other changes will prevent things from breaking. That's my personal truth noone want to hear.

So my conclusion is not to make it harder or change anything (let people learn, let people understand , let people do their mistakes) but give them a much easier way to go back to a usable state. On windows it should be still F5 during bootup and go to last known working configuration or failasafe configuration.

Why don't we have those options (specially since they most likely can be easy implemented -> snapshots) on mainstream distributions ?

Why are people still be able to break systems when even android has a recovery solution ?

Why do we discuss solutions which are either force one group or the other group to change how they work ?

Why do people measure with different indicators what is newbie friendly and what makes me more angry ... why do they change this even within minutes?

Also what does really help and what doesn't? Or is current activism just something we use as an excuse?

As i wrote into my introduction -> if we really want to create newbie friendly distributions ... tools like proton-ge / protontricks / mangohud / vkbasalt and many more we are used to advice in the gaming community need to be marked at least as advanced technology if not marked as professional technology. They are far from being easy to use / configure or maintained -> even we have made big progess. But we also watch them with our years long knowledge about linux.

We can't say that lutris is a solution if basically nearly no distributions provides the maximum compatibility libraries for lutris. It's totally understandable why they don't (aka copyright's) but hey it differs totally from distribution to distribution (gstreamer plugins)....

Don't let me get into all the hassle you have if you want to have 32bit compatibility currently ...

This is all far from understandable for a normal windows user let alone a newbie.... And this is what sucks about all of this. We are not discussion the roots / the real problems but we fix something to get out of the focus. Does this really help linux? Does this make it easier for a none tech guy to get into linux? Also one question -> do we really want to have none tech guys into linux? What makes linux linux and not a windows clone? What is the reason why alot of us did switch and why do we love it? Do we love it for it's hand holding or do we love it for it's freedom?

I can say i have my answer and i don't agree with modern linux systems getting more and more uncontrollable or even understandable...
How many people still do understand which config file is to change (the systemd one or the etc one or mabye both ?)
How many people still do understand if a snap / flatpak can access a file or not ?
How many people understand why they can watch a wmv using their media player on linux but can't watch it in proton ?
How many people do understand that steam uses a container and while wine can access default shaders in /usr ... steam can't and more so how to diagnose this?
With soon to be 3 dx9 layers for wine (opengl / zink - gallium / dxvk) which one is to be used when ?

This is what we need to reduce , complexity -> it needs to be easy and default. And if something happen we need to go back easy to an default working system. But that's only my personal opinion. And as you can see above -> if i don't cheer for the current solution i am elitist -> or have unsustainable opinion and should be quiet. I know why i haven't said anything for years.
Purple Library Guy Nov 21, 2021
Quoting: Beamboom
Quoting: Purple Library GuyUm, but Beamboom is literally and specifically saying that nobody who wants to just click "go" should be using Linux. At all. Ever.
Literally? And specifically? Well then, please quote me. It should be very easy to find those quotes, since that's what I am literally saying.
You led off with "I simply do not subscribe to the idea of "Linux for everyone"". Then you started talking about all the "everyone" it was not for, and I recognized myself among them. Going further, describing who shouldn't be using Linux, you compared Linux to a specialized racing car, meaning Linux was only for the few, the proud, the race car drivers of OS users. I am not one of those, so that lets me out.

Quoting: BeamboomWhat I do say, is that those who do intend to use Linux should be willing to learn it for what it is. They should have the mindset and attitude of wanting to learn a new operating system.
You realize those two things are mutually exclusive, right? Wanting to just click "go" does not involve wanting to "learn an operating system" (whatever that even means), let alone get the experience of breaking the system and becoming somehow wiser from doing so.
Well I don't, and didn't when I started using it, have the mindset and attitude of wanting to learn a new operating system. I had the mindset and attitude of wanting to do word processing, browse the web, listen to music etc. on a system other than Windows. At times this meant it sucked to be me . . . not so much any more, and I like it that way, thanks.

Quoting: BeamboomAnd they should be made aware of what Linux is.
What you think it is. What you think it is, isn't what I think it is. So, since I don't want to assimilate what you think it is, and I don't want to approach it on the basis that you think I should be approaching it . . . you are saying that I am among that vast majority who shouldn't be using Linux.

Quoting: BeamboomI don't want to keep anyone from using or wanting to use Linux. But they should approach on Linux' premises, and yes - they might screw up in the process.
So . . . if you want the condition for people using linux to be (X), but you don't want to keep anyone from using Linux, what do you want? A mandatory re-education program for everyone beginning Linux use, so by the time they're really using it they have become the kind of people you want using Linux, with the kind of attitude you want them to have when using it?
How do you get from "I think people using Linux should be like X or do it like X" to "but I don't want to stop anyone"? You want people who don't do it your way to use Linux, you just get to disapprove of them? Except Linux "isn't for everyone", so they have to be the people Linux isn't for. How do you resolve the contradiction you're creating here?

Quoting: BeamboomLinux is a much more open, modular system than the other two. The users must relate to that.
You know, I almost hate to tell you, but modern non-hard-core Linux distributions are very easy to use. Nearly everything Just Works, software is much easier to install than in Windows, software updates are much less of a pain than in Windows, the system doesn't nag you meaninglessly all the time like Windows. Using Mint, you don't have to relate to a goddamn thing except assimilating that you can use the incredibly easy software installation GUI and then have the system keep that software updated, instead of having to browse the web for a bunch of stuff and install it one by one and maintain it yourself.

Quoting: BeamboomThey should use Linux for what it IS - and it is not just some political statement against the establishment. It's not just a toy pose by, a symbol.
Hey, you're the one who seems to believe there is no possible practical reason to use Linux except if you want it to break. Although personally, I think political statements against the establishment are perfectly good reasons to do things.

Quoting: BeamboomJust the mere fact that there's several different audio architectures on Linux! That does almost the same for most users, only not exactly and in different ways! Just to pull out but one small example. We all could make a list with examples like that.
I know that because I read about Linux, not because I use Linux. As a Linux user, I have no awareness of that. I have an applet for sound stuff on my taskbar; if it isn't in the setting when I right click that applet, I don't know about it. So no, that fact isn't relevant at all.


Quoting: Beamboom
Quoting: Purple Library GuyBeamboom is literally saying that Linux should not only remain used by only a minority on the desktop, but specifying just who that minority should be allowed to be

Again: Nonsense. I am saying that Linux will never be the major mainstream desktop OS because of what it is.

Just like a system camera is not for everyone, Linux is not for everyone. But if someone wants to learn to use a system camera - go right ahead! Just don't expect it to be used like a pocket camera - nor should they TRY to!

Quoting: Purple Library GuyAnd yes, I'm going to get "hot under the collar" when I'm told that people like me shouldn't have been allowed in the club.

I'm sorry but this is ridiculous. You need to cool your collar her :) . Nobody here tells you so.
If that's not what you're saying I still can't figure out what you are in fact saying. The absolute best spin I can come up with is, I am a poor lost sheep who has by accident ended up using an operating system that by definition is not the one I'd be best off with, so for my own sake I should wise up and leave.

As it happens, that, while somewhat less offensive, is simply not true. I don't think you have much of a picture of what the Linux desktop can be like for straightforward users to use.
Purple Library Guy Nov 21, 2021
Quoting: GuestI've used apt and typed that I knew what I was doing a couple of times before. It's not something I do on a regular basis. I was removing what were considered critical packages, and that was ok. I would've been annoyed at the time if it didn't let me (because it would have turned into a case of damnit, on Gentoo this is much easier, grrrr!), but if there was a hint of where I could read more and figure out how to force things? That would've been fine.
Ah, well. I stand corrected. Clearly now and then people do want to do that. I guess I was under the impression that this only applied to adding packages with apt, not removing them, and it seemed to me an odd thing that anyone would want to do the task of removing key packages by adding some other package.
But they still can. Indeed, for people who know what they are doing I think it's easier, because as far as I can tell you can now build it into the initial command and have it just happen with no backchat, rather than doing the command and then typing a thing. I still don't see that the change is worth the bitching that it has received.


Last edited by Purple Library Guy on 21 November 2021 at 12:27 am UTC
Arten Nov 21, 2021
Quoting: Guest
Quoting: Arten
Quoting: Beamboom
Quoting: AussieEeveeThere is a tiny little warning blended in with all the other white noise on the screen, and blaming Linus is just silly.

TINY? lol - dude, there was NO "white noise". There's FIRST an explicit warnings, very clearly put, AND info on what exact packages are about to be installed (for you to make up your own mind), then ANOTHER very explicit warning AND you're required to type a bloody SENTENCE to get through with it.
If that ain't clear enough then you're not really mature to use a system that gives you full control. You're supposed to READ what the system tells you. Read, and comprehend.

With great powers comes great responsibilities - and that goes for the package managers too. Most definitely.

But if you're after a OS that completely PADS you inside a fuzzy box where you can do nothing to harm you - well then Linux is not, was never and hopefully never will be your right choice.

Are you aware about incident has been on Pop!_OS? Beginer friendly distro?

Far be it from me to continue what is turning toxic, but it's hard not to point out that the problem was actually that the install from the gui didn't work and didn't break the system, and it took googling, following random comments from the 'net, and a command line to actually "break" it (not really broken, just without a graphical desktop).

If the reaction from (and I keep wanting to type POS, even though I know the bad humour in that) had been to do exactly what KDE has done here, would the conversation be different now?

And reason why is get to googling is gui fault. Gui can more explicitly say "try later or report error" and when you google it anyway apt can force you to write "Yes, remove esencial packages", or "Yes, potentialy break system" instead of "Yes, do as I say" becasue "Yes, do as I say" tells nothing.
Migrating Windows users dont know about writing sentence is somethink to be aware of.
I did not say that APT fix is best way. What i prefere is "Yes, potentionaly break system" and/or hide everethink from output except warnings/errors and and instruction to write "Yes, potentionaly break system" and another option "write 'detail' for full information"... That is my prefered way how handle this.
denyasis Nov 21, 2021
Quoting: Glog78Since i use arch on my machine , there is no real default "net"

Really? I'm not familiar with arch, I've used the wiki a ton... it's So helpful!!

But I'd be really surprised if you have to backup all your custom confs in /etc because pacman overwrites them on every update. Or that a DE doesn't use PolKit (or equivalent) without some sort of base default rules package.

I feel it would be a little weird to have no system safe guards, even coming from upstream.

*I could be totally wrong about Arch and if so, I'd gladly share a frosty beverage of your choice if you could enlighten me on the rules.d local override process for Polkit. Trying to fix an issue with Steam and the network.

** Oh, I missed that part in your post. If you count OpenSuse as "mainstream". It has full system snapshot by default, courtesy of BTRFS. Reboot, pick the old snapshot in GRUB and good to go! (Ok... you need a terminal command to finish the rollback, you know, altering the file system and all).
denyasis Nov 21, 2021
Quoting: Arten
Quoting: Guest
Quoting: Arten
Quoting: Beamboom
Quoting: AussieEeveeThere is a tiny little warning blended in with all the other white noise on the screen, and blaming Linus is just silly.

TINY? lol - dude, there was NO "white noise". There's FIRST an explicit warnings, very clearly put, AND info on what exact packages are about to be installed (for you to make up your own mind), then ANOTHER very explicit warning AND you're required to type a bloody SENTENCE to get through with it.
If that ain't clear enough then you're not really mature to use a system that gives you full control. You're supposed to READ what the system tells you. Read, and comprehend.

With great powers comes great responsibilities - and that goes for the package managers too. Most definitely.

But if you're after a OS that completely PADS you inside a fuzzy box where you can do nothing to harm you - well then Linux is not, was never and hopefully never will be your right choice.

Are you aware about incident has been on Pop!_OS? Beginer friendly distro?

Far be it from me to continue what is turning toxic, but it's hard not to point out that the problem was actually that the install from the gui didn't work and didn't break the system, and it took googling, following random comments from the 'net, and a command line to actually "break" it (not really broken, just without a graphical desktop).

If the reaction from (and I keep wanting to type POS, even though I know the bad humour in that) had been to do exactly what KDE has done here, would the conversation be different now?

And reason why is get to googling is gui fault. Gui can more explicitly say "try later or report error" and when you google it anyway apt can force you to write "Yes, remove esencial packages", or "Yes, potentialy break system" instead of "Yes, do as I say" becasue "Yes, do as I say" tells nothing.
Migrating Windows users dont know about writing sentence is somethink to be aware of.
I did not say that APT fix is best way. What i prefere is "Yes, potentionaly break system" and/or hide everethink from output except warnings/errors and and instruction to write "Yes, potentionaly break system" and another option "write 'detail' for full information"... That is my prefered way how handle this.

I agree. While my preference would be to significantly update apt's UI to provide better formatted info, I can't really be upset at this change.

The package manger is so powerful, fairly unique, and often used, it really needs a very good UI. We all know a package manger warning or error is a big deal, but brush off the hundreds of warnings and errors WINE throws out while gaming, because we understand the difference of the importance of those programs to the system, how common they occur, and thier impact.

Heck, I'd be ok with a short intro paragraph on first run emphasizing that the warning and errors can lead to system failure. I think sudo does a first run warning. Could even do it color! Or bold! Make use of all our fancy new terminal font abilities!!

Something like:

** WARNING - SYSTEM MODIFICATION **
The package manager ALTERS CRITICAL SYSTEM FUNCTIONS. Ignoring warnings or errors on ANY operation may result in system breakage. ESSENTIAL packages are needed for basic functionality and should NOT BE REMOVED. (And... Add something witty?)
Glog78 Nov 21, 2021
Quoting: denyasis
Quoting: Glog78Since i use arch on my machine , there is no real default "net"

Really? I'm not familiar with arch, I've used the wiki a ton... it's So helpful!!

But I'd be really surprised if you have to backup all your custom confs in /etc because pacman overwrites them on every update. Or that a DE doesn't use PolKit (or equivalent) without some sort of base default rules package.

I feel it would be a little weird to have no system safe guards, even coming from upstream.

*I could be totally wrong about Arch and if so, I'd gladly share a frosty beverage of your choice if you could enlighten me on the rules.d local override process for Polkit. Trying to fix an issue with Steam and the network.

** Oh, I missed that part in your post. If you count OpenSuse as "mainstream". It has full system snapshot by default, courtesy of BTRFS. Reboot, pick the old snapshot in GRUB and good to go! (Ok... you need a terminal command to finish the rollback, you know, altering the file system and all).

There are safe guards (like pacman usually by default don't overwrite configs but put them next to the existing file) Which is good and bad *lol* ... imagine a config not working because of a missing parameter after a reboot because you didn't checked for the new config template (hadn't had this since years but i had this a few times) *ups* << usually they are not leaving the system in an "unusable" state but i would probably define unusable different than a "newbie" :) -> imagine dns not working anymore after an systemd update or since i boot directly from efi into the kernel i once used an "outdated" way to write the root partition into efi ... lets say thanks god i always have a "normal" bootloader ready ...

With default i mean there is no default net which you can be sure to be find on every arch installation. I for example can boot my X even without polkit (init 2 -> startx /usr/bin/xterm ;) ). There are however packages with files under /usr/share/polkit-1/rules.d and /usr/share/polkit-1/actions. There is no special rule for steam (if that helps) The last issue i had with steam and network i fixed by setting up a local dns proxy and re-enabling ipv6 -> had a ipv4 only config before.

OpenSuse i would call as mainstream but when was the last time someone adviced OpenSuse somewhere for a beginner? Even during 7 pages of this discussion you and me are probably the only two who talk about OpenSuse / Suse so far. Being able to do so on the terminal is a step forward. But i guess we are far from "newbie" friendly even at this point.
denyasis Nov 21, 2021
Thanks for the info! I think we can certainly find arguments on what we would call a safety net or not, especially for a distro aiming for a more advanced (or adventurous) user.

Yeah, I would not advise a new user to use OpenSuse. There are just enough rough edges, even at my skill level, that I run into hiccups. I'll say my installs are non standard and I've tweaked a lot, so it could be user error.



PolKit is an enigma to me, especially since Suse seems to modify it, so it's not entirely the same as upstream and thier documentation is inconsistent. Steam tries to modify network settings on start, invoking a polkit rule. Depending on the DE, KDE just works, XFCE asks for the admin password, Enlightenment spams the password dialog, locking up the environment.

Maybe I should get this influencer guy to try it on OpenSuse? Lol
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
The comments on this article are closed.