some progress ....
My repository came out with 1687 packages and it contains "entire". I
ran "make 119/redist_import" in src/util/distro-import.
"pkg image-update" now goes much further. It starts to download
packages, but fails with the following error.
anu...@dell-xps:~/ips_repo# pkg image-update
DOWNLOAD PKGS FILES XFER (MB)
SUNWxorg-mesa 49/1166 2641/16778 71.4/596.8
pkg: An unexpected error happened while preparing for image-update:
Traceback (most recent call last):
File "/usr/bin/pkg", line 2585, in ?
__ret = main_func()
File "/usr/bin/pkg", line 2526, in main_func
return image_update(mydir, pargs)
File "/usr/bin/pkg", line 597, in image_update
api_inst.prepare()
File "/usr/lib/python2.4/vendor-packages/pkg/client/api.py", line
454, in prepare
self.__img.imageplan.preexecute()
File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py",
line 632, in preexecute
p.download()
File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py",
line 242, in download
mfile.wait_files()
File
"/usr/lib/python2.4/vendor-packages/pkg/client/transport/transport.py",
line 841, in wait_files
self._transport._get_files(self)
File
"/usr/lib/python2.4/vendor-packages/pkg/client/transport/transport.py",
line 470, in _get_files
tfailurex.append(f)
File
"/usr/lib/python2.4/vendor-packages/pkg/client/transport/exception.py",
line 106, in append
if x.simple_cmp(exc) == 0:
File
"/usr/lib/python2.4/vendor-packages/pkg/client/transport/exception.py",
line 59, in simple_cmp
return self.__cmp__(self, other)
TypeError: __cmp__() takes exactly 2 arguments (3 given)
pkg: This is an internal error. Please let the developers know
about this
problem by filing a bug at http://defect.opensolaris.org and
including the
above traceback and this message. The version of pkg(5) is
'9c949ec238b6+'.
My machine is in build 118. The nwam packages I took to create the
repository were sync'ed with 119. I updated my ips gate this morning
(head is at changeset 1261). I ran a "make packages" and installed new
versions of SUNWipkg, SUNWipkg-brand, SUNWpython-cherrypy,
SUNWpython-mako, SUNWpython-ply, and SUNWpython-pycurl (as suggested my
Karen in her original instructions). Note that I didn't build the
repository this morning (took me 10 hours last night).
Anurag
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss