[Spacewalk-list] Error in solaris2mpm of latest Recommended 10 for SPARC
Jan Pazdziora
jpazdziora at redhat.com
Mon Oct 12 14:36:14 UTC 2009
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
More information about the Spacewalk-list
mailing list