Moloko Monyepao writes: > I have a RedHat 7.2 linux system using CTC for network. When I try to > install the OCO module downloaded from ibm developers site I get the > following error: > > root@lnx1 patch]# tar -xzof redhat-oco-2.4.9-17-s390-2.tar.gz > redhat-oco/redhat-oco-2.4.9-17-2.tar.gz | tar -C / -xzf - lib > > gzip: stdin: unexpected end of file > tar: Child returned status 1 > tar: lib: Not found in archive > tar: Error exit delayed from previous errors
That's the wrong syntax for tar. The first one is trying to extract the archive (and hence not writing anything to stdout) whereas you seem to be expecting something on stdout because you're piping it to another tar instance that's reading from stdin: "-f -". That second instance just reads EOF and so complains that it can't extract the "lib" subdirectory that you asked it to. The second filename (redhat-oco/redhat....tar.gz) on your first tar command is also superfluous. What exactly are you trying to do? --Malcolm -- Malcolm Beattie <[EMAIL PROTECTED]> Linux Technical Consultant IBM EMEA Enterprise Server Group... ...from home, speaking only for myself
