# Random error messages "failure to add solv"

For some unknown reason (started a few days ago), my Fedora 26 with KDE just started crashing processes in a very annoying way.

For instance, in a terminal, if I type a non-existing command, I get:

 bash: bla: command not found...
Failed to search for file: failed to add solv


The second line should not appear. Googling for it gives almost 0 results (and the only result is useless to me, about pkcon).

Dolphin is unusable: opening it on my home folder (or any folder) results in a red error message bar:

The process for the file protocol died unexpectedly


And I cannot see any files. At least for this error, there are thousands of pages, most leading to nothing, others saying to remove .kde and literally nuke KDE-related files.

If there is a more efficient way of finding out what's broken, and how to fix it, I'd like to know.

edit retag close merge delete

Sort by » oldest newest most voted

The first error message isn’t “useless”. The message is produced by libdnf (hawkey) via PackageKit (origin). Have you disabled or removed the PackageKit service? or delete its cache directory? Have you enabled any third-party package repositories? Does dnf update --refresh produce any error messages? Does pkcon update?

The Dolphin error message is related to KIO. I can’t really help you troubleshoot that. I’m not using KDE myself mostly because I always end up with unsolvable errors from KIO that drive me back to GNOME.

If there is a more efficient way of finding out what's broken, and how to fix it, I'd like to know.

You can often copy error messages into GitHub to identify where they originate.

more

I also got similar situation after crash but when I try to use dnf update, dnf update --refresh, any option of dnf

Traceback (most recent call last):
File "/usr/bin/dnf", line 58, in <module>
main.user_main(sys.argv[1:], exit_code=True)
File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 179, in user_main
errcode = main(args)
File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 64, in main
return _main(base, args, cli_class, option_parser_class)
File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 99, in _main
return cli_run(cli, base)
File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 115, in cli_run
cli.run()
File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 1013, in run
self._process_demands()
File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 766, in _process_demands
File "/usr/lib/python3.6/site-packages/dnf/base.py", line 353, in fill_sack
File "/usr/lib/python3.6/site-packages/dnf/base.py", line 135, in _add_repo_to_sack