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, 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