Bug 2216785

Summary: postfix-3.5.8-6.el8.x86_64.rpm archive is corrupt
Product: Red Hat Enterprise Linux 8 Reporter: Andor <tothandor>
Component: postfixAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED CURRENTRELEASE QA Contact: František Hrdina <fhrdina>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: asamalik, bstinson, fhrdina, jwboyer
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-27 09:46:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andor 2023-06-22 14:43:22 UTC
Description of problem:
The postfix-3.5.8-6.el8.x86_64.rpm file in the CentOS stream repository is corrupt.

Version-Release number of selected component (if applicable):
3.5.8-6

How reproducible: consistently

Steps to Reproduce:
1. Download the file from here: curl -O http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/Packages/postfix-3.5.8-6.el8.x86_64.rpm
2. Try to install itt (rpm -ivh postfix-3.5.8-6.el8.x86_64.rpm)
3. Behold the error message: 
  error: postfix-3.5.8-6.el8.x86_64.rpm: signature hdr data: BAD, no. of bytes(77508) out of range
  error: postfix-3.5.8-6.el8.x86_64.rpm cannot be installe

Actual results: Errors

Expected results: No errors

Additional info:
Previous release is okay

Comment 2 Andor 2023-06-23 12:56:37 UTC
Yes, it has the same issue.
But it's no wonder as it has the same MD5 hash.
https://composes.stream.centos.org/ 8d3f1feb8ddbd14099fc8991904a6f5f  postfix-3.5.8-6.el8.x86_64.rpm
https://mirror.centos.org/          8d3f1feb8ddbd14099fc8991904a6f5f  postfix-3.5.8-6.el8.x86_64.rpm

postfix-3.5.8-4.el8.x86_64.rpm (notice the release: 4) has no problem.

Comment 3 Adam Samalik 2023-06-27 09:46:33 UTC
This is fixed in both composes and mirrors — managed to install postfix-3.5.8-6.el8.x86_64.rpm (release 6) just fine.

Comment 4 Andor 2023-06-27 10:28:31 UTC
It seems that it was actually caused by RPM. 
4.11.3-45 error
4.11.3-48 works