Pkgrecv Fails with MemoryError
(Doc ID 2920126.1)
Last updated on JANUARY 15, 2023
Applies to:
Solaris Operating System - Version 11.4 and laterInformation in this document applies to any platform.
Symptoms
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/transport.py", line 533, in wrapper
return f(instance, *fargs, **f_kwargs)
File "/usr/lib/python3.7/vendor-packages/pkg/client/transport/transport.py", line 1373, in get_manifest
pathname=self.cfg.get_pkg_pathname(fmri))
File "/usr/lib/python3.7/vendor-packages/pkg/manifest.py", line 1611, in __init__
if self.__storeback():
File "/usr/lib/python3.7/vendor-packages/pkg/manifest.py", line 1658, in __storeback
self.store(self.pathname)
File "/usr/lib/python3.7/vendor-packages/pkg/manifest.py", line 2000, in store
super(FactoredManifest, self).store(mfst_path)
File "/usr/lib/python3.7/vendor-packages/pkg/manifest.py", line 1395, in store
mfile.write(self.tostr_unsorted())
File "/usr/lib/python3.7/vendor-packages/pkg/manifest.py", line 198, in tostr_unsorted
return "".join((l for l in self.as_lines()))
MemoryError
Cause
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
Symptoms |
Cause |
Solution |
References |