Ran into an issue when using Red Hat Enterprise Linux up2date that it would fail to fetch a package. This was because mid way downloading the package, I aborted the operation using CTRL-C. When I was ready to resume the update, it returns a bad MD5 checksum error.
For this example, firefox was the affected package.
1 2 3 4 5 6 7 8 |
[root@myserv ~]# up2date firefox Testing package set / solving RPM inter-dependencies... ######################################## error: rpmts_HdrFromFdno: MD5 digest: BAD Expected(81c2d6e93ee1f7ace498245b09bd61e8) != (aaa9b7a5ca1c69d470b3a2d3ea67fdc1) firefox-3.6.7-3.el4.x86_64. An error has occurred: Unable to fetch requested Package See /var/log/up2date for more information |
This error is triggered from a package that is broken, and is not uncommon to happen.
To correct this, go into /var/spool/up2date and remove the broken package.
1 |
[root@myserv ~]# rm /var/spool/up2date/firefox-3.6.7-3.el4.x86_64.rpm |
Run up2date again, success!
1 2 3 4 5 |
[root@myserv ~]# up2date firefox Testing package set / solving RPM inter-dependencies... ######################################## firefox-3.6.7-3.el4.x86_64. ########################## Done. |