Zero available packages in default repository for Oracle Linux
This issue was already raised in gitlab-org/gitlab-ce#1670
To recap - packagecloud scripts enable repo based on detected OS flavor.
For Oracle Linux this results in creation of gitlab_gitlab-ce.repo
with following content:
[gitlab_gitlab-ce]
name=gitlab_gitlab-ce
baseurl=https://packages.gitlab.com/gitlab/gitlab-ce/ol/7/$basearch
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packages.gitlab.com/gpg.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
[gitlab_gitlab-ce-source]
name=gitlab_gitlab-ce-source
baseurl=https://packages.gitlab.com/gitlab/gitlab-ce/ol/7/SRPMS
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packages.gitlab.com/gpg.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
Unfortunately, provided repository doesn't advertise presence of any packages. This is how it looks now.
$ curl -sL https://packages.gitlab.com/gitlab/gitlab-ce/ol/7/x86_64/repodata/filelists.xml.gz | gunzip
<?xml version="1.0" encoding="UTF-8"?>
<filelists xmlns="http://linux.duke.edu/metadata/filelists" packages="0"/>
$ curl -sL https://packages.gitlab.com/gitlab/gitlab-ce/ol/7/x86_64/repodata/primary.xml.gz | gunzip
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://linux.duke.edu/metadata/common" xmlns:rpm="http://linux.duke.edu/metadata/rpm" packages="0">
<!--generated by the amazing packagecloud.io RPM indexer-->
</metadata>
Swapping $basearch
from x86_64
to i386
makes no difference.
Workaround is to use el
repository for now, but it would be great to have this one finally fixed, especially for the good of new users.