Satellite receiving traceback "TypeError: unsubscriptable object" error while trying to update client connected to satellite

Solution Verified - Updated -


  • Client system registered on RHN Satellite server throws following error while running "yum check-update" for updates.

    # yum check-update 
    Loaded plugins: rhnplugin, security 
    Error: Cannot retrieve repository metadata (repomd.xml)  for repository: rhel-i386-server-5. Please verify its path and try again
  • Client system registered on RHN Satellite server throwing following error while running "yum update" for updates:

    if v[0] != 32 or not self.auto_open:
    IndexError: tuple index out of range
  • At same time, following traceback error generates on RHN Satellite server

    Exception Handler Information
    Traceback (most recent call last):
      File "/usr/share/rhn/server/", line 108, in call_function
        response = apply(func, params)
      File "/usr/share/rhn/server/", line 166, in repodata
        output = repo.get_repomd_file()
      File "/usr/share/rhn/server/repomd/", line 334, in
      File "/usr/share/rhn/server/repomd/", line 107, in
      File "/usr/share/rhn/server/repomd/", line 304, in write_updateinfo
        for erratum in
      File "/usr/share/rhn/server/repomd/", line 134, in _erratum_generator
        erratum = self.erratum_mapper.get_erratum(erratum_id[0])
      File "/usr/share/rhn/server/repomd/", line 455, in get_erratum
        package = self.package_mapper.get_package(package_id)
      File "/usr/share/rhn/server/repomd/", line 161, in get_package
        last_modified = str(self.mapper.last_modified(package_id))
      File "/usr/share/rhn/server/repomd/", line 300, in last_modified
        return self.last_modified_sql.fetchone()[0]
    TypeError: unsubscriptable object


  • Red Hat Network Satellite 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In