yum makecache failing, unable to run
ppa-transfer. Script shows error:
# ppa-transfer transfer-accounts config.ini [ERROR] | Failed to check migration tool updates: Failed to execute 'yum makecache' command to update yum metadata which is required to perform migration tools update. Please fix YUM configuration so the command 'yum makecache' does not fail and re-run migration tool.
The error from migration manager means that
"yum makecache" command fails:
# yum makecache http://example.com/pub/epel/5/x86_64/repodata/56cd77b52da66a1709f7faa2791cf7ce7f7b627f48c34815860181baaa531fb7-updateinfo.xml.bz2: [Errno -3] Error performing checksum Trying other mirror.
What this really means that yum cannot calculate the
sha256 checksum correctly.
The fix is simple:
# yum install python-hashlib
which makes the necessary libraries available for
yum to calculate the new checksums correctly.