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.<br>
<br>Brian<br><br><div class="gmail_quote">On Mon, Oct 12, 2009 at 10:36 AM, Jan Pazdziora <span dir="ltr"><<a href="mailto:jpazdziora@redhat.com">jpazdziora@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Mon, Oct 12, 2009 at 10:27:48AM -0400, Brian Clark wrote:<br>
> I am receiving the following error when running "solaris2mpm<br>
> 10_Recommended.zip"<br>
><br>
> [root@spacewalk01 test]# solaris2mpm 10_Recommended.zip<br>
> Opening archive, this may take a while<br>
> Error creating mpm for /mnt/test/10_Recommended.zip:<br>
> Traceback (most recent call last):<br>
>   File "/usr/share/rhn/rhnpush/solaris2mpm.py", line 232, in _run<br>
>     pkg_mpm = create_pkg_mpm(archive_parser, prefix=dir)<br>
>   File "/usr/share/rhn/rhnpush/solaris2mpm.py", line 448, in create_pkg_mpm<br>
>     dct = parse_pkginfo(pkginfo_str)<br>
>   File "/usr/share/rhn/rhnpush/solaris2mpm.py", line 486, in parse_pkginfo<br>
>     lines = pkginfo_str.splitlines()<br>
> AttributeError: 'NoneType' object has no attribute 'splitlines'<br>
<br>
</div></div>Since pkginfo_str comes from<br>
<br>
    pkginfo_str = archive_parser.read(os.path.join(prefix, "pkginfo"))<br>
<br>
in create_pkg_mpm, I wonder: what does<br>
<br>
        unzip -l /mnt/test/10_Recommended.zip<br>
<br>
Is there a pkginfo file there?<br>
<font color="#888888"><br>
--<br>
Jan Pazdziora<br>
Senior Software Engineer, Satellite Engineering, Red Hat<br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
</font></blockquote></div><br>