Originally posted by: emwilson
I installed libxml2, which also required xz-libs. Same results, so set LIBPATH - same results. I saw that there is a libxml2-python, do I need that as well? Also, I will ask my coworkers that maintain the Satellite server to check the repoxml and primary.xm.gz.
/tmp/rpms>#rpm -ivh *.rpm
Preparing... ########################################### [100%]
1:xz-libs ########################################### [ 50%]
2:libxml2 ########################################### [100%]
/tmp/rpms>#cd
>#yum clean all
Cleaning repos: AIX_Toolbox_71 AIX_Toolbox_noarch
Cleaning up Everything
>#yum repolist
AIX_Toolbox_71 | 2.1 kB 00:00
AIX_Toolbox_71/primary | 3.8 kB 00:00
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "yummain.py", line 288, in user_main
File "yummain.py", line 140, in main
File "/opt/freeware/share/yum-cli/cli.py", line 440, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, sel
f.extcmds)
File "/opt/freeware/share/yum-cli/yumcommands.py", line 864, in doCommand
base.repos.populateSack()
File "/opt/freeware/lib/python2.7/site-packages/yum/repos.py", line 294, in po
pulateSack
sack.populate(repo, mdtype, callback, cacheonly)
File "/opt/freeware/lib/python2.7/site-packages/yum/yumRepo.py", line 186, in
populate
dobj = repo_cache_function(xml, csum)
File "/opt/freeware/lib/python2.7/site-packages/sqlitecachec.py", line 46, in
getPrimary
self.repoid))
TypeError: Parsing primary.xml error: Start tag expected, '<' not found
>#LIBPATH=/opt/freeware/lib:/usr/lib
>#echo $LIBPATH
/opt/freeware/lib:/usr/lib
>#yum repolist
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "yummain.py", line 288, in user_main
File "yummain.py", line 140, in main
File "/opt/freeware/share/yum-cli/cli.py", line 440, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, sel
f.extcmds)
File "/opt/freeware/share/yum-cli/yumcommands.py", line 864, in doCommand
base.repos.populateSack()
File "/opt/freeware/lib/python2.7/site-packages/yum/repos.py", line 294, in po
pulateSack
sack.populate(repo, mdtype, callback, cacheonly)
File "/opt/freeware/lib/python2.7/site-packages/yum/yumRepo.py", line 186, in
populate
dobj = repo_cache_function(xml, csum)
File "/opt/freeware/lib/python2.7/site-packages/sqlitecachec.py", line 46, in
getPrimary
self.repoid))
TypeError: Parsing primary.xml error: Start tag expected, '<' not found
>#echo $LIBPATH
/opt/freeware/lib:/usr/lib
#AIX-Open-Source-Software#AIXOpenSource