[indiana-discuss] 2009.06 b106 zone install fails
Peter Karlsson
Peter.Karlsson at Sun.COM
Sun Feb 15 13:47:28 PST 2009
Shawn Walker wrote:
> Peter Karlsson wrote:
>> Hi,
>>
>> I'm trying to set up a zones on b106, however it fails during install
>> with the following message:
>>
>> hol at opensolaris:~$ pfexec zoneadm -z amp1 install
>> A ZFS file system has been created for this zone.
>> Authority: Using http://pkg.opensolaris.org/dev/.
>> Image: Preparing at /DC/zones/amp1/root ... done.
>> Cache: Using /var/pkg/download.
>> Installing: (output follows)
>>
>> pkg: pkg: The following pattern(s) did not match any packages in the
>> current
>> catalog. Try relaxing the pattern, refreshing and/or examining the
>> catalogs
>> pkg://opensolaris.org/entire@0.5.11,5.11-0.106:20090131T192440Z
>> <http://opensolaris.org/entire@0.5.11,5.11-0.106:20090131T192440Z>
>> failed to install package
>>
>> I'm using the dev repository:
>>
>> hol at opensolaris:~$ pkg authority
>> AUTHORITY URL
>> dev.opensolaris.org <http://dev.opensolaris.org> (preferred)
>> http://pkg.opensolaris.org/dev/
>> opensolaris.org <http://opensolaris.org>
>> http://pkg.opensolaris.org/release/
>>
>> And looking at the local version of the entire meta package, I get
>> the following FMRI:
>> hol at opensolaris:~$ pkg info -l entire
>> Name: entire
>> Summary: entire incorporation
>> State: Installed
>> Authority: opensolaris.org <http://opensolaris.org>
>> Version: 0.5.11
>> Build Release: 5.11
>> Branch: 0.106
>> Packaging Date: Sat Jan 31 19:24:40 2009
>> Size: 0.00 B
>> FMRI:
>> pkg://opensolaris.org/entire@0.5.11,5.11-0.106:20090131T192440Z
>> <http://opensolaris.org/entire@0.5.11,5.11-0.106:20090131T192440Z>
>>
>> But when looking in the actual repository, I get a different FMRI:
>> hol at opensolaris:~$ pkg info -r entire
>> Name: entire
>> Summary: entire incorporation
>> State: Installed
>> Authority: dev.opensolaris.org <http://dev.opensolaris.org>
>> Version: 0.5.11
>> Build Release: 5.11
>> Branch: 0.106
>> Packaging Date: Sat Jan 31 19:24:40 2009
>> Size: 0.00 B
>> FMRI: pkg:/entire at 0.5.11,5.11-0.106:20090131T192440Z
>>
>> Any ideas on what's going on here??
>
> Yes, the problem is that you can't change the authority you've
> installed from if you've setup zones:
>
> http://defect.opensolaris.org/bz/show_bug.cgi?id=4771
Hmm, I installed from the b106 live CD
>
>
> You can see this by the fact that it's attempting to install build 106
> packages from the opensolaris.org authority.
>
> The workaround for now will be to remove the dev.opensolaris.org
> authority and then change the origin_url of the opensolaris.org
> authority to point to http://pkg.opensolaris.org/dev. By the way,
> there is no such thing as dev.opensolaris.org.
I know, I just used that name for the dev repository.
I'll try to change the url for the opensolaris.org authority and try again.
Thanks,
Peter
>
>
> Cheers,
More information about the indiana-discuss
mailing list