From owner-freebsd-questions Fri May 1 00:09:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA11956 for freebsd-questions-outgoing; Fri, 1 May 1998 00:09:18 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from pathfinder.dfh.dk (pathfinder.dfh.dk [130.225.176.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA11948 for ; Fri, 1 May 1998 00:09:12 -0700 (PDT) (envelope-from tlp@dfh.dk) Received: from u-tlp (u-tlp.dfh.dk [130.225.177.226]) by pathfinder.dfh.dk (8.8.8/8.8.5) with SMTP id JAA24607; Fri, 1 May 1998 09:07:31 +0200 (CEST) Message-Id: <3.0.5.32.19980501090643.00989df0@pophost.dfh.dk> X-Sender: tlp@pophost.dfh.dk X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Fri, 01 May 1998 09:06:43 +0200 To: Johann Visagie From: "Thomas L. Pedersen" Subject: Re: Uncompresing a Linux archive Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: References: <35485AB7.22FE@dfh.dk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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