Bug 791124 - zlib MD5 sum mismatch
Summary: zlib MD5 sum mismatch
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: rpm
Version: 5.7
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Panu Matilainen
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-16 09:24 UTC by Siddharth
Modified: 2018-11-27 21:05 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-05 10:43:46 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Siddharth 2012-02-16 09:24:25 UTC
Description of problem:
Configure system for downgrade by repackaging method
Try to downgrade zlib package


Version-Release number of selected component (if applicable):
Red Hat Enterprise Linux 5.7
zlib-1.2.3-3.x86-64

How reproducible:
when downgrading zlib

Steps to Reproduce:
1. Add "%_repackage_all_erasures 1" line into /etc/rpm/macros.up2date file.
2. Add "tsflags=repackage" option in /etc/yum.conf file.
3. Update zlib package  
     # yum update zlib
4. Perform rollback for zlib packages from /var/spool/repackage
     # rpm -Uvh --oldpackage zlib-1.2.3-3.*
5. Repackaging progress starts followed by error cpio:MD5 sum mismatch 
   
Actual results:
rpm throws error MD5 sum mismatch

Expected results:
zlib need to be update successfully

Additional info:

Comment 4 RHEL Program Management 2012-04-02 11:21:09 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 5 Tomas Kopecek 2012-04-05 10:23:25 UTC
I can't reproduce it with any of these files (zlib, perl). When I do it on 5.7 machine repackaged rpm is unsigned, so there is really different md5, but rpm install it anyway. Files on rhn are correct, so it seems to be rpm problem.

Comment 6 RHEL Program Management 2012-04-05 10:26:57 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 7 Panu Matilainen 2012-04-05 10:43:46 UTC
This is expected behavior for repackaged packages and not a bug, --rollback should be used to deal with them instead of direct -U or such. Even then, the rpm level repackage+rollback is unsupported on RHEL <= 5 and has been removed entirely in RHEL >= 6.


Note You need to log in before you can comment on or make changes to this bug.