I can't uninstall any software on my system

Hello,
I am running:

  • OpenMandriva Lx version: ROME 25.03

  • Desktop environment: KDE Plasma Version: 6.3.3; KDE Frameworks Version: 6.11.0

  • Description of the issue: Whenever I try to uninstall any software, I get a popup that says “Unable to create KIO worker. Unknown protocol ‘appstream’.”

  • Relevant informations (hardware involved, software version, logs or output…): Here is all my hardware and OS info:
    Qt Version: 6.8.2
    Kernel Version: 6.14.0-desktop-0.rc6.2omv2590 (64-bit)
    Graphics Platform: X11
    Processors: 4 × AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx
    Memory: 5.7 GiB of RAM
    Graphics Processor: AMD Radeon Vega 3 Graphics
    Manufacturer: MOTILE
    Product Name: M141

Here are the logs for the KIO uninstall issue:
3/23/25 12:25 PM kioexec kf.kio.core: Protocol Class of url QUrl(“appstream://com.github.vikdevelop.timer”) , isn’t ‘:local’, cancelling job.
3/23/25 12:25 PM kioexec kf.kio.core: couldn’t create worker: “Unknown protocol ‘appstream’.”
3/23/25 12:25 PM kioexec kf.kio.workers.file: readData() returned -1
3/23/25 12:25 PM kioexec kf.kio.core: Connection::send() called with connection not inited

Thanks for any help anyone can give.

1 Like

Are you trying to do this in Discover?

I have tried uninstalling an app from the application menu (by right-clicking it and then clicking uninstall). However, I also tried it in Discover. Both give me the same error.

I don’t know how much experience you have with Linux, but ROME is a rolling release, so it does things differently. The folks at KDE try, but they have no way to know how we do things. They just can’t. On top of that OpenMandriva is a unique distro and is not like any other.

You can remove files 2 ways.

  1. sudo dnf remove packagename
  2. dnfdrake will do it from a GUI.

There is going to be a learning curve either way.
I fear you have also been doing package installs from Discover and doing system updates from there as well.

Most of the popular software is listed in our OM-Welcome app and is simply a one-click install. System updates can also be done from there and the Software Repository Selector is the only SAFE way to add and remove repositories with no chance of making mistakes.

We need to make sure you system is up to date and done correctly. You can do it with the system updater in the OM-Welcome app, but if you want to start learning, here is the command to run in the terminal. Use it once and you will be able to retrieve it later by using the up arrow. Copy it from here and paste it into the terminal with Ctl+Shft+v

sudo dnf clean all ; dnf clean all ; sudo dnf distro-sync --refresh --allowerasing 2>&1| tee dsync2-log.txt

Use that each and every time you want to run your updates. I say at least once a week, but some people go longer.

1 Like

I’m rather new to Linux. I’m very new to OpenMandriva. And, yes, I have been using Discover for system updates. Have I screwed something up? Should I not use discover for any package installs? Thanks so much for the help.

1 Like

As Wilson stated, using manual command, OM-welcome, or dnf drake. OM-welcome has an auto update configuration option. In the element chat we have a pinned message “DO NOT use Discover to update your system or set repos
Discover is good at what its name implies: discover what is there. [cit.]
OpenMandriva is unique and must be approached as such.
Use this command to update system:
sudo dnf clean all ; dnf clean all ; sudo dnf distro-sync --refresh --allowerasing 2>&1| tee dsync-log.txt

I can not say you messed anything up but if you can reboot its not the end of the world in my opinion.

2 Likes

There are 4 ways to update OpenMandriva listed here.

You want to do do the command line listed by Wilson and vuatech.

I use the system update in the application menu.

I use flatpaks from the discover only when the application I want isnt available from OMWelcome, and have had great success with it including erasing applications.

Im pretty new to Linux too and OpenMandriva is a great OS once you learn a few ropes.

1 Like

Normally, we don’t know someone is updating through Discover until their system is completely broken. You’ll be fine.

Once you have gotten your system completely updated with the command I gave you, then do this one.

sudo dnf install dnfdrake flatdrake

Great. I’ll do this as soon as I have time to. Thanks for your help!

I did all the steps you recommended and it all turned out well. Thanks!

2 Likes

@JoeJoeSiah as others say above. it is unlikely any problems have come from using Discover to upgrade your system. Most likely would be a few things get missed.

At the risk of TMI: The technical reason for this is that ROME is a rolling release and the system package list changes rather often. Discover does not know how to read this nor does the dnf up command, but the dnf dsync command does. (up is an abbreviation for upgrade, dsync is an abbreviation for distro-sync.) The specific package with this list is distro-release-repos-pkgprefs which gets changed whenever developers feel the need to do so, but about once or twice a month in ROME. To my knowledge this is different from other Linux distros that use dnf package manager such as Fedora/Red Hat/CentOS or openSuSE. (sudo is used to give user administrative privileges for tasks that require this, it does require admin password.)

To install packages: sudo dnf in package_name
To remove packages sudo dnf rm package_name

Again we have what should be obvious but convenient abbreviated commands.

How To use dnf (any version of OMLx)

Welcome message

Welcome to OpenMandriva and our forum. This forum is for users of OpenMandriva Linux operating systems.

OpenMandriva forums are mainly users helping other users.

You can talk to our developers at OpenMandriva Chat.

Users with problems need to read How to get better results when posting about problems before reporting any issues or problems. The article is not too long and Do Read.

When a new user has a problem please search the OMLx documentation. OpenMandriva wiki, Forum Resource Guide and the “Search” function of the forum.

If you don’t find what you are looking for, try an Internet search. A lot can be found in the documentation or forum posts for other Linux distributions. If the user finds something written for another distro but has a question, ask in OpenMandriva Chat.

For serious technical problems and package/feature requests please submit a bug report here.

Note: We are a small group. All contributors and developers are unpaid volunteers.
You can make OpenMandriva grow and improve by getting involved.

Any help with testing will be appreciated, whether you are a technical expert or not. The more people and hardware we can get involved, the better we can do OMLx releases and packaging. We also do a lot of testing on virtual machines. Developers tend to use Qemu, most user-level testers use VirtualBox..

Some suggestions that we hope will be useful:

We ask that problems reported in the forum or in a bug report be limited to one problem per thread or report.

We suggest that if your problem reported in the forum or in OM-Chat is not resolved within a few days, please file a proper bug report.

If you have not already done so, scroll through the “Big Warning” at the top of this page and read the information or use the links provided.

Before reporting any problems, read this.

We are simply and respectfully trying to make people aware that as a very small group we are volunteering, without remuneration, our time, expertise, etc, to help you.