Problem mirroring PostgreSQL 9.4 yum repository

From: Yonko Todorov <todorov(at)crxmarkets(dot)com>
To: "pgsql-pkg-yum(at)postgresql(dot)org" <pgsql-pkg-yum(at)postgresql(dot)org>
Cc: Oleksandr Avramov <avramov(at)crxmarkets(dot)com>, Pasha Shabalin <shabalin(at)crxmarkets(dot)com>
Subject: Problem mirroring PostgreSQL 9.4 yum repository
Date: 2016-01-28 13:36:01
Message-ID: DB3PR03MB087341A1BAE974A2EA061247D0DA0@DB3PR03MB0873.eurprd03.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

Dear Sirs,

I would like to kindly ask you for your help with a problem, related PostgreSQL 9.4 Yum repository.

We are maintaining local copy of PostgreSQL repositories for version 9.4 and above for only x86_64 and only RedHat 7/CentOS 7. Unfortunately, for 9.4 we are not able to maintain it automatically anymore.

The problem is:

On 21.Jan.2016, a symbolic link rhel-7-x86_64 appeared in the repository, accessed by rsync on URL rsync://yum.postgresql.org/pgrpm-94/redhat/rhel-7-x86_64/. Since then, the following error is raised:
rsync: readlink_stat("/redhat/rhel-7-x86_64/rhel-7-x86_64" (in pgrpm-94)) failed: Too many levels of symbolic links (40) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1518) [generator=3.0.9]

mrepo: Mirroring failed for rsync://yum.postgresql.org/pgrpm-94/redhat/rhel-7-x86_64 with message:
Failed with return code: 5888

We use mrepo for mirroring the repository, but the issue is easily reproducible by using plain rsync. The exact command is: rsync rsync://yum.postgresql.org/pgrpm-94/redhat/rhel-7-x86_64/rhel-7-x86_64/ --list-only. On the other hand, the following command succeeds: rsync rsync://yum.postgresql.org/pgrpm-94/redhat/rhel-7-x86_64/ --list-only.

Additional information:
We tried to use also the HTTP location of the repository: http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/ but, unfortunately, after downloading bunch of RPMs, it gets stuck on repoview with the message:
repoview: Getting files information (100%) [Waiting for response...]

Apparently, mrepo calls lftp to mirror the repository. Exact command is:
/usr/bin/lftp -c "; set net:timeout 3600; mirror -c -P -v -e -I *.rpm -X "/headers/" -X "/repodata/" -X "*.src.rpm" -X "/SRPMS/" -X "*-debuginfo-*.rpm" -X "/debug/" http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/ /data/mrepo/Centos7-x86_64/postgres94"

Could you, please, help us resolving the issue?

I will be glad to provide more information if needed.

Thank you in advance!

Best regards,
------------------------------------------------------------------
Yonko Todorov
Senior Software Developer
CRX Markets AG
Schäufeleinstrasse 1
80687 Munich
Germany
www.crxmarkets.com<http://www.crxmarkets.com/>

Amtsgericht - Nürnberg HRB 31519 | Sitz München | Aufsichtsratsvorsitzender: Philip Holzer | Vorstand: Christopher Schütz
This e-mail may contain attorney/client privileged information and may therefore be confidential. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

P Save per printed page ca. 200 ml Water, 2 g CO2 und 2 g Wood:
Therefore please do only print if really necessary.

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Jehan-Guillaume de Rorthais 2016-01-29 11:08:15 Re: packaging of check_pgactivity ?
Previous Message John Harvey 2016-01-27 20:27:40 Quick question about autogen.sh