upload of rebuilt packages to the repository

From: Philippe Kueck <a4obmfyynycqcgqmaylaqxi6dzew6gismu(at)quarantine(dot)de>
To: pgsql-pkg-yum(at)lists(dot)postgresql(dot)org
Subject: upload of rebuilt packages to the repository
Date: 2018-03-06 12:36:07
Message-ID: f4f0c3c3-ae97-6b94-8ca8-824952fb8c83@quarantine.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

Hi all,

I've noticed that from time to time PostgreSQL pushes rebuilds of
already existing packages[1] – i.e. same %{name}, %{epoch}, %{version},
%{release} and same filename but different content – into the yum
repository.

Please don't to that.

If the existing package is buggy or corrupt, just increase %{release}
and push the new package to the repo.
Otherwise yum and mirrors might not handle it correctly. With cached
metadata, yum will complain about checksum mismatches. Mirrors that are
using e.g. reposync will create a corrupted file if the former package
was smaller than the updated one by appending additional bytes to the
existing file. If the former package was larger than the updated one,
your the servers will respond with a "416 range not satisfiable".

Best,

Philippe

[1] for example amcheck_next10-1.3-1.rhel7.x86_64 on march 1st

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Devrim Gündüz 2018-03-06 14:33:06 Re: upload of rebuilt packages to the repository
Previous Message Jan Birk 2018-03-05 19:25:34 rror importing repomd.xml for pgdg-10-oraclelinux.repo: Damaged repomd.xml file