Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1etBpP-0001vh-C9 for pgsql-pkg-yum@arkaria.postgresql.org; Tue, 06 Mar 2018 12:36:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1etBpO-0006ly-7a for pgsql-pkg-yum@arkaria.postgresql.org; Tue, 06 Mar 2018 12:36:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1etBpN-0006lp-VU for pgsql-pkg-yum@lists.postgresql.org; Tue, 06 Mar 2018 12:36:22 +0000 Received: from mx.unixadm.org ([176.9.96.198]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1etBpC-0007ZS-Vr for pgsql-pkg-yum@lists.postgresql.org; Tue, 06 Mar 2018 12:36:21 +0000 Received: from pkueck.de-cix.local (46-31-127-234.guests.de-cix.net [46.31.127.234]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "phil", Issuer "Unixadm CA" (verified OK)) by mx.unixadm.org (Postfix) with ESMTPS id 7483124E15 for ; Tue, 6 Mar 2018 13:36:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quarantine.de; s=itchy; t=1520339769; h=from:subject:date:message-id:to:mime-version:content-type:content-transfer-encoding; bh=nnF9D1PzpbtOMqxA4yRFJXf4KSEJlfSZnHArLX5E1i4=; b=d7jxngVElfiJs/RDxQArbtmKPMTBb9Kmy1iuv0fRf4HQeCStT9Owq+XtL6IP5wtbWLLUMJ vqYTGe8QYQ8m4YVkaSZCAvYjbwq8zAWDNpP4c/g81TEBzMUGVx1T53CPAfGuruO10xKU3g GShe1RNjvjXdWtu4VP716tiIe1uAvpXVISh/HHMz5QbGGhhrj4nfB1K/uWP/NmlRqFSGYl QmeDJDZPPBbsa3fgUQcw4Gc8Qr/VLUIo1EOkiZKFtt4L6zrvPp+E6xplsftzMSRUIdyrCt 4dwgtq4xQcVkgHVnfcqCfV6Go1R1+xWUnknpse77HFzkTj5DHPchc6YEJ2ysJQ== To: pgsql-pkg-yum@lists.postgresql.org From: Philippe Kueck Subject: upload of rebuilt packages to the repository Message-ID: Date: Tue, 6 Mar 2018 13:36:07 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=quarantine.de; s=itchy; t=1520339769; h=from:subject:date:message-id:to:mime-version:content-type:content-transfer-encoding; bh=nnF9D1PzpbtOMqxA4yRFJXf4KSEJlfSZnHArLX5E1i4=; b=TcJ3c23g2xcK19TFMf0A/3VhPTrxGV/4wEwMDgyLjXE+65uLkaHRDkxBQYkrO5LNtTt8Us SbJd1309pRolZLcb9wRM+hqzgQ65ut7kv4lYPhBKgH+W5SbUpX589JUGglKTtvvc5mOcth tGg7zLJNwuD/0nZPxZW5bLy+32Z4r+SQdOrCJWVLvhuT4FyecveuO02nNfOiClthFm3MgT TLWS/RvQSzePmI0uqOazjpGBUoIsLQOk1WqrnRRnFFxs5z4y7057fTEkiDa52zIriZ619x qLIsPH7HA+QRO5Gvsw2DtQS6uqsBfQSlGw4iSmFHV2zfK11j0sScl7RYK75cGA== ARC-Seal: i=1; s=itchy; d=quarantine.de; t=1520339769; a=rsa-sha256; cv=none; b=LhHipiY3KKXhKBaIr4wMLf6rJz3lwP7ZlOPqpA8CGkwQJ5+9iC0pGWDAY9zexC/nPTaoj3rvQbPUL9VJTqqU+NgW9pofmaPuhmMaV1cVbe1V3Hjlkkwvv4BmsH72qpWmsZeCDyGN1Vf12IA1CK+B+X9u3cx68o88D7VAogOFK4Ic0xQ+bxFmFmpo+1CW6cGqdSaTo/w9MyjxM7tZCAEEwPODBX41vA0DwMYi/0iL/OHbYeNxtScR+2xLdqrK9nTp0TpXdMl+Unh5KlrIWUE1ErcwLdHjPAkzps96cngaacLw7PzRl/saLdO2L+7QRiMBFW/u+0GwS7gdLbogxONkIg== ARC-Authentication-Results: i=1; auth=pass smtp.auth=phil smtp.mailfrom=a4obmfyynycqcgqmaylaqxi6dzew6gismu@quarantine.de List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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