yum python logger error bad marshal data

Interesting bug encountered today after a fresh install of RHEL5 from 5.3 media. When attempting to run the command, ‘yum’.  The following error was presented: # yum Traceback (most recent call last): File “/usr/bin/yum”, line 4, in ? import yum File “/usr/lib/python2.4/site-packages/yum/__init__.py”, line 30, in ? import logging ValueError: bad marshal data

Read more

YUM issue: TypeError: Parsing primary.xml error

When running a ‘yum check-update’, I would receive an error. The error continued even after running ‘yum clean all’. The error is shown below: # yum check-update Setting up repositories core 100% |=========================| 1.1 kB 00:00 updates 100% |=========================| 1.2 kB 00:00 extras 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files [...]

Read more