Hmmm — it looks like there should be a link named SRPMS pointing to source/tree in the same directory, but there isn’t for F35. But, the normal mirrormanager metalink is pointing at source/tree
Have you reconfigured your /etc/yum.repos.d/fedora-updates.repo file at any point? The reason I ask is that the default has these lines:
Note that “baseurl” is commented out. That’s an older syntax, which points to just one mirror. The “metalink” line points to an xml document which will give you a list of (hopefully near-to-you) active mirrors. And I just checked, and the URLs that gives back (curl -s 'https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f34&arch=x86_64') contain source/tree, not SRPMS.
It looks like there’s an error on the infrastructure side — that link should be there for compatibility. And possibly we should also update the example line to point to the source/tree subdir as well.
Thank you Matthew, i use mirror site in old syntax, according to mirror site guide.
“dnf builddep” works again after i restored original .repo files.
Nearly all CN mirrors from here admin.fedoraproject[DOT]org/mirrormanager/mirrors/Fedora/35/x86_64 , except mirrors.163[DOT]com , are using old syntax guide.