[OpenIndiana-discuss] can't install a new zone

Stephan Althaus Stephan.Althaus at Duedinghausen.eu
Sun Apr 10 20:07:42 UTC 2022


On 4/10/22 15:04, Andreas Wacknitz wrote:
> Am 10.04.22 um 14:57 schrieb Stephan Althaus:
>> On 4/10/22 14:29, Andreas Wacknitz wrote:
>>> Am 10.04.22 um 11:46 schrieb Andreas Wacknitz:
>>>> Am 10.04.22 um 11:23 schrieb Stephan Althaus:
>>>>> On 4/10/22 11:12, Stephan Althaus wrote:
>>>>>> On 4/10/22 10:52, Andreas Wacknitz wrote:
>>>>>>> Am 10.04.22 um 10:47 schrieb Stephan Althaus:
>>>>>>>> On 4/10/22 09:56, Andreas Wacknitz wrote:
>>>>>>>>> Am 09.04.22 um 18:38 schrieb Maurilio Longo via
>>>>>>>>> openindiana-discuss:
>>>>>>>>>> No problem Andreas,
>>>>>>>>>>
>>>>>>>>>> it is at 15370
>>>>>>>>>>
>>>>>>>>>> $ pkg info userland-incorporation
>>>>>>>>>>               Name: 
>>>>>>>>>> consolidation/userland/userland-incorporation
>>>>>>>>>>            Summary: userland consolidation incorporation
>>>>>>>>>> (consolidation/userland/userland-incorporation)
>>>>>>>>>>        Description: This incorporation constrains packages
>>>>>>>>>> from the
>>>>>>>>>> userland
>>>>>>>>>>                     consolidation
>>>>>>>>>>           Category: Meta Packages/Incorporations
>>>>>>>>>>              State: Installed
>>>>>>>>>>          Publisher: openindiana.org
>>>>>>>>>>            Version: 0.5.11
>>>>>>>>>>             Branch: 2022.0.0.15370
>>>>>>>>>>     Packaging Date: Sat Apr  9 09:53:00 2022
>>>>>>>>>> Last Install Time: Sun Oct 31 19:39:21 2021
>>>>>>>>>>   Last Update Time: Sat Apr  9 12:01:18 2022
>>>>>>>>>>               Size: 0.00 B
>>>>>>>>>>               FMRI:
>>>>>>>>>> pkg://openindiana.org/consolidation/userland/userland-incorporation@0.5.11-2022.0.0.15370:20220409T095300Z 
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Regards.
>>>>>>>>>>
>>>>>>>>>> Maurilio
>>>>>>>>>>
>>>>>>>>> I have investigated further and found out that we have some 
>>>>>>>>> actual
>>>>>>>>> problems with old packages that have been replaced in the past.
>>>>>>>>> The problems became imminent after illumos-gate has merged #14583
>>>>>>>>> developer/opensolaris/osnet requirements cleanup and after
>>>>>>>>> shrinking the
>>>>>>>>> repository.
>>>>>>>>> So far I have identified three:
>>>>>>>>>     file/slocate
>>>>>>>>>     runtime/java
>>>>>>>>>     service/network/ftp
>>>>>>>>> and replaced the fmri's with their replacements mlocate, openjdk8
>>>>>>>>> and
>>>>>>>>> proftpd.
>>>>>>>>> There might be more outdated fmri's left that need to be fixed,
>>>>>>>>> though.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> openindiana-discuss mailing list
>>>>>>>>> openindiana-discuss at openindiana.org
>>>>>>>>> https://openindiana.org/mailman/listinfo/openindiana-discuss
>>>>>>>>
>>>>>>>> Hi!
>>>>>>>>
>>>>>>>>
>>>>>>>> There are some packages mentioned that are not in "2022":
>>>>>>> This should not be a problem. They just haven't been build this 
>>>>>>> year
>>>>>>> yet. But you need to make sure that they are still in the
>>>>>>> repository,
>>>>>>> though.
>>>>>>> Eg. pkg info -r compress/bzip2 at 1.0.8-2020.0.1.0
>>>>>>> and are in the userland-incorporation meta package.
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>> # zoneadm -z bz-template install 2>&1 |grep 202|grep -v 2022
>>>>>>>>
>>>>>>>>  Reject:
>>>>>>>> pkg://openindiana.org/compress/bzip2@1.0.8-2020.0.1.0:20200330T113433Z 
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>  Reject:
>>>>>>>> pkg://openindiana.org/compress/gzip@1.11-2020.0.1.0:20210903T182240Z 
>>>>>>>>
>>>>>>>>
>>>>>>>>  Reject:
>>>>>>>> pkg://openindiana.org/compress/unzip@6.0-2020.0.1.5:20200330T113517Z 
>>>>>>>>
>>>>>>>>
>>>>>>>>  Reject:
>>>>>>>> pkg://openindiana.org/compress/zip@3.0-2020.0.1.1:20200615T163122Z
>>>>>>>>  Reject:
>>>>>>>> pkg://openindiana.org/database/berkeleydb-5@5.3.28-2020.0.1.0:20200330T113744Z 
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>  Reject:
>>>>>>>> pkg://openindiana.org/database/lmdb@0.9.23-2020.0.1.0:20200330T113744Z 
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>  Reject:
>>>>>>>> pkg://openindiana.org/entire@0.5.11-2020.0.1.0:20200330T151713Z
>>>>>>>>  Reject:
>>>>>>>> pkg://openindiana.org/library/libedit@3.1.20181209-2020.0.1.2:20200330T122131Z 
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>  Reject:
>>>>>>>> pkg://openindiana.org/library/libxml2@2.9.9-2020.0.1.5:20210117T220316Z 
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>  Reject:
>>>>>>>> pkg://openindiana.org/library/pcre2@10.39-2020.0.1.0:20211119T235734Z 
>>>>>>>>
>>>>>>>>
>>>>>>>>  Reject:
>>>>>>>> pkg://openindiana.org/network/ssh@8.1.0.1-2020.0.1.2:20200512T190142Z 
>>>>>>>>
>>>>>>>>
>>>>>>>>  Reject:
>>>>>>>> pkg://openindiana.org/runtime/perl-534@5.34.0-2021.0.0.0:20211229T151048Z 
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>  Reject:
>>>>>>>> pkg://openindiana.org/runtime/python-35@3.5.10-2020.0.1.0:20201014T142618Z 
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>  Reject:
>>>>>>>> pkg://openindiana.org/service/management/sysding@0.5.11-2020.0.1.33:20200521T214606Z 
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>  Reject:
>>>>>>>> pkg://openindiana.org/service/network/ssh@8.1.0.1-2020.0.1.2:20200512T190154Z 
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>  Reject:
>>>>>>>> pkg://openindiana.org/system/ca-certificates@0.0.1.20170919-2020.0.1.0:20200330T152439Z 
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>  Reject:
>>>>>>>> pkg://openindiana.org/system/library/gcc-7-runtime@7.5.0-2020.0.1.9:20210819T195607Z 
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Thank you for having a look at it!
>>>>>>>>
>>>>>>>> Stephan
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> openindiana-discuss mailing list
>>>>>>>> openindiana-discuss at openindiana.org
>>>>>>>> https://openindiana.org/mailman/listinfo/openindiana-discuss
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> openindiana-discuss mailing list
>>>>>>> openindiana-discuss at openindiana.org
>>>>>>> https://openindiana.org/mailman/listinfo/openindiana-discuss
>>>>>>
>>>>>> Hmm...
>>>>>>
>>>>>> gnu-tar is a pkg from 2020
>>>>>>
>>>>>> $ pkg search -l -H -o pkg.fmri 'depend:require:compress/gzip'
>>>>>> pkg:/install/distribution-constructor at 0.5.11-2022.0.0.1057:20220325T145842Z 
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> pkg:/metapackages/build-essential at 1.0-2022.0.0.1:20220117T192224Z
>>>>>> pkg:/archiver/gnu-tar at 1.34-2020.0.1.0:20210305T213236Z
>>>>>> pkg:/system/install at 0.5.11-2022.0.0.1057:20220325T150012Z
>>>>>>
>>>>>> From the manifest of gnu.tar: (source: pkg.openindiana.org/....)
>>>>>> dependfmri=pkg:/compress/gzip at 1.10-2020.0.1.0 type=require
>>>>>>
>>>>>> Maybe this type of dependency is the reason why the zone install
>>>>>> fails, as that required old gzip package is no more available...
>>>>>> ???
>>>>>> _______________________________________________
>>>>>> openindiana-discuss mailing list
>>>>>> openindiana-discuss at openindiana.org
>>>>>> https://openindiana.org/mailman/listinfo/openindiana-discuss
>>>>>
>>>>> Ah!
>>>>>
>>>>> The dependency in gnu-tar is not correct, because the version of gzip
>>>>> is mentioned:
>>>>>
>>>>> $ pkg search -l -H -o pkg.fmri,action.raw
>>>>> 'depend:require:compress/gzip'
>>>>> pkg:/install/distribution-constructor at 0.5.11-2022.0.0.1057:20220325T145842Z 
>>>>>
>>>>>
>>>>>
>>>>> depend fmri=compress/gzip type=require
>>>>> pkg:/metapackages/build-essential at 1.0-2022.0.0.1:20220117T192224Z
>>>>> depend fmri=compress/gzip type=require
>>>>> pkg:/archiver/gnu-tar at 1.34-2020.0.1.0:20210305T213236Z depend
>>>>> fmri=pkg:/compress/gzip at 1.10-2020.0.1.0 type=require
>>>>> pkg:/system/install at 0.5.11-2022.0.0.1057:20220325T150012Z depend
>>>>> fmri=compress/gzip type=require
>>>>>
>>>>> Only meta-packages like userland-incorporation (or maybe entire)
>>>>> should include the version,
>>>>> in gnu-tar it is too restrictive.
>>>>>
>>>>> Or am i wrong with my conclusion?
>>>> Yes, there is no distinction between meta packages and ordinary
>>>> packages. There are only different depend types. If a version is
>>>> supplied for a type=required that means @version or later.
>>>> So it is sufficient if any fmri is available not older than @version.
>>>> What you have in mind is type=incorporation.
>>>>
>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> openindiana-discuss mailing list
>>>>> openindiana-discuss at openindiana.org
>>>>> https://openindiana.org/mailman/listinfo/openindiana-discuss
>>>>
>>>>
>>>> _______________________________________________
>>>> openindiana-discuss mailing list
>>>> openindiana-discuss at openindiana.org
>>>> https://openindiana.org/mailman/listinfo/openindiana-discuss
>>> Can you update and try again? I have rebuild another package
>>> (system/mta) which was missing and prohibited the successful run of the
>>> distribution constructor.
>>>
>>> Andreas
>>>
>>> _______________________________________________
>>> openindiana-discuss mailing list
>>> openindiana-discuss at openindiana.org
>>> https://openindiana.org/mailman/listinfo/openindiana-discuss
>>
>> Hi!
>>
>> After a package update:
>>
>> # zoneadm -z bz-template uninstall
>> Are you sure you want to uninstall zone bz-template (y/[n])? y
>>
>> # zfs destroy -r rpool/zones/bz-template
>>
>> # zoneadm -z bz-template install -e build-essential
>> A ZFS file system has been created for this zone.
>> Sanity Check: Looking for 'entire' incorporation.
>>        Image: Preparing at /zones/bz-template/root.
>>
>>    Publisher: Using openindiana.org
>> (http://pkg.openindiana.org/hipster/).
>>    Publisher: Using hipster-encumbered
>> (https://pkg.openindiana.org/hipster-encumbered/).
>>        Cache: Using /var/pkg/publisher.
>>   Installing: Packages (output follows)
>>
>> pkg install: The following pattern(s) did not match any allowable
>> packages.  Try
>> using a different matching pattern, or refreshing publisher information:
>>
>>         pkg:/compress/gzip
>>         pkg:/system/file-system/autofs
>>         pkg:/service/network/ssh
>>         pkg:/developer/dtrace
>>         pkg:/compress/bzip2
>>         pkg:/SUNWcsd
>>         pkg:/shell/bash
>>         pkg:/editor/vim
>>         pkg:/naming/ldap
>>         pkg:/compress/unzip
>>         pkg:/package/pkg
>>         pkg:/system/network/routing
>>         pkg:/service/network/network-clients
>>         pkg:/text/doctools
>>         pkg:/network/dns/bind
>>         pkg:/system/file-system/nfs
>>         pkg:/service/management/sysding
>>         entire at 0.5.11-2020.0.1.0:20200330T151713Z
>>         pkg:/system/network/nis
>>         pkg:/network/ssh
>>         pkg:/system/network
>>         pkg:/compress/zip
>>         pkg:/developer/linker
>>         build-essential
>>         pkg:/network/ftp
>>         pkg:/system/extended-system-utilities
>>         pkg:/SUNWcs
>> ERROR: failed to install package
>>
>>
>> Without build-essential it works, so we are one step forward
> What errors do you get if you try to install build-essential afterwards?
>
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss

Hi!

I had to install the zone with exclusive ip to get network running in my 
constellation with nwam in the global zone.

After zone install, boot and net configuration i was able to install 
build-essential without errors.

Thanks!

Stephan





More information about the openindiana-discuss mailing list