On 04/ 9/10 11:14 AM, Adam Leventhal wrote:
What's the output of "pkg version" ?

38fe0f4bd5ca

I this version of the pkg tools by following the flag day mail and downloading 
this:

   http://nana.sfbay/products/osol_dev/133/svr4_ips_packages_i386.zip

Ah, ok. In 133, repository configuration was temporarily changed to require the 'repository.origins' property to be set in your $REPO_DIR/cfg_cache file.

So, in your case, it should be:

[repository]
origins = http://localhost:12345

This requirement was removed in 134 (the requirement was well intentioned but there are some use cases it didn't account for).

Unable to contact valid package server: http://localhost:12345/
Encountered the following error(s):
Transport errors encountered when trying to contact depot server.
Reported the following errors:
http protocol error: code: 504 reason: Gateway Timeout
URL: 'http://localhost:12345'. (happened 4 times)

The gateway timeout error is a bit odd to me.

What happens if you go to http://localhost:12345/ in your browser?

Do you see anything there?

It turned out that pkg(1) was picking up my web proxy settings. I disabled that
and was able to make more forward progress.

I still need answers to the following:

1. How can I use my repo to create-image and bless the directory I'm installing 
into?

Temporarily change your configuration as mentioned above.

Please note that you shouldn't create an image using '/' on an SVR4-installed or managed system -- you will get unexpected results.

2. I'm not sure of the prescribed method for installing everything in ON, but I 
tried install '*'.

I don't think that's what you want.

I honestly don't know if there's a "install cluster" just for ON yet, perhaps someone else does.

3. That quickly barfed saying

pkg: No version of network/dhcp/dhcpmgr can be installed:
pkg://on-nightly/network/dhcp/[email protected],5.11-0.136:20100409T022934Z: 
Suitable required dependency pkg:/runtime/java cannot be found

    Can someone suggest a way forward on that?

The on-nightly repositories are meant to be used in combination with the opensolaris.org publisher configured to use the http://ipkg.sfbay/dev repository as an origin.

In this particular case, I'm going to guess you configured the opensolaris.org publisher to use the pkg.opensolaris.org/dev repository, which currently doesn't have any builds beyond 134.

I'll send you the steps off-list.

4. How is the depot server on opensolaris.org invoked?

Via SMF. See "man pkg.depotd" for more information about what SMF properties are available.

5. Is the distro constructor something that would be potentially useful here?

It sort of depends.

For automated installs, use AI.

For creating your own custom image suitable for a LiveCD/DVD, etc. use Distribution Constructor.

If you just want to install a recent build on a system and you want a fairly minimal set of packages, I'd suggest using the text install CD or USB images.

6. How would I serve up both repo.extra and repo.redist? Would I need two 
servers?

You currently would need one pkg.depotd process for each repository you want to provide access to.

-Shawn
_______________________________________________
on-ips-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/on-ips-dev

Reply via email to