FedoraForum.org - Fedora Support Forums and Community
Results 1 to 12 of 12
  1. #1
    Join Date
    Jan 2014
    Location
    india
    Posts
    10

    facing problem to update fedora 26 via dnf

    Hi,

    I was upgraded my fedora 24 to fedora 26 via dnf. the up-gradation process was successful, but after up-gradation, dnf become unable to update the new version.

    "dnf upgrade" command returning a error message:

    Error: Failed to synchronize cache for repo 'updates'

    kindly help me !!!!

    Thanks in advance.

  2. #2
    Join Date
    Aug 2017
    Location
    Greece
    Posts
    72

    Re: facing problem to update fedora 26 via dnf

    Check if the repositories are updated with the command
    Code:
    dnf repolist

  3. #3
    Join Date
    Jan 2014
    Location
    india
    Posts
    10

    Re: facing problem to update fedora 26 via dnf

    Thanks for your suggestion.

    in reply to "dnf repolist" command, I am getting the same error: "Error: Failed to synchronize cache for repo 'updates' "

    again seek help !!!

  4. #4
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    5,270

    Re: facing problem to update fedora 26 via dnf

    try

    dnf clean all
    dnf distro-sync

  5. #5
    Join Date
    Jan 2014
    Location
    india
    Posts
    10

    Re: facing problem to update fedora 26 via dnf

    dnf distro-sync output:

    Error: Failed to synchronize cache for repo 'updates'

    still not solved....!

  6. #6
    Join Date
    Apr 2009
    Location
    central NY, USA
    Posts
    1,022

    Re: facing problem to update fedora 26 via dnf

    Did you do the 'dnf clean all' prior to your 'dnf distro-sync'?
    Change - the only constant.

  7. #7
    Join Date
    Jan 2014
    Location
    india
    Posts
    10

    Re: facing problem to update fedora 26 via dnf

    yes.
    1st : 'dnf clean all'
    2nd: 'dnf distro-sync'

    but getting same error....!

  8. #8
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    5,270

    Re: facing problem to update fedora 26 via dnf

    in that case open the repository file /etc/yum.repos.d/fedora-updates.repo in a text editor with sudo or admin rights

    under [updates]
    comment out the metalink with a #symbol at the front of that line.
    remove the #symbol from the baseurl entry and alter the address so that it reads as follows for a 64-bit system:
    Code:
    http://download.fedoraproject.org/pub/fedora/linux/updates/26/x86_64
    or for 32-bit:
    Code:
    http://download.fedoraproject.org/pub/fedora-secondary/updates/26/i386/
    then save the changes and try again

  9. #9
    Join Date
    Jun 2004
    Location
    Laurel, MD USA
    Posts
    7,157

    Re: facing problem to update fedora 26 via dnf

    comment out the metalink with a #symbol at the front of that line.
    remove the #symbol from the baseurl entry and alter the address so that it reads as follows for a 64-bit system:
    Just don't do that long term, after it updates correctly a time or two, switch back to the metalink mode

  10. #10
    Join Date
    Jan 2014
    Location
    india
    Posts
    10

    Re: facing problem to update fedora 26 via dnf

    Same error again, after /etc/yum.repos.d/fedora-updates.repo file update.

    even, ping google.com gives the following:

    PING google.com (172.217.31.14) 56(84) bytes of data.

    --- google.com ping statistics ---
    8 packets transmitted, 0 received, 100% packet loss, time 7185ms



    although, the proxy configured properly in terminal !!!

  11. #11
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    5,270

    Re: facing problem to update fedora 26 via dnf

    try disabling IPv6 in your network settings.

  12. #12
    Join Date
    Jan 2014
    Location
    india
    Posts
    10

    Re: facing problem to update fedora 26 via dnf

    Oh! god....
    Finally its done by exporting the proxy manually !!!!

    Thanks a lot for extending your kind supports....

Similar Threads

  1. How to update fedora 14 iam facing this prob.
    By Hopefully in forum Using Fedora
    Replies: 1
    Last Post: 7th February 2011, 02:50 PM
  2. facing problem tto install trivia irc bot in fedora 11
    By Naveed1st in forum Using Fedora
    Replies: 0
    Last Post: 12th January 2010, 05:13 AM
  3. Facing problem to install application using Yum?
    By tanishq4u in forum Using Fedora
    Replies: 2
    Last Post: 26th July 2009, 12:15 PM
  4. facing problem with my display.
    By neo8307 in forum Hardware & Laptops
    Replies: 6
    Last Post: 10th August 2008, 11:03 AM
  5. facing problem with samba
    By BJ Mirooni in forum Using Fedora
    Replies: 4
    Last Post: 24th February 2007, 04:39 PM

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
  •