Bug 50042 - The rpm command fails with error message
Summary: The rpm command fails with error message
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
(Show other bugs)
Version: 7.1
Hardware: i386 Linux
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2001-07-26 09:12 UTC by Pedritor
Modified: 2007-04-18 16:35 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-08-30 17:16:30 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
The install log for my maquine (12.15 KB, text/plain)
2001-07-26 09:13 UTC, Pedritor
no flags Details

Description Pedritor 2001-07-26 09:12:43 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.3-12 i686)

Description of problem:
The rpm command fails with error message "cpio: MD5 sum mismatch" randomly.
The packages are good and sometimes are installed ok. Some packages in the
RedHat distribuion CD's (originals) do not install properly due this error.

How reproducible:

Steps to Reproduce:
1.With redhat distribuion (european)
2.rpm -U gcc-2.96-81.i386.rpm

Actual Results:  unpacking of archive failed on file <random file>: cpio:
MD5 sum mismatch

Expected Results:  none (install ok)

Additional info:

I the install.log the error apears on some packages, different machines
have different bad packages with the same CD.

Comment 1 Pedritor 2001-07-26 09:13:37 UTC
Created attachment 25047 [details]
The install log for my maquine

Comment 2 Jeff Johnson 2001-07-26 12:53:44 UTC
All package installs and upgrades since rpm-4.0.2 have a MD5sum check
on the file as it is installed, so I have no reason to think that there is an
rpm problem. Try doing an install on another machine to convince
yourself that the problem is not with rpm. What happens if you do that?

Check your machine, random problems can be caused by overclocked
CPU's and/or memory.

Comment 3 Need Real Name 2001-08-14 07:02:42 UTC
I' have the same problems after installing the latest RH7.1 updates.
Rpm fails with most(all) of the packages from other sites and some of the 
packages from the RedHat CD's.

Comment 4 Need Real Name 2001-08-14 07:24:26 UTC
I've done some digging ang broused trough the bug reports.
It looks that there are more complaints about this checsum error.

Bugs : 42470,43291,37940,38528

Maybe somthings broken.

Comment 5 Jeff Johnson 2001-08-14 14:51:46 UTC
I need a reproducible problem in order to fix. Random failures
still smells like either corrupt packages and/or HW to me.

Please reopen this bug if you have a reproducible problem

Comment 6 Need Real Name 2001-08-30 17:16:26 UTC
I've rebooted my system and found some duplicated inode's on my disks. 
Therefore the RPM did work from CD but not from my home directory.

Comment 7 Jeff Johnson 2001-08-30 17:20:37 UTC
OK, WORKSFORME. Thanks for the updated info.

Comment 8 Need Real Name 2001-08-31 09:29:23 UTC
The problem was not copletely resolved. The MD5 error still exists.

This is what I did after the file system was restored. 

I logged in as a normal user.
used ncftp to get the mozilla packadges.
went to runlevel 1. unmount of /home. Did an fsck. no errors where found.
Rebooted the system.
I logged in as a normal user opened a terminal.
used su (without dash) and executed rpm -i mozilla...
This results in an MD5 checsum error for each of the packadges.

After that i've su'ed with dash ( su - ) 
used ncftp to get the mozilla packadges.
rpm -i mozilla...
The checksum error was solved.

any comments?

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