Open prime-minister-of-fun opened 2 months ago
steps to reproduce:
curl https://repo.percona.com/yum/percona-release-latest.noarch.rpm -o /root/yum-percona-release-latest-noarch.rpm
rpm -i /root/yum-percona-release-latest-noarch.rpm
Successful: "The percona-release package now contains a percona-release script that can enable additional repositories ..."
grep -r http\: /etc/yum.repos.d
/etc/yum.repos.d/percona-prel-release.repo:baseurl = http://repo.percona.com/prel/yum/release/$releasever/RPMS/noarch
/etc/yum.repos.d/percona-telemetry-release.repo:baseurl = http://repo.percona.com/telemetry/yum/release/$releasever/RPMS/x86_64
/etc/yum.repos.d/percona-telemetry-release.repo:baseurl = http://repo.percona.com/telemetry/yum/release/$releasever/SRPMS
/etc/yum.repos.d/percona-pmm2-client-release.repo.bak:baseurl = http://repo.percona.com/pmm2-client/yum/release/$releasever/RPMS/x86_64
/etc/yum.repos.d/percona-pmm2-client-release.repo.bak:baseurl = http://repo.percona.com/pmm2-client/yum/release/$releasever/SRPMS
/etc/yum.repos.d/percona-ppg-15.8-release.repo:baseurl = http://repo.percona.com/ppg-15.8/yum/release/$releasever/RPMS/x86_64
/etc/yum.repos.d/percona-ppg-15.8-release.repo:baseurl = http://repo.percona.com/ppg-15.8/yum/release/$releasever/SRPMS
Let's keep going...
percona-release setup ppg15.8
Error: Failed to download metadata for repo 'prel-release-noarch': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Errors during downloading metadata for repository 'prel-release-noarch':
Sed command from first post fixes it.
re-run percona-release setup ppg15.8
Success.
I have to run this again because the newly enabled repo is still http.
sed -i "s/http\:/https\:/g" /etc/yum.repos.d/percona*
[ppg-15.8-release-x86_64] name = Percona Distribution for PostgreSQL 158 release/x86_64 YUM repository baseurl = http://repo.percona.com/ppg-15.8/yum/release/$releasever/RPMS/x86_64 enabled = 1 gpgcheck = 1 gpgkey = file:///etc/pki/rpm-gpg/PERCONA-PACKAGING-KEY
[ppg-15.8-release-sources] name = Percona Distribution for PostgreSQL 158 release/sources YUM repository baseurl = http://repo.percona.com/ppg-15.8/yum/release/$releasever/SRPMS enabled = 0 gpgcheck = 1 gpgkey = file:///etc/pki/rpm-gpg/PERCONA-PACKAGING-KEY
Following these instructions: https://docs.percona.com/postgresql/15/yum.html#procedure After this step,
sudo yum install https://repo.percona.com/yum/percona-release-latest.noarch.rpm
The percona repos are installed to /etc/yum.repos.d/percona* All of the repos use http urls. Dnf/yum/whatever doesn't support http.I do this to keep going:
sed -i "s/http\:/https\:/g" /etc/yum.repos.d/percona*