Actually, upon further reflection, if you still want to upgrade your
Fedora 23 template to 24, you'll need to verify *all* of the
/etc/yum.repo.d/fedora*.repo files have '$releasever' replaced with
'fc24' instead in addition to the qubes repo file. But honestly, just
download a fresh Fedora 24 template. Life will probably be a lot easier.
You *could* then manually update that to Fedora 25 by replacing every
instance of $releasever in all the repo files to fc25, but at this
point, maybe that'd be a bad idea for you.