Source RPMs are not accessible or installable
Summary
Unable to download SRPM
Steps to reproduce
On Fedora:
[chris@localhost tmp]$ sudo dnf install gitlab-runner-12.0.2-1.src.rpm
Last metadata expiration check: 0:02:06 ago on Tue 16 Jul 2019 10:37:38 BST.
Can not load RPM file: gitlab-runner-12.0.2-1.src.rpm.
Could not open: gitlab-runner-12.0.2-1.src.rpm
However the rpms are listed:
[chris@localhost tmp]$ sudo dnf repoquery gitlab-runner --source
Last metadata expiration check: 0:04:18 ago on Tue 16 Jul 2019 10:37:38 BST.
...
gitlab-runner-12.0.0-1.src.rpm
gitlab-runner-12.0.1-1.src.rpm
gitlab-runner-12.0.2-1.src.rpm
[chris@localhost tmp]$ cat /etc/yum.repos.d/runner_gitlab-runner.repo
[runner_gitlab-runner]
name=runner_gitlab-runner
baseurl=https://packages.gitlab.com/runner/gitlab-runner/fedora/29/$basearch
repo_gpgcheck=0
gpgcheck=1
enabled=1
gpgkey=https://packages.gitlab.com/runner/gitlab-runner/gpgkey
https://packages.gitlab.com/runner/gitlab-runner/gpgkey/runner-gitlab-runner-366915F31B487241.pub.gpg
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300
[runner_gitlab-runner-source]
name=runner_gitlab-runner-source
baseurl=https://packages.gitlab.com/runner/gitlab-runner/fedora/29/SRPMS
repo_gpgcheck=0
gpgcheck=1
enabled=1
gpgkey=https://packages.gitlab.com/runner/gitlab-runner/gpgkey
https://packages.gitlab.com/runner/gitlab-runner/gpgkey/runner-gitlab-runner-366915F31B487241.pub.gpg
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300
The rpms are no located at this URL:
[chribrow@rorohiko tmp]$ wget https://packages.gitlab.com/runner/gitlab-runner/fedora/29/SRPMS/gitlab-runner-12.0.2-1.src.rpm
--2019-07-16 10:47:02-- https://packages.gitlab.com/runner/gitlab-runner/fedora/29/SRPMS/gitlab-runner-12.0.2-1.src.rpm
Resolving packages.gitlab.com (packages.gitlab.com)... 54.153.54.194
Connecting to packages.gitlab.com (packages.gitlab.com)|54.153.54.194|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2019-07-16 10:47:03 ERROR 404: Not Found.