Ask Your Question

Random error messages "failure to add solv"

asked 2018-03-21 18:02:46 -0500

dhekir gravatar image

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 flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2018-06-01 12:21:36 -0500

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/", line 179, in user_main
    errcode = main(args)
  File "/usr/lib/python3.6/site-packages/dnf/cli/", line 64, in main
    return _main(base, args, cli_class, option_parser_class)
  File "/usr/lib/python3.6/site-packages/dnf/cli/", line 99, in _main
    return cli_run(cli, base)
  File "/usr/lib/python3.6/site-packages/dnf/cli/", line 115, in cli_run
  File "/usr/lib/python3.6/site-packages/dnf/cli/", line 1013, in run
  File "/usr/lib/python3.6/site-packages/dnf/cli/", line 766, in _process_demands
  File "/usr/lib/python3.6/site-packages/dnf/", line 353, in fill_sack
  File "/usr/lib/python3.6/site-packages/dnf/", line 135, in _add_repo_to_sack
_hawkey.Exception: failed to add solv
edit flag offensive delete link more

answered 2018-03-22 07:45:59 -0500

Aeyoun gravatar image

updated 2018-03-22 07:47:13 -0500

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.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-03-21 18:02:27 -0500

Seen: 122 times

Last updated: Mar 22 '18