Pkgadd error: .... /usr/bin/cpio: invalid option -- D
Happy new year to you all. I am facing the problem with pkgadd. It was just
fine, but after installing some packages like cpio-2.4.2-sol8-sparc-local,
binutils-2.11.2-sol8-sparc-local,battlebots-1.0.0-sol8-sparc-local etc it became
problematic. All the pkgs fromhttp://sunfreeware.com/programlistsparc8.htm;
Here is the details of my prob:
bash-2.05# pkgadd -d xpm-3.4k-sol8-sparc-local
/usr/bin/cpio: invalid option -- D
Usage: /usr/bin/cpio {-o|--create} [-0acvABLV] [-C bytes] [-H format] [-M
message]
[-O [[user@]host:]archive] [-F [[user@]host:]archive]
[--file=[[user@]host:]archive] [--format=format] [--message=message]
[--null] [--reset-access-time] [--verbose] [--dot] [--append]
[--block-size=blocks] [--dereference] [--io-size=bytes] [--quiet]
[--force-local] [--help] [--version] < name-list [> archive]
/usr/bin/cpio {-i|--extract} [-bcdfmnrtsuvBSV] [-C bytes] [-E file] [-H
format]
[-M message] [-R [user][:.][group]] [-I [[user@]host:]archive]
[-F [[user@]host:]archive] [--file=[[user@]host:]archive]
[--make-directories] [--nonmatching] [--preserve-modification-time]
[--numeric-uid-gid] [--rename] [--list] [--swap-bytes] [--swap] [--dot]
[--unconditional] [--verbose] [--block-size=blocks] [--swap-halfwords]
[--io-size=bytes] [--pattern-file=file] [--format=format]
[--owner=[user][:.][group]] [--no-preserve-owner] [--message=message]
[--force-local] [--no-absolute-filenames] [--sparse] [--only-verify-crc]
[--quiet] [--help] [--version] [pattern...] [< archive]
/usr/bin/cpio {-p|--pass-through} [-0adlmuvLV] [-R [user][:.][group]]
[--null] [--reset-access-time] [--make-directories] [--link] [--quiet]
[--preserve-modification-time] [--unconditional] [--verbose] [--dot]
[--dereference] [--owner=[user][:.][group]] [--no-preserve-owner]
[--sparse] [--help] [--version] destination-directory < name-list
pkgadd: ERROR: attempt to process datastream failed
- process </usr/bin/cpio -icdumD -C 512> failed, exit code 2
pkgadd: ERROR: could not process datastream from
</soft/update/sunfree/xpm-3.4k-sol8-sparc-local>
I like to mention you that my HDD is not full.
bash-2.05# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 9873804 1693023 8082043 18% /
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
swap 496592 16 496576 1% /var/run
swap 496928 352 496576 1% /tmp
/dev/dsk/c0t0d0s3 1215126 1045635 108735 91% /soft
/dev/dsk/c0t0d0s7 7780717 9 7702901 1% /export/home
Please help me to solve this problem. I can install from *.tar.gz sources.
TIA
bashar

