Fedora Linux Support Community & Resources Center
  #1  
Old 27th August 2017, 10:55 PM
papai Offline
Registered User
 
Join Date: Jan 2014
Location: india
Posts: 10
linuxchrome
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.
Reply With Quote
  #2  
Old 28th August 2017, 09:48 AM
AlexTheoto Offline
Registered User
 
Join Date: Aug 2017
Location: Greece
Posts: 50
linuxfedorafirefox
Re: facing problem to update fedora 26 via dnf

Check if the repositories are updated with the command
Code:
dnf repolist
Reply With Quote
  #3  
Old 30th August 2017, 09:50 PM
papai Offline
Registered User
 
Join Date: Jan 2014
Location: india
Posts: 10
linuxchrome
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 !!!
Reply With Quote
  #4  
Old 30th August 2017, 10:24 PM
antikythera Offline
Administrator
 
Join Date: Dec 2013
Location: United Kingdom
Posts: 5,073
windows_7chrome
Re: facing problem to update fedora 26 via dnf

try

dnf clean all
dnf distro-sync
__________________
Download, Install and Share Fedora - Official ISO Torrents | Live ISO Respins containing post-release updates
Reply With Quote
  #5  
Old 31st August 2017, 09:34 PM
papai Offline
Registered User
 
Join Date: Jan 2014
Location: india
Posts: 10
linuxchrome
Re: facing problem to update fedora 26 via dnf

dnf distro-sync output:

Error: Failed to synchronize cache for repo 'updates'

still not solved....!
Reply With Quote
  #6  
Old 31st August 2017, 09:49 PM
lightman47 Offline
Registered User
 
Join Date: Apr 2009
Location: central NY, USA
Posts: 1,013
linuxfirefox
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.
Reply With Quote
  #7  
Old 1st September 2017, 08:30 AM
papai Offline
Registered User
 
Join Date: Jan 2014
Location: india
Posts: 10
linuxchrome
Re: facing problem to update fedora 26 via dnf

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

but getting same error....!
Reply With Quote
  #8  
Old 1st September 2017, 08:47 AM
antikythera Offline
Administrator
 
Join Date: Dec 2013
Location: United Kingdom
Posts: 5,073
linuxchrome
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
__________________
Download, Install and Share Fedora - Official ISO Torrents | Live ISO Respins containing post-release updates
Reply With Quote
  #9  
Old 1st September 2017, 09:15 AM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 7,122
linuxfirefox
Re: facing problem to update fedora 26 via dnf

Quote:
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
Reply With Quote
  #10  
Old 1st September 2017, 07:23 PM
papai Offline
Registered User
 
Join Date: Jan 2014
Location: india
Posts: 10
linuxchrome
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 !!!
Reply With Quote
  #11  
Old 1st September 2017, 09:46 PM
antikythera Offline
Administrator
 
Join Date: Dec 2013
Location: United Kingdom
Posts: 5,073
linuxchrome
Re: facing problem to update fedora 26 via dnf

try disabling IPv6 in your network settings.
__________________
Download, Install and Share Fedora - Official ISO Torrents | Live ISO Respins containing post-release updates
Reply With Quote
  #12  
Old 1st September 2017, 11:05 PM
papai Offline
Registered User
 
Join Date: Jan 2014
Location: india
Posts: 10
linuxchrome
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....
Reply With Quote
Reply

Tags
dnf, facing, fedora, fedora 26, problem, update

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


Current GMT-time: 09:52 (Monday, 25-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat