Re: having issues with PG12 debian packaging repository

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Murat Tuncer <mtuncer(at)citusdata(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: having issues with PG12 debian packaging repository
Date: 2019-09-09 17:04:05
Message-ID: CABUevEy3X7Kg6t-6JiNREgrqd+e5k43CwGkkSp5FVgr9YQKitw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Sep 9, 2019 at 6:03 PM Murat Tuncer <mtuncer(at)citusdata(dot)com> wrote:

>
> On Sun, Sep 8, 2019, 21:43 Magnus Hagander <magnus(at)hagander(dot)net> wrote:
>
>> On Wed, Sep 4, 2019 at 5:43 PM Murat Tuncer <mtuncer(at)citusdata(dot)com>
>> wrote:
>>
>>> Hello hackers
>>>
>>> I am getting sporadic errors when I tried to use PG12 bionic debian
>>> repository.
>>>
>>> Here is the error message that is result of apt-get update.
>>> -----------
>>> Failed to fetch
>>> http://apt.postgresql.org/pub/repos/apt/dists/bionic-pgdg/main/binary-i386/Packages.gz
>>> File has unexpected size (260865 != 260866). Mirror sync in progress? [IP:
>>> 34.96.81.152 80]
>>> Hashes of expected file:
>>> - Filesize:260866 [weak]
>>> -
>>> SHA256:433bef097d8a54a9899350c182d0074c1a13f62c8e7e9987cc6c63cd11242abc
>>> - SHA1:1be55e080a1dd277929f095690ae9b9cf01e971f [weak]
>>> - MD5Sum:08189bf54aa297f53b9656bc3c529c62 [weak]
>>> Release file created at: Mon, 02 Sep 2019 10:25:33 +0000
>>> Failed to fetch
>>> http://apt.postgresql.org/pub/repos/apt/dists/bionic-pgdg/main/binary-amd64/Packages.gz
>>> Some index files failed to download. They have been ignored, or old
>>> ones used instead.
>>> ------------------
>>>
>>> It usually succeeds when I run it again. Is there a way to avoid this?
>>>
>>>
>> This sounds very similar to an issue people ran into on travis, which I
>> believe was tracked down to travis putting a cache in between themselves
>> and apt.postgresql.org, which broke the order of downloads. Any chance
>> you also have a cache sitting there somewhere?
>>
>> //Magnus
>>
>
>
> Thanks.
>
> I should have added I was seeing this in travis. I tought it was a general
> issue.
>
> Is there a workaround for this in travis ?
>
>
I thought it was fixed by now. Travis has a thread at
https://travis-ci.community/t/sometimes-build-fails-when-apt-is-updating-postgresql-apt-repository/4872

//Magnus

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera from 2ndQuadrant 2019-09-09 17:19:49 Re: Libpq support to connect to standby server as priority
Previous Message Murat Tuncer 2019-09-09 16:03:25 Re: having issues with PG12 debian packaging repository