pkgrecv 処理が中断された場合、-c オプションを使用して、すでにダウンロードされたコンテンツを取得し、コンテンツのダウンロードを再開します。転送が中断された場合、次の例に示すように、cache_dir の値が情報メッセージ内で提供されます。
PROCESS ITEMS GET (MB) SEND (MB)
...
pkgrecv: http protocol error: code: 503 reason: Service Unavailable
URL: 'https://pkg.oracle.com/solaris/support/file/file_hash
pkgrecv: Cached files were preserved in the following directory:
/var/tmp/pkgrecv-fOGaIg
Use pkgrecv -c to resume the interrupted download.
$ pkgrecv -c /var/tmp/pkgrecv-fOGaIg \
-s https://pkg.oracle.com/solaris/support -d /var/share/pkgrepos/solaris_tmp \
--key /path-to/key-file --cert /path-to/certificate-file '*'
Processing packages for publisher solaris ...
Retrieving and evaluating 156 package(s)...