[RFC] additional enhancements for RHEL3/4 for Dell system-specific repo

Tony pthagonal at gmail.com
Fri Apr 6 10:24:54 CDT 2007


On 4/6/07, Tony <pthagonal at gmail.com> wrote:
>
> Now if I try yum check-update I get this error:
>
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 29, in ?
>     yummain.main(sys.argv[1:])
>   File "/usr/share/yum-cli/yummain.py", line 80, in main
>     base.getOptionsConfig(args)
>   File "/usr/share/yum-cli/cli.py", line 196, in getOptionsConfig
>     self.doPluginSetup(self.optparser)
>   File "__init__.py", line 157, in doPluginSetup
>   File "plugins.py", line 134, in __init__
>   File "plugins.py", line 176, in _importplugins
>   File "plugins.py", line 191, in _loadplugin
>   File "/usr/lib/yum-plugins/dellsysidplugin.py", line 11, in ?
>     from yum.yumRepo import YumRepository
> ImportError: No module named yumRepo
>
> Anyone any ideas what I've done wrong?
>

Answering myself, I've tried to get my head around how yum and python work.

I've realised that CentOS 4.4 currently has yum-2.4.3-1.c4 - and I'm
suspecting that this is too low a version of yum for your plugin to
work because /usr/lib/python2.3/site-packages/yum/yumRepo.py does not
exist.

Sadly (at least in this repect) this CentOS 4.4 system is fully
patched up to date and there would be no way I'd go changing to
another yum version unless it came through the centos update channels.

But the RHN/up2date sources method works so it's not the end of the world!

-- 
Cheers,

Tony



More information about the Linux-PowerEdge mailing list