Ask Your Question

fedora 22 dnf upgrade failed to sync

asked 2016-04-14 12:55:56 -0600

zug234zwang gravatar image


sudo dnf update : excerpt

[steve@ip98-167-78-229 lucky_you.2007]$ sudo dnf upgrade
Failed to synchronize cache for repo 'fedy' from 
Cannot download repomd.xml: Cannot download repodata/repomd.xml: 
All mirrors were tried, disabling.
Last metadata expiration check performed 0:47:49 ago on Thu Apr 14 07:33:10 2016.
Dependencies resolved.
 Package                  Arch      Version       Repository    Size
 dracut                   x86_64    041-15.fc22   updates       324 k
 dracut-config-rescue     x86_64    041-15.fc22   updates        45 k

Transaction Summary
Upgrade  21 Packages

Total download size: 7.9 M
Is this ok [y/N]: 


fedora 22 64 bit, cinnamon 2.6.13, 16gb memory


Boot disk recently died; decided to recover by re-installing everything, starting with Fedora 22 Live. kde proved problematic so switched to cinnamon. Then had trouble installing fedy. With the (partial or full) failures shown below, I (mistakenly) did not retain the error messages.

The following seemed to totally fail:

su -c "curl -o fedy-installer && chmod +x fedy-installer && ./fedy-installer"

The following seemed to either partially or totally fail. I noticed what seemed to be error messages.

went to
selected the (green) download button
downloaded fedy-installer
in a terminal : 
  made file executable (chmod 777)
  then executed it : ./fedy-installer

Because of the error messages in the previous approach, I then:

google searched : fedora 22 install fedy
found and played a youtube video :
the video pointed to
on that webpage the following command was given:  
bash -c 'su -c "curl -o fedy-installer && chmod +x fedy-installer && ./fedy-installer"'

The above seemed to succeed, "Fedy" was added to the cinnamon start Menu. In fact, (partially unrelated) after a previous (terminal) attempt to install Adobe Flash failed, the Fedy installer successfully installed it. This was verified via a webpage that requires Flash.

Long Term

Actually, I've been "living off of" a usb-connected external hard disk, using it as a boot disk. New hard disks coming in a few days; then I'll (again) re-install from scratch, starting with Fedora 22 Live.


  1. Why is sudo dnf upgrade yielding an error message? (In linux-newbie terms) what does the message mean? Was the message (plausibly) caused by my 2nd Fedy installer attempt, executing ./fedy-installer?

  2. With fedy apparently successfully installed and dnf upgrade apparently working correctly, is the error message "harmless"?

  3. Assuming no re-install, is there a way of removing the error message (prefer a terminal command, rather than low-level editing of some file on the root partition).

  4. Assuming that I re-install from scratch and bypass the two failed attempts to install fedy, should I expect the error message to not appear?

edit retag flag offensive close merge delete


You should report it to developers of fedy... Fedy is a third party tool and Fedora doesn't have control for it.

davidva gravatar imagedavidva ( 2016-04-14 20:40:35 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-04-14 14:54:22 -0600

florian gravatar image

updated 2016-04-14 15:40:20 -0600

Quick remarks, not a full answer to your question:

1.) URL is wrong, software repository cannot be found. Repository skipped, rest of dnf upgrade successful. There is no directory for fedora 22:

2.) Yes, just saying that it can't be updated the way the repository is set up.

3.) by removing the repository (sudo rm /etc/yum.repos.d/fedy.repo, file may be called differently), and setting it up again correctly by downloading their install script, making it executable, executing it. (curl -o fedy-installer && chmod +x ./fedy-installer && sudo ./fedy-installer)

4.) That is the most interesting question: I personally recommend not using Fedy! What do you need it for?

edit flag offensive delete link more


thanks florian, very interesting response. following up, i googled : fedora "not use fedy", and fedora "against fedy"; interesting reading. I was merely following the advice in both and .

zug234zwang gravatar imagezug234zwang ( 2016-04-14 21:20:59 -0600 )edit

The debate seems to be "more that can go wrong" vs "ease of use". Since I am a programmer, and dnf is straightforward (and powerful), it is a no-brainer for me to avoid Fedy unless I'm forced into it; [e.g. if I can't find a workable Adobe Flash repo any other way, I'll query Linux forum(s)]. For true Linux newbie, ease of use" might be attractive.

zug234zwang gravatar imagezug234zwang ( 2016-04-14 21:22:06 -0600 )edit

I agree with your comment, and quickly want to link this Q/A here since it is related to the topic...

florian gravatar imageflorian ( 2016-04-14 22:13:52 -0600 )edit

Question Tools

1 follower


Asked: 2016-04-14 12:55:56 -0600

Seen: 652 times

Last updated: Apr 14 '16