The solaris2mpm command fail with "AttributeError: 'NoneType' object has no attribute 'split' "

Solution Verified - Updated -

Issue

  • The solaris2mpm command fail with following error

    # solaris2mpm --tempdir=/tmp 10_x86_Recommended.zip 
    Opening archive, this may take a while
    Error creating mpm for /datapool/sol/10_x86_Recommended.zip:
    Traceback (most recent call last):
      File "/opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhnpush/solaris2mpm.py", line 198, in _run
        set_mpm = create_patch_set_mpm(archive_parser, archive)
      File "/opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhnpush/solaris2mpm.py", line 298, in create_patch_set_mpm
        header['version'] = header['date'].split()[0].replace("-", "")
    AttributeError: 'NoneType' object has no attribute 'split'
    

Environment

  • Red Hat Network Satellite v 5.4.0

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.