FedoraForum.org - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2017
    Location
    Ohio
    Posts
    3

    Fedora 26 Update Issue

    Hello All,

    I recently installed Fedora 26 and the system is unable to apply the 25 updates listed. After I reboot the PC, the installation process takes place and at the end, still the 25 updates appears on the list. When I reboot, the system tells me that there are updates required and when I go to the update windows there is a message that says "unable to load updates".

    Any help will be appreciated.

    Thank you.

  2. #2
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    5,393

    Re: Fedora 26 Update Issue

    open a terminal window and type the following
    Code:
    sudo dnf distro-sync
    if there are any error messages please post them here.

  3. #3
    Join Date
    Aug 2017
    Location
    Ohio
    Posts
    3

    Re: Fedora 26 Update Issue

    This is what I got:

    Fedora 26 - x86_64 - Updates 3.7 MB/s | 10 MB 00:02
    Traceback (most recent call last):
    File "/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 961, in run
    self._process_demands()
    File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 746, in _process_demands
    load_available_repos=self.demands.available_repos)
    File "/usr/lib/python3.6/site-packages/dnf/base.py", line 313, in fill_sack
    self._add_repo_to_sack(r)
    File "/usr/lib/python3.6/site-packages/dnf/base.py", line 127, in _add_repo_to_sack
    load_updateinfo=True)
    _hawkey.Exception: repo_add_solv() has failed.

  4. #4
    Join Date
    May 2017
    Location
    www
    Posts
    135

    Re: Fedora 26 Update Issue

    File "/bin/dnf"
    Try clearing the dnf and then retry:

    Code:
    dnf clean all


    What this does is:

    Code:
    dnf clean dbcache
    Removes cache files generated from the repository metadata. This forces DNF to regenerate the cache files the next time it is run.

    Code:
    dnf clean expire-cache
    Removes local cookie files saying when the metadata and mirrorlists were downloaded for each repo. DNF will re-validate the cache for each repo the next time it is used.

    Code:
    dnf clean metadata
    Removes repository metadata. Those are the files which DNF uses to determine the remote availability of packages. Using this option will make DNF download all the metadata the next time it is
    run.

    Code:
    dnf clean packages
    Removes any cached packages from the system.

    Code:
    dnf clean plugins
    Tells all enabled plugins to eliminate their cached data.

    Code:
    dnf clean all
    Does all of the above.

  5. #5
    Join Date
    Aug 2017
    Location
    Ohio
    Posts
    3

    Re: Fedora 26 Update Issue

    After clearing, I got this:

    Traceback (most recent call last):
    File "/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 961, in run
    self._process_demands()
    File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 746, in _process_demands
    load_available_repos=self.demands.available_repos)
    File "/usr/lib/python3.6/site-packages/dnf/base.py", line 313, in fill_sack
    self._add_repo_to_sack(r)
    File "/usr/lib/python3.6/site-packages/dnf/base.py", line 127, in _add_repo_to_sack
    load_updateinfo=True)
    _hawkey.Exception: repo_add_solv() has failed.

    Hope you guys can help me.

    Thanks.

Similar Threads

  1. fedora 17 yum update issue
    By dEnDrOn in forum Installation, Upgrades and Live Media
    Replies: 12
    Last Post: 18th November 2012, 03:56 PM
  2. Annoying issue during fedora update...
    By rafael1122 in forum Using Fedora
    Replies: 2
    Last Post: 12th July 2009, 01:45 PM
  3. Fedora 9 Update Issue
    By micardo in forum Using Fedora
    Replies: 0
    Last Post: 6th December 2008, 02:34 PM
  4. Fedora 8 update issue, not upgrade.
    By DKrause in forum Installation, Upgrades and Live Media
    Replies: 1
    Last Post: 18th January 2008, 12:16 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •