Re: Problem mirroring PostgreSQL 9.4 yum repository

Поиск
Список
Период
Сортировка
От Devrim GÜNDÜZ
Тема Re: Problem mirroring PostgreSQL 9.4 yum repository
Дата
Msg-id 1455105480.16264.6.camel@gunduz.org
обсуждение исходный текст
Ответ на Problem mirroring PostgreSQL 9.4 yum repository  (Yonko Todorov <todorov@crxmarkets.com>)
Ответы Re: Problem mirroring PostgreSQL 9.4 yum repository  (Yonko Todorov <todorov@crxmarkets.com>)
Список pgsql-pkg-yum
Hi,

I cannot reproduce this on my box:
$ rsync rsync://yum.postgresql.org/pgrpm-94/redhat/rhel-7-x86_64/ --list-only
drwxr-xr-x         28,672 2016/01/29 13:57:39 .
-rw-r--r--        329,656 2014/08/19 10:02:21 CGAL-4.0.2-1.el6.x86_64.rpm
...

Please note that you added another rhel-7-x86_64 to the tail of the command.

Regards, Devrim



On Thu, 2016-01-28 at 13:36 +0000, Yonko Todorov wrote:
> 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/rh
> el-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.
>

J
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR



Вложения

В списке pgsql-pkg-yum по дате отправления:

Предыдущее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: Found / fixed two spec-file redundancies
Следующее
От: Jeff Frost
Дата:
Сообщение: Re: Bug Tracker or Todo List?