My Oracle Support Banner

Pkgrecv Fails with MemoryError (Doc ID 2920126.1)

Last updated on JANUARY 15, 2023

Applies to:

Solaris Operating System - Version 11.4 and later
Information in this document applies to any platform.


pkgrecv error similar to:

# pkgrecv -s http://<HOSTNAME>:<PORT>/ -d <REPOSITORY_PATH>  -m all-timestamps '*'
Processing packages for publisher solaris ...
Retrieving and evaluating 82642 package(s)...
Download Manifests (29708/82642) -Traceback (most recent call last):
  File "/usr/bin/pkgrecv", line 1741, in <module>
    __ret = main_func()
  File "/usr/bin/pkgrecv", line 576, in main_func
    return transfer_pkgs(*args)
  File "/usr/bin/pkgrecv", line 1445, in transfer_pkgs
    m = get_manifest(f, xport_cfg, validate=True)
  File "/usr/bin/pkgrecv", line 246, in get_manifest
    m = xport.get_manifest(pfmri)
  File "/usr/lib/python3.7/vendor-packages/pkg/client/transport/", line 533, in wrapper
    return f(instance, *fargs, **f_kwargs)
  File "/usr/lib/python3.7/vendor-packages/pkg/client/transport/", line 1373, in get_manifest
  File "/usr/lib/python3.7/vendor-packages/pkg/", line 1611, in __init__
    if self.__storeback():
  File "/usr/lib/python3.7/vendor-packages/pkg/", line 1658, in __storeback
  File "/usr/lib/python3.7/vendor-packages/pkg/", line 2000, in store
    super(FactoredManifest, self).store(mfst_path)
  File "/usr/lib/python3.7/vendor-packages/pkg/", line 1395, in store
  File "/usr/lib/python3.7/vendor-packages/pkg/", line 198, in tostr_unsorted
    return "".join((l for l in self.as_lines()))



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.