# yum repolist all
Loaded plugins: aliases, allowdowngrade, basearchonly, downloadonly, fastestmirror, filter-data, keys, list-data, merge-conf, post-transaction-actions, priorities, verify
Loading mirror speeds from cached hostfile
aixtoolbox_noarch | 1.5 kB 00:00:00
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in
yummain.user_main(sys.argv[1:], exit_code=True)
File "/opt/freeware/share/yum-cli/yummain.py", line 288, in user_main
errcode = main(args)
File "/opt/freeware/share/yum-cli/yummain.py", line 140, in main
result, resultmsgs = base.doCommands()
File "/opt/freeware/share/yum-cli/cli.py", line 440, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.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 populateSack
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
Etude en cours : Erreur de libxml2 ? ou Python?
Solution : En ajoutant la libxml2 et xz-libs, le problème disparaît.==> Vérifier les versions associées à Yum.