solaris2mpm fails to convert packages larger than 2 GiB with error message "requested number of bytes is more than a Python string can hold"

Solution Verified - Updated -

Issue

  • Converting a Solaris patchset with solaris2mpm fails with the message:

    bash-3.2# /opt/redhat/rhn/solaris/usr/bin/solaris2mpm 10_Recommended.zip 
    Opening archive, this may take a while
    requested number of bytes is more than a Python string can hold
    Error creating mpm for /export/home/user/10_Recommended.zip:
    

Environment

  • RHN Satellite Solaris Bootstrap (rhn-solaris-bootstrap-5.4.1-9)
  • Solaris 10 (SunOS 5.10)
  • Solaris Packages or Patchsets larger than 2 GiB (2147483647 bytes) in size

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