On Sun, Sep 8, 2019, 21:43 Magnus Hagander <mag...@hagander.net> wrote:

> On Wed, Sep 4, 2019 at 5:43 PM Murat Tuncer <mtun...@citusdata.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 ?

Murat

>

Reply via email to