Repo directory in RPM for CentOS 7.6 does not exist

Поиск
Список
Период
Сортировка
Искать

Repo directory in RPM for CentOS 7.6 does not exist

От:
"Burke, Carl D." <cburke@mitre.org>
Дата:
Hi,

I'm trying to install PostgreSQL on a CentOS 7 system. Following the directions on the web page, I 'yum install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm' and then attempt 'yum list postgresql*'. That gives me a 404 error for the repository:
https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7.6-1-x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Looking in a browser, there is indeed no /rhel-7.6-1-x86_64 subdirectory in the repo, so the RPM provided at your site is broken. How should I proceed in order to install PostgreSQL?

--
Carl Burke
cburke@mitre.org



Re: Repo directory in RPM for CentOS 7.6 does not exist

От:
Devrim Gündüz <devrim@gunduz.org>
Дата:
Вложения:

Hi,

On Fri, 2019-08-23 at 18:26 +0000, Burke, Carl D. wrote:
> I'm trying to install PostgreSQL on a CentOS 7 system. Following the
> directions on the web page, I 'yum install 
> https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm'
>  and then attempt 'yum list postgresql*'. That gives me a 404 error for the
> repository:
> https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7.6-1-x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not
> Found
> Looking in a browser, there is indeed no /rhel-7.6-1-x86_64 subdirectory in
> the repo, so the RPM provided at your site is broken. How should I proceed in
> order to install PostgreSQL?

Where does -1 come from?  I mean, usually it is

rhel-7.6-x86_64  , not rhel-7.6-1-x86_64 .

Regards,

-- 
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
FAQ