upload of rebuilt packages to the repository - Mailing list pgsql-pkg-yum

From Philippe Kueck
Subject upload of rebuilt packages to the repository
Date
Msg-id f4f0c3c3-ae97-6b94-8ca8-824952fb8c83@quarantine.de
Whole thread Raw
Responses Re: upload of rebuilt packages to the repository
Re: upload of rebuilt packages to the repository
List 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


pgsql-pkg-yum by date:

Previous
From: Jan Birk
Date:
Subject: rror importing repomd.xml for pgdg-10-oraclelinux.repo: Damagedrepomd.xml file
Next
From: Devrim Gündüz
Date:
Subject: Re: upload of rebuilt packages to the repository