I think it may be due to Sun's change of their Recommended bundle structure for Solaris 10. They are now locating the patches a directory level deeper after unpacking. I am repackaging to look like the old structure and will test it out.
Brian On Mon, Oct 12, 2009 at 10:36 AM, Jan Pazdziora <[email protected]>wrote: > On Mon, Oct 12, 2009 at 10:27:48AM -0400, Brian Clark wrote: > > I am receiving the following error when running "solaris2mpm > > 10_Recommended.zip" > > > > [r...@spacewalk01 test]# solaris2mpm 10_Recommended.zip > > Opening archive, this may take a while > > Error creating mpm for /mnt/test/10_Recommended.zip: > > Traceback (most recent call last): > > File "/usr/share/rhn/rhnpush/solaris2mpm.py", line 232, in _run > > pkg_mpm = create_pkg_mpm(archive_parser, prefix=dir) > > File "/usr/share/rhn/rhnpush/solaris2mpm.py", line 448, in > create_pkg_mpm > > dct = parse_pkginfo(pkginfo_str) > > File "/usr/share/rhn/rhnpush/solaris2mpm.py", line 486, in > parse_pkginfo > > lines = pkginfo_str.splitlines() > > AttributeError: 'NoneType' object has no attribute 'splitlines' > > Since pkginfo_str comes from > > pkginfo_str = archive_parser.read(os.path.join(prefix, "pkginfo")) > > in create_pkg_mpm, I wonder: what does > > unzip -l /mnt/test/10_Recommended.zip > > Is there a pkginfo file there? > > -- > Jan Pazdziora > Senior Software Engineer, Satellite Engineering, Red Hat > > _______________________________________________ > Spacewalk-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/spacewalk-list >
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
