[Spacewalk-list] Error in solaris2mpm of latest Recommended 10 for SPARC

Brian Clark bclark at linuxco.org
Mon Oct 12 22:40:43 UTC 2009


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 <jpazdziora at redhat.com>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"
> >
> > [root at 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
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20091012/5bb7b427/attachment.htm>


More information about the Spacewalk-list mailing list