Satellite updateinfo.xml not properly formatted - unescaped '&', '<', '>' causes "mismatched tag" error

Solution Verified - Updated -


  • characters such as <,>,&,etc are not being reformatted properly in updateinfo.xml
  • yum list-security and yum-updatesd fails with errors
  • example of yum error:

    [root@01 ~]# yum list-security
    Loaded plugins: rhnplugin, security
    Traceback (most recent call last):
    File "/usr/bin/yum", line 29, in ?
    yummain.user_main(sys.argv[1:], exit_code=True)
    File "/usr/share/yum-cli/", line 309, in user_main
    errcode = main(args)
    File "/usr/share/yum-cli/", line 178, in main
    result, resultmsgs = base.doCommands()
    File "/usr/share/yum-cli/", line 349, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
    File "/usr/lib/yum-plugins/", line 203, in doCommand
    md_info = ysp_gen_metadata(self.repos.listEnabled())
    File "/usr/lib/yum-plugins/", line 76, in ysp_gen_metadata
    File "/usr/lib/python2.4/site-packages/yum/", line 376, in add
    for event, elem in iterparse(infile):
    File "<string>", line 64, in __iter__
    SyntaxError: mismatched tag: line 240, column 1388


  • Red Hat Network (RHN) Satellite 4.2.3, 5.0.2, 5.1.1, 5.2.0, and 5.4.0

  • Red Hat Enterprise Linux 5 client systems

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content