Hello Sven

sorry, but it looks like I puzzled up the systems
I was testing on Solaris 11.4, 11.3 and OpenIndiana

I tried to receive the data again and got the following Error:
# pkgrecv -v -r -s https://pkg.oracle.com/solaris/support -d
/ips/sol11-4/ --key
/export/home/mech/Downloads/Oracle_Solaris_11_Support.key.pem --cert
/export/home/mech/Downloads/Oracle_Solaris_11_Support.certificate.pem
[email protected]
Processing packages for publisher solaris ...

pkgrecv: The following pattern(s) did not match any packages:
        [email protected]

# pkg set-publisher -k
/export/home/mech/Downloads/Oracle_Solaris_11_Support.key.pem -c
/export/home/mech/Downloads/Oracle_Solaris_11_Support.certificate.pem -g
https://pkg.oracle.com/solaris/support -G "*" solaris
pkg: 0/1 catalogs successfully updated:

  Invalid contentpath /var/pkg/cache/incoming-1882/catalog.summary.C:
CatalogPart failed validation: The signature data for the
'/var/pkg/cache/incoming-1882/catalog.summary.C' catalog file is not
valid.. (happened 4 times)

with the clone option I get the same message:
# pkgrecv -v -r -s https://pkg.oracle.com/solaris/support/ --clone -d
/ips/sol11-4/ --key
/export/home/mech/Downloads/Oracle_Solaris_11_Support.key.pem --cert
/export/home/mech/Downloads/Oracle_Solaris_11_Support.certificate.pem -p
solaris
Adding publisher solaris ...
Processing packages for publisher solaris ...
No packages to add.

I think, that the problem looks like OpenIndiana does not get a package
list from repo
e.g. on s11.3:
# pkgrepo list -s http://S0000:8282 entire
PUBLISHER NAME                                          O VERSION
solaris   entire                                         
11.4,5.11-11.4.22.0.1.69.4:20200604T171104Z
solaris   entire                                         
11.4,5.11-11.4.20.0.1.4.0:20200326T172932Z
solaris   entire                                         
11.4,5.11-11.4.19.0.1.3.0:20200303T183840Z
solaris   entire                                         
11.4,5.11-11.4.0.0.1.15.0:20180817T004203Z

On OpenIndiana:
# pkgrepo list -s http://S0000:8282 entire
PUBLISHER NAME                                          O VERSION
pkgrepo list: The following pattern(s) did not match any packages:
        entire


So I guess I mixed up the terminals (you never should test something in
hurry ... :-()
Sorry for the noise and happy updating
Best Regards
Christian

On 29/06/2020 17:46, Sven Schmeling wrote:
> Hello Christian,
>
> sorry for the late answer.
> Too busy with updating our T5- , LDOMs and zones environment.
>
> Today i have updated the os for the Repository-zones (Updates from
> 2020-06-24) but the download does not work furthermore.
>
> In both cases i started the "pkgrecv" with an empty repository.
> - "pkgrecv" stopped without an error after downloading the catalog.
>   During the download i can see following files in the tmp-dir:
>
> ---- snip ----
>
> root@olga5153:/var/tmp# l
> pkgrecv-3uw8a_p1/origins/cea16fd9c5738650546b09da18f7a0b8d11b3b6b/tmpr9s4pub7/
> total 122565
> drwx------   2 root     root           5 Jun 29 17:01 ./
> drwxr-xr-x   3 root     root           3 Jun 29 16:55 ../
> -rw-r--r--   1 root     root        4218 Jun 11 02:28 catalog.attrs
> -rw-r--r--   1 root     root     4603215 Jun 11 02:28 catalog.base.C
> -rw-r--r--   1 root     root     58060076 Jun 11 02:28 catalog.dependency.C
>
> ---- snip end ----
>
> It looks like this is the catalog which include the sru22 Packages
> (2020-06-11) ??
>
> - "pkgrecv" with option"--clone"
> Stopped after downloading with "No packages to add."
>
> Last week i created a test-zone on a Solaris 11.4 server and try to
> download the srus there. That works.
>
> How did you download the sru22 on hipster ?
>
> Regards
> Sven
>
>
> Am 22.06.20 um 17:48 schrieb Christian Meier:
>> Hello Sven
>>
>> could you solve this issue?
>> I could receive entire of sru22 with latest OI bits today
>> Best Regards
>> Christian
>>
>> On 29/05/2020 12:00, Sven Schmeling wrote:
>>> Hello,
>>>
>>> in our company we use 2 zones to hold the repositories for Solaris and
>>> Openindiana/Hipster-systems.
>>>
>>> The 2 servers are running with Openindiana/Hipster.
>>>
>>> For downloading i use a script:
>>>
>>> Solaris SRU part:
>>> --- snip ---
>>>
>>> ...
>>> pkgrecv -s https://pkg.oracle.com/solaris/support
>>> <https://pkg.oracle.com/solaris/support/> -d
>>> file:///var/share/pkg/repositories/solaris-clone --cert
>>> /var/pkg5mirror/pkg.oracle.com.certificate.pem --key
>>> /var/pkg5mirror/pkg.oracle.com.key.pem '*'
>>> ...
>>>
>>> --- snip ---
>>>
>>> All worked fine until 2020-05-07 (including SRU 20)
>>> At this day the servers (and zones) were updated.
>>>
>>> Now the "pkgrecv" stop without an error after downloading the catalog.
>>> => $? =>  0
>>>
>>> A "pkcrecv" with the option "--clone" end with:
>>> Adding publisher solaris ...
>>> Processing packages for publisher solaris ...
>>> No packages to add.
>>>
>>> -----
>>>
>>> Information:
>>>
>>> beadm list:
>>> BE                     Active Mountpoint     Space   Policy Created
>>> openindiana            -      -              8.50M   static 2016-09-08 18:56
>>> openindiana-1          -      -              995.15M static 2016-10-12 13:18
>>> openindiana-2          -      -              9.02M   static 2016-10-12 13:21
>>> openindiana-3          -      -              15.51M  static 2017-02-21 14:06
>>> openindiana-4          -      -              8.49M   static 2017-06-15 09:15
>>> openindiana-5          -      -              7.66M   static 2019-04-16 13:19
>>> openindiana-2019:09:05 -      /mnt           16.61M  static 2019-09-05 15:08
>>> openindiana-2020:05:07 NR     /              33.43G  static 2020-05-07
>>> 12:12
>>>
>>>
>>> -----
>>>
>>> pkg info pkg:
>>>                 Name: package/pkg
>>>              Summary: Image Packaging System
>>>          Description: The Image Packaging System (IPS), or pkg(5), is the
>>>                       software delivery system used on OpenIndiana.  This
>>>                       package contains the core command-line components and
>>>                       pkg.depotd server.
>>>             Category: System/Packaging
>>>                State: Installed
>>>            Publisher: openindiana.org
>>>              Version: 0.5.11
>>>               Branch: 2020.0.1.5533
>>>       Packaging Date: Mon Mar 30 04:07:40 2020
>>>    Last Install Time: Tue Feb 21 13:08:03 2017
>>>     Last Update Time: Thu May  7 10:20:08 2020
>>>                 Size: 14.30 MB
>>>                 FMRI:
>>> pkg://openindiana.org/package/[email protected]:20200330T040740Z
>>> Repository Changeset: a051dce4
>>>
>>>           Source URL: https://github.com/OpenIndiana/pkg5/
>>>
>>> -----
>>>
>>> zfs list:
>>> NAME  
>>>                                                                         
>>> USED 
>>> AVAIL  REFER  MOUNTPOINT
>>> localstripe                                                                 
>>>   
>>> 701G   637G  28.2K  /localstripe
>>> localstripe/applications                
>>>                                      6.76G   637G  34.9K 
>>> /localstripe/applications
>>> localstripe/applications/olga5153                                           
>>>  
>>> 34.9K   637G  34.9K  /localstripe/applications/olga5153
>>> localstripe/zones                    
>>>                                          693G   637G  34.9K 
>>> /localstripe/zones
>>> localstripe/zones/olga5153                                                  
>>>   
>>> 668G   637G  34.9K  /localstripe/zones/olga5153
>>> localstripe/zones/olga5153/ROOT                 
>>>                               668G   637G  34.9K  legacy
>>> localstripe/zones/olga5153/ROOT/VARSHARE                                    
>>>   
>>> 535G   637G  34.9K  legacy
>>> localstripe/zones/olga5153/ROOT/VARSHARE/pkg                                
>>>   
>>> 535G   637G  34.9K  legacy
>>> localstripe/zones/olga5153/ROOT/VARSHARE/pkg/repositories                   
>>>   
>>> 535G   637G  38.2K  /var/share/pkg/repositories
>>> localstripe/zones/olga5153/ROOT/VARSHARE/pkg/repositories/IPSpkgrepos       
>>>  
>>> 91.5G   637G  91.5G  /var/share/pkg/repositories/IPSpkgrepos
>>> localstripe/zones/olga5153/ROOT/VARSHARE/pkg/repositories/bits-extra        
>>>  
>>> 43.5M   637G  43.5M  /var/share/pkg/repositories/bits-extra
>>> localstripe/zones/olga5153/ROOT/VARSHARE/pkg/repositories/bits-extra-oi     
>>>  
>>> 6.55M   637G  6.55M  /var/share/pkg/repositories/bits-extra-oi
>>> localstripe/zones/olga5153/ROOT/VARSHARE/pkg/repositories/hipster           
>>>   
>>> 121G   637G   115G  /var/share/pkg/repositories/hipster
>>> localstripe/zones/olga5153/ROOT/VARSHARE/pkg/repositories/hipster-encumbered
>>>  
>>> 1.16G   637G  1.16G  /var/share/pkg/repositories/hipster-encumbered
>>> localstripe/zones/olga5153/ROOT/VARSHARE/pkg/repositories/openindiana       
>>>  
>>> 35.7K   637G  35.7K  /var/share/pkg/repositories/openindiana
>>> localstripe/zones/olga5153/ROOT/VARSHARE/pkg/repositories/solaris           
>>>   
>>> 155G   637G   154G  /var/share/pkg/repositories/solaris
>>> localstripe/zones/olga5153/ROOT/VARSHARE/pkg/repositories/solaris-clone     
>>>  
>>>    0G   637G   154G  /var/share/pkg/repositories/solaris-clone
>>> localstripe/zones/olga5153/ROOT/VARSHARE/pkg/repositories/solaris-old       
>>>   
>>> 154G   637G   154G  /var/share/pkg/repositories/solaris-old
>>> localstripe/zones/olga5153/ROOT/export                                      
>>>   
>>> 131K   637G  34.9K  /export
>>> localstripe/zones/olga5153/ROOT/export/home                                 
>>>  
>>> 96.3K   637G  40.7K  /export/home
>>> localstripe/zones/olga5153/ROOT/export/home/localadm                        
>>>  
>>> 55.6K   637G  55.6K  /export/home/localadm
>>> localstripe/zones/olga5153/ROOT/nginx-docroot                               
>>>   
>>> 351K   637G   351K  /var/nginx/docroot
>>> localstripe/zones/olga5153/ROOT/zbe                                         
>>>  
>>> 34.5M   637G  13.0G  legacy
>>> localstripe/zones/olga5153/ROOT/zbe-1                                       
>>>  
>>> 5.39M   637G   119G  legacy
>>> localstripe/zones/olga5153/ROOT/zbe-2                                    
>>>     28.2M   637G   121G  legacy
>>> localstripe/zones/olga5153/ROOT/zbe-3                                       
>>>   
>>> 133G   637G  6.06G  legacy
>>>
>>>
>>> -----
>>>
>>>  
>>> prtconf | grep Memory
>>> Memory size: 16384 Megabytes
>>>
>>>
>>> -----
>>>
>>> Using a Solaris 11.4 server for downloading the sru21 seems to work:
>>>
>>> root@solaris11:~# pkgrecv -v -s https://pkg.oracle.com/solaris/support
>>> -d /var/share/pkg/repositories/solaris-clone --cert
>>> /var/pkg5mirror/pkg.oracle.com.certificate.pem --key
>>> /var/pkg5mirror/pkg.oracle.com.key.pem '*'
>>> Processing packages for publisher solaris ...
>>> Retrieving and evaluating 36851 package(s)...
>>> *Download Manifests (15201/36851)*
>>>
>>> -----
>>>
>>>
>>> Is the someone who has the same problem?
>>>
>>> Regards
>>>
>>> Sven
>>>
>>>
>>> _______________________________________________
>>> openindiana-discuss mailing list
>>> [email protected]
>>> https://openindiana.org/mailman/listinfo/openindiana-discuss
>> _______________________________________________
>> openindiana-discuss mailing list
>> [email protected]
>> https://openindiana.org/mailman/listinfo/openindiana-discuss

_______________________________________________
openindiana-discuss mailing list
[email protected]
https://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to