On Mon, Mar 29, 2010 at 02:56:29PM -0500, Shawn Walker wrote:
> On 03/29/10 02:55 PM, [email protected] wrote:
> >On Mon, Mar 29, 2010 at 01:45:03PM -0500, Shawn Walker wrote:
> >>>If I do, as mentioned before:
> >>>>api_inst = api.image_create(PKG_CLIENT_NAME, CLIENT_API_VERSION, img_dir,
> >>>>api.IMG_TYPE_ENTIRE, False, repo_uri="http://ipkg.sfbay/dev";,
> >>>>progtrack=progress.FancyUNIXProgressTracker(), force=True)
> >>>With an expanded package list that AI would normally use:
> >>>>pkglist=["entire", "SUNWcsd", "SUNWcs", "babel_install"]
> >>...
> >>>>File "/usr/lib/python2.6/vendor-packages/pkg/cfgfiles.py", line 166,
> >>>>in setvalue
> >>>>lineno = max((self.index[k][2] for k in self.index)) + 1
> >>>>ValueError: max() arg is an empty sequence
> >>>Have I executed the plan correctly?
> >>
> >>Yes, but unfortunately, I think you've hit a known bug:
> >>
> >>   http://defect.opensolaris.org/bz/show_bug.cgi?id=1637
> >>
> >>I don't believe you can currently plan the installation of an entire
> >>system in one step due to that bug; at least not without some
> >>trickery.
> >>
> >>Until bug 1637 is resolved, your best option is probably to either
> >>fake up the passwd, group, etc. files or to copy the ones from the
> >>LiveCD to the target install image area temporarily while you're
> >>planning.
> >
> >The current suggested workaround is to install SUNWcs and SUNWcsd first,
> >and then install everything else in a subsequent operation.
> 
> Yes, but that won't work here, since I believe they're trying to
> estimate the space required for the entire install operation
> *before* installing.

It wouldn't work to create separate transactions and compute the
sum of the size before actually performing the install?

-j
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to