Power

 View Only
  • 1.  UPGRADE AIX 7.1 to 7.2 PROBLEM with YUM

    Posted Fri November 10, 2023 11:28 AM

    after migrating from version 7.1 to 7.2 we had this error

     
    TST [08:42:40] root@sic-tst-tmsm1:/root # yum repolist
    Traceback (most recent call last):
    File "/usr/bin/yum", line 32, in <module>
    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



    ------------------------------
    Joe
    ------------------------------


  • 2.  RE: UPGRADE AIX 7.1 to 7.2 PROBLEM with YUM

    Posted Mon November 13, 2023 11:03 AM

    Hi

    The best thing is to migrate to dnf. When updating, the version of rpm.rte changes. As a result, you may have several incompatibility problems.

    https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2021/05/28/dnf-is-now-available-on-aix-toolbox

    Richard



    ------------------------------
    Richard Fernandes
    ------------------------------