From owner-freebsd-ports@FreeBSD.ORG Tue Nov 18 08:26:46 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB85F16A4CE for ; Tue, 18 Nov 2003 08:26:46 -0800 (PST) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2C6643FDD for ; Tue, 18 Nov 2003 08:26:45 -0800 (PST) (envelope-from ljwu@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id ; Tue, 18 Nov 2003 11:26:44 -0500 Message-ID: From: Loh John Wu To: "'freebsd-ports@freebsd.org'" Date: Tue, 18 Nov 2003 11:26:43 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Subject: how to get freeBSD 5.1 pkg_add to install .tgz files X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 16:26:46 -0000 Hello, This is my first time using FreeBSD 5.1 and I noticed that pkg_add has changed in that it requires a bzip2 file? Does it not support gzip files anymore? TPC-C3-27# pkg_add -r -v ftp://fbsd-ftp/pub/FreeBSD/ports/i386/packages-4-stable/All/bash-2.05a.tgz looking up fbsd-ftp connecting to fbsd-ftp:21 setting passive mode opening data connection initiating transfer Fetching ftp://fbsd-ftp/pub/FreeBSD/ports/i386/packages-4-stable/All/bash-2.05a. tgz...bzip2: (stdin) is not a bzip2 file. tar: Child died with signal 13 tar: Error exit delayed from previous errors Broken pipe I read through the pkg_add man pages on 5.1 but I'm unable to find an option that can let me specify the zip method for the package. pkg_create allows you to specify which type of zip utility you want to use and it says "Currently pkg_create recognizes the following suffixes: .tbz, .tgz and .tar." so I'm mystified about why the 5.1 pkg_add is complaining about a .tgz package? So I'm wondeirng how can I get pkg_add to work with the old tgz-style packages? Also, the man pages for pkg_add on 5.1 has this link which doesn't work (i.e. file not on ftp server) "ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/packages/shells/bash-1.14.7.tbz)." Thanks in advance, John