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: Sometimes Steps to Reproduce: 1.With redhat distribuion (european) 2.rpm -U gcc-2.96-81.i386.rpm 3. 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.
Created attachment 25047 [details] The install log for my maquine
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.
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.
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.
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
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.
OK, WORKSFORME. Thanks for the updated info.
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?