Networker

Re: [Networker] NW 8 breaks yum

2012-08-23 04:22:02
Subject: Re: [Networker] NW 8 breaks yum
From: Dag Nygren <dag AT NEWTECH DOT FI>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 23 Aug 2012 11:13:36 +0300
On Thursday 23 August 2012 00:50:22 you wrote:
> Hi guys,
> 
> After installing NW 8 on a PUIAS(essentially RHEL) 6.3 x86_64, following the 
> installation guide, yum doesn't work anymore:
> 
> 
> 
> [root@dkarhnwsup ~]# yum update
> Plugin "refresh-packagekit" can't be imported
> Loaded plugins: downloadonly
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 29, in <module>
>     yummain.user_main(sys.argv[1:], exit_code=True)
>   File "/usr/share/yum-cli/yummain.py", line 285, in user_main
>     errcode = main(args)
>   File "/usr/share/yum-cli/yummain.py", line 136, in main
>     result, resultmsgs = base.doCommands()
>   File "/usr/share/yum-cli/cli.py", line 434, in doCommands
>     self._getTs(needTsRemove)
>   File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 99, in _getTs
>     self._getTsInfo(remove_only)
>   File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 110, in 
> _getTsInfo
>     pkgSack = self.pkgSack
> 
>   ... many files mentioned ...
> 
>   File "/usr/lib/python2.6/site-packages/yum/repoMDObject.py", line 140, in 
> parse
>     parser = iterparse(infile)
>   File "/usr/lib/python2.6/site-packages/yum/misc.py", line 1169, in 
> cElementTree_iterparse
>     _cElementTree_import()
>   File "/usr/lib/python2.6/site-packages/yum/misc.py", line 1164, in 
> _cElementTree_import
>     import cElementTree
> ImportError: No module named cElementTree
> [root@dkarhnwsup ~]#
> 
> NW packages:
> 
> [root@dkarhnwsup ~]# rpm -qa |grep lgto
> lgtonode-8.0.0.1-1.x86_64
> lgtoserv-8.0.0.1-1.x86_64
> lgtoman-8.0.0.1-1.x86_64
> lgtoclnt-8.0.0.1-1.x86_64
> lgtonmc-8.0-1.i686
> [root@dkarhnwsup ~]#
> 
> All I've been able to find suggests updating a package called 
> python-elementstree, but I can't find it for any RHEL 6 or its derived 
> distros.
> 
> If I remove the NW packages, yum works again.
> 
> Any ideas?

Your LD_LIBRARY path?
NW keeps it's ibraries in /usr/lib/nsr/lib64.
It might find some NW libraries first. And they might not be compatible with 
the rest.

I saw this for libexpat for example. The Networker one just happened to be 
compatible in my case.
Found it by using lsof and changed my library path though.

Best
Dag

<Prev in Thread] Current Thread [Next in Thread>