Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 May 1998 09:06:43 +0200
From:      "Thomas L. Pedersen" <tlp@dfh.dk>
To:        Johann Visagie <wjv@cityip.co.za>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Uncompresing a Linux archive
Message-ID:  <3.0.5.32.19980501090643.00989df0@pophost.dfh.dk>
In-Reply-To: <E0yUvGE-00027Q-00@ns.cityip.co.za>
References:  <35485AB7.22FE@dfh.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
The original file is a bourne script but the extraction command is:

EXTRACTCMD="dd bs=10240 skip=1 if=${InstallPWD}/ws31gr 2>/dev/null |
uncompress | tar -xf -"

where as you can see the tar archive is copied from the installation file
and then uncompressed and untared. However it produces error message

-Thomas

At 17:28 30-04-98 +0200, you wrote:
>Thomas L. Pedersen wrote:
>>
>> Have have a Linix RedHat compressed and tarred archive which I want to
>> uncompress and untar on a FreeBSD 2.2.5 system. However I get the error
>> "file format incorret" when I try tar -xvzf filename
>
>When you say a "compressed and tarred archive", what format do you mean?  Is
>it a *.tar.gz or *.tgz or *.tar.Z, or is it maybe a RedHat package (*.rpm)
>file?
>
>If the latter, then you need to install rpm on FreeBSD - it's in the ports.
>
>It might also simply be that the file became corrupted somehow.
>
>-- V
>
>Johann Visagie | Email: wjv@CityIP.co.za | Tel: +27 21 419-7878
>
>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19980501090643.00989df0>