Get a traceback from running command to covert a Solaris patch cluster into mpm archive. Package rhnpush-5.3.1-5.el5sat Steps to Reproduce: 1. Obtain January 8 Patch cluster from sunsolve.sun.com for Solaris 10 2. run solaris2mpm 10_x86_Recommended.zip or 10_Recommended.zip Actual results: [root@hostname tmp]# solaris2mpm 10_x86_Recommended.zip Opening archive, this may take a while Error creating mpm for /var/satellite/tmp/10_x86_Recommended.zip: Traceback (most recent call last): File "/usr/share/rhn/rhnpush/solaris2mpm.py", line 219, in _run pkg_mpm = create_pkg_mpm(archive_parser, prefix=dir) File "/usr/share/rhn/rhnpush/solaris2mpm.py", line 435, in create_pkg_mpm dct = parse_pkginfo(pkginfo_str) File "/usr/share/rhn/rhnpush/solaris2mpm.py", line 473, in parse_pkginfo lines = pkginfo_str.splitlines() AttributeError: 'NoneType' object has no attribute 'splitlines' Expected results: A mpm archive for patch cluster. Additional info: Sparc version of patch cluster has same problem.
Had no problems with latest Recommended Patch cluster for Solaris 8 and 9.
Older cluster work: [root@hostname e]# solaris2mpm --tempdir=/var/satellite/tmp/tmp/ 10_Recommended.zip Opening archive, this may take a while Writing patch-cluster-solaris-10_Recommended-20081117-1.sparc-solaris-patch-cluster.mpm Writing patch-solaris-118666-17-1.sparc-solaris-patch.mpm
Workaround unzip 10_x86_Recommended.zip; Rename README => CLUSTER_README Change date format to Jan/08/10 in CLUSTER_README Rename installcluster => install_cluster Move all patches one level down from patches directory zip -q -r 10_x86_Recommended.zip 10_x86_Recommended && solaris2mpm --tempdir=/var/satellite/tmp/tmp/ 10_x86_Recommended.zip Opening archive, this may take a while Writing patch-cluster-solaris-10_x86_Recommended-20100108-1.i386-solaris-patch-cluster.mpm Writing patch-solaris-113000-07-1.i386-solaris-patch.mpm Writing patch-solaris-117435-02-1.i386-solaris-patch.mpm Writing patch-solaris-118344-14-1.i386-solaris-patch.mpm Writing patch-solaris-118668-24-1.i386-solaris-patch.mpm Writing patch-solaris-118669-24-1.i386-solaris-patch.mpm Writing patch-solaris-118778-13-1.i386-solaris-patch.mpm
This is a dupe of bug 559092 *** This bug has been marked as a duplicate of bug 559092 ***