I last updated my laptop on 12/26. It is running fc28.x86_64
Today I tried to run dnf update:
# dnf update 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 1015, in run self._process_demands() File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 768, in _process_demands load_available_repos=self.demands.available_repos) File "/usr/lib/python3.6/site-packages/dnf/base.py", line 475, in fill_sack self._add_repo_to_sack(r) File "/usr/lib/python3.6/site-packages/dnf/base.py", line 147, in _add_repo_to_sack load_updateinfo=True) _hawkey.Exception: repo_add_solv() has failed.
Is it Fedora 28? dnf? some dnf dependency? or my laptop? that is broken?
Hi Kevin,
did you try a 'dnf clean all'?
Then you didn't do any 'sudo pip intall ' on your machine or set the PYTHONPATH? You can easily break your system whide packages by dooing this.
Alexis. Le lundi 31 décembre 2018 à 00:13 -0500, Kevin Cummings a écrit :
I last updated my laptop on 12/26. It is running fc28.x86_64
Today I tried to run dnf update:
# dnf update 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 1015, in run self._process_demands() File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 768, in _process_demands load_available_repos=self.demands.available_repos) File "/usr/lib/python3.6/site-packages/dnf/base.py", line 475, in fill_sack self._add_repo_to_sack(r) File "/usr/lib/python3.6/site-packages/dnf/base.py", line 147, in _add_repo_to_sack load_updateinfo=True) _hawkey.Exception: repo_add_solv() has failed.
Is it Fedora 28? dnf? some dnf dependency? or my laptop? that is broken?
-- Kevin J. Cummings cummings@kjchome.homeip.net cummings@kjc386.framingham.ma.us kjchome@icloud.com Registered Linux User #1232 (http://www.linuxcounter.net/) _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
On 12/31/18 7:41 AM, Jeandet Alexis wrote:
Hi Kevin,
did you try a 'dnf clean all'?
No, I didn't. Hmmm, it seems to have done the job. Thank-you.
On Mon, 31 Dec 2018 00:13:15 -0500 Kevin Cummings cummings@kjchome.homeip.net wrote:
I last updated my laptop on 12/26. It is running fc28.x86_64
Today I tried to run dnf update:
_hawkey.Exception: repo_add_solv() has failed.
Is it Fedora 28? dnf? some dnf dependency? or my laptop? that is broken?
I just ran an update on fc28.x86_64 and there were no problems. Well, other than package conflicts like snmp and clamav that are keeping them from updating, and have been for a while. When I tried looking at snmp there were a lot of conflicts, and it wasn't easy for me to find the lynch pin to unravel the problem.
I suspect you hit some sort of corner case in loading updates. As Jeandet Alexis says, you could try cleaning everything, or even just metadata, and then repeating your update.
On 12/31/18 11:13 AM, stan wrote:
I just ran an update on fc28.x86_64 and there were no problems. Well, other than package conflicts like snmp and clamav that are keeping them from updating, and have been for a while. When I tried looking at snmp there were a lot of conflicts, and it wasn't easy for me to find the lynch pin to unravel the problem.
Yes, for me it had been hplip.
I suspect you hit some sort of corner case in loading updates. As Jeandet Alexis says, you could try cleaning everything, or even just metadata, and then repeating your update.
I had tried rebuilding the rpm database but that didn't help. clean all did the trick.
Thanks for the suggestions.