Corrupted RPM file
Corrupted RPM file
От:
Kevin Struckhoff <kevinstruckhoff@yahoo.com>
Дата:
As a follow-on to my previous post about the now failing repo file on my postgresql 18 server, I removed the rpm and installed the latest:
yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-10-x86_64/pgdg-redhat-repo-latest.noarch.rpmThis file is dated 9/25/26. It still has the now-malformed baseurl string.
/etc/yum.repos.d>ll
total 48
-rw-r--r--. 1 root root 4329 Jun 4 17:00 centos-addons.repo
-rw-r--r--. 1 root root 2663 Jun 4 17:00 centos.repo
-rw-r--r--. 1 root root 18084 Sep 25 17:00 pgdg-redhat-all.repo
-rw-r--r--. 1 root root 7468 Nov 9 10:46 pgdg-redhat-all.repo.fixed
-rw-r--r--. 1 root root 7468 Nov 7 11:48 pgdg-redhat-all.repo.rpmsave
total 48
-rw-r--r--. 1 root root 4329 Jun 4 17:00 centos-addons.repo
-rw-r--r--. 1 root root 2663 Jun 4 17:00 centos.repo
-rw-r--r--. 1 root root 18084 Sep 25 17:00 pgdg-redhat-all.repo
-rw-r--r--. 1 root root 7468 Nov 9 10:46 pgdg-redhat-all.repo.fixed
-rw-r--r--. 1 root root 7468 Nov 7 11:48 pgdg-redhat-all.repo.rpmsave
[pgdg-common]
name=PostgreSQL common RPMs for RHEL / Rocky Linux / AlmaLinux $releasever_major.$releasever_minor - $basearch
baseurl=https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-$releasever_major.$releasever_minor-$basearch
name=PostgreSQL common RPMs for RHEL / Rocky Linux / AlmaLinux $releasever_major.$releasever_minor - $basearch
baseurl=https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-$releasever_major.$releasever_minor-$basearch
It's ironic, but after fixing the file manually, there are no updates.
Thanks. Kevin
Re: Corrupted RPM file
Hi, On Mon, 2026-11-09 at 19:21 +0000, Kevin Struckhoff wrote: > As a follow-on to my previous post about the now failing repo file on > my postgresql 18 server, I removed the rpm and installed the latest: > yum install -y > https://download.postgresql.org/pub/repos/yum/reporpms/EL-10-x86_64/pgdg-redhat-repo-latest.noarch.rpmThis > file is dated 9/25/26. It still has the now-malformed baseurl string. > /etc/yum.repos.d>ll > total 48 > -rw-r--r--. 1 root root 4329 Jun 4 17:00 centos-addons.repo > -rw-r--r--. 1 root root 2663 Jun 4 17:00 centos.repo > -rw-r--r--. 1 root root 18084 Sep 25 17:00 pgdg-redhat-all.repo > -rw-r--r--. 1 root root 7468 Nov 9 10:46 pgdg-redhat-all.repo.fixed > -rw-r--r--. 1 root root 7468 Nov 7 11:48 pgdg-redhat- > all.repo.rpmsave > > > > [pgdg-common] > name=PostgreSQL common RPMs for RHEL / Rocky Linux / AlmaLinux > $releasever_major.$releasever_minor - $basearch > baseurl= > https://download.postgresql.org/pub/repos/yum/common/redhat/rhel- > $releasever_major.$releasever_minor-$basearch This is not a malformed string? It is perfectly valid for RHEL / Rocky Linux / AlmaLinux. Please read my previous emails, or this: https://yum.postgresql.org/news/repo-rpms-follow-os-minor-version/#oracle-linux-centos-stream Regards, -- Devrim Gündüz Open Source Solution Architect, PostgreSQL Major Contributor BlueSky: @devrim.gunduz.org , @gunduz.org