Please tell me, what is the simplest way to create a local repo (of the latest pkg.opensolaris/dev)?
Thanks On Fri, May 28, 2010 at 11:08 AM, Alexander Bisogiannis <[email protected]>wrote: > Well the error suggests that it tries to retrieve a package and fails the > checksum. > > I doudt that the file is corrupt at the pkg server, something else must be > giong on. > > Maybe IPS times out trying to retrieve the file. In general IPS gives > strange error messages that can put you off and think that the eror is > something else. > > > > On 05/28/2010 12:04 PM, Torbjorn Kristoffersen wrote: > > Sorry, but are you sure that will help. If I set up a local repo with the > same packages that are on pkg.opensolaris.org, then I can't see that it > will rid me of the chash failure. > > Regards, > > On Fri, May 28, 2010 at 10:36 AM, Alexander Bisogiannis < > [email protected]> wrote: > >> The only method available in OSOL is full zones. This means that the >> system must be able to contact a package repository. >> >> If pkg.opensolaris.org is not working for you, then you should setup a >> local repo. >> >> >> On 05/28/2010 11:32 AM, Torbjorn Kristoffersen wrote: >> >> I understand, but the only reason I asked for that kind of zone is because >> the standard zone doesn't seem to be working for me. I really just want a >> zone working, no matter which method is used. >> >> This is a completely clean OpenSolaris installation and I'm following >> all the documentation and tutorials on how to create a zone in OpenSolaris. >> >> Can anyone else please try creating a zone on their OpenSolaris (with >> brand=ipkg, which is default)? >> >> Thanks >> >> 2010/5/28 Alexander Bisogiannis <[email protected]> >> >>> On 05/28/2010 11:12 AM, Torbjorn Kristoffersen wrote: >>> >>> I am attempting to create a zone in OpenSolaris (build 134). I am using >>> Intel 64-bit hardware. First off, I create a ZFS filesystem /zones. Then I >>> create /zones/myzone. >>> >>> I then proceed to create a zone: >>> >>> # zonecfg -z myzone >>> myzone: No such zone configured >>> Use 'create' to begin configuring a new zone. >>> zonecfg:myzone> create >>> zonecfg:myzone> set zonepath=/zones/myzone >>> zonecfg:myzone> set autoboot=true >>> zonecfg:myzone> add net >>> zonecfg:myzone:net> set address=192.168.200.150/24 >>> zonecfg:myzone:net> set physical=atge0 >>> zonecfg:myzone:net> end >>> zonecfg:myzone> verify >>> zonecfg:myzone> commit >>> zonecfg:myzone> ^D >>> # zoneadm -z myzone1 install >>> A ZFS file system has been created for this zone. >>> Publisher: Using opensolaris.org (http://pkg.opensolaris.org/dev/ ). >>> Image: Preparing at /zones/myzone/root. >>> Sanity Check: Looking for 'entire' incorporation. >>> Installing: Core System (output follows) >>> DOWNLOAD PKGS FILES XFER (MB) >>> system/library 0/44 358/12305 20.3/85.9 >>> >>> >>> Errors were encountered while attempting to retrieve package or file >>> data for >>> the requested operation. >>> Details follow: >>> >>> Invalid content path lib/libcontract.so.1: chash failure: expected: >>> 227be8bcc7da8d9da239f0045b3c32d6a47995c4 computed: >>> 6eab81e511690cc353c0a4fd7d9ca28aa5acf293. (happened 4 times) >>> >>> ERROR: failed to install package >>> # >>> >>> >>> ... Will __highly__ appreciate any help with this. Isn't there a way >>> for the Zoneadm to install using files that already exist in the global >>> zone, instead of downloading packages from pkg.opensolaris.org ? >>> >>> Regards, >>> Torbjorn >>> >>> >>> _______________________________________________ >>> opensolaris-help mailing [email protected] >>> >>> OpenSolaris supports only full zones. What you ask for is called a >>> sparse zone, and it is only available in "normal" Solaris10. >>> >>> _______________________________________________ >>> opensolaris-help mailing list >>> [email protected] >>> >> >> >> > >
_______________________________________________ opensolaris-help mailing list [email protected]
