From owner-freebsd-questions@FreeBSD.ORG Fri Sep 23 17:34:38 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AA79106564A for ; Fri, 23 Sep 2011 17:34:38 +0000 (UTC) (envelope-from eesimorp@yahoo.com) Received: from nm9.bullet.mail.sp2.yahoo.com (nm9.bullet.mail.sp2.yahoo.com [98.139.91.79]) by mx1.freebsd.org (Postfix) with SMTP id 335B78FC0C for ; Fri, 23 Sep 2011 17:34:37 +0000 (UTC) Received: from [98.139.91.65] by nm9.bullet.mail.sp2.yahoo.com with NNFMP; 23 Sep 2011 17:34:37 -0000 Received: from [98.139.91.15] by tm5.bullet.mail.sp2.yahoo.com with NNFMP; 23 Sep 2011 17:33:37 -0000 Received: from [127.0.0.1] by omp1015.mail.sp2.yahoo.com with NNFMP; 23 Sep 2011 17:33:37 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 746175.40519.bm@omp1015.mail.sp2.yahoo.com Received: (qmail 354 invoked by uid 60001); 23 Sep 2011 17:33:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1316799217; bh=ffDAp197UzBRYhyUUjxWpAK3OPSn13o+KfcoEpTaBSA=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=s4rHgSQebDbk4yudVKjYSnU8oa7cKWKW4WEqcU6p2ixbYLIgmTtyWLnwu8agHZOXRrJEqCxRaBfp2svmMcrwhtPBo1xfqzPbycTgrGd9JdB4hFI4TxlMYsx7ExfyugCZqMyVrb6qDetce4X+S7B7Mg+q86kS2VBzxlwCpSnLawQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=HiyGC0u74RuKsIArFi+dMVskHEdAiz9GgR9WaVxe9JW5MVQ+AnrHnC+Aaj4wiZwVfHCntX0Ve3NWiGvxHELEjEp2f2bXOocYgBwVI+cLRh4L6KzpN/DkzcNh1i96TB/mPNydERUIIefCVv/ibNH5Q1myrVi1iJWZMPr6aYE6f7c=; X-YMail-OSG: IKrkzg0VM1kXnG1L0Te1W8YulI6H9UvBMVZL1_PlrofFZB6 cRdG8OJ42tz808xsB5uCSI8WcUvqfDdU19cqE2FHK63uMjUTQRALDfGlz1nY DOpuoAdwLy_hy.Xap3kJwaBoj8T79AfFwF.SLqBUhRrXygtDdJQlcR0qF0IE OqI.8eEFbl5Usl5bvn7ytBIGDMpFYutXahyOsLKLZA7K7y9oxUf5i_6DvO1W SS1H_NG8Nzd3N8zM_RnXMn3xeuTa9eUq79YMY5MbvDlOZ_mW00z8zBY.wzgx obrtFHRwjWLi6XRXhmyWeEOmzdn6cRKCbjyngsKqxKgTgevhfe4CA8UATd9Q 6aPWSnZI1rKMJc_4x5Q36i1f6esvcNftOKYPXwhw7VsgiYt.kVOni8uFleIF 9kJpjdEJQd2ZlR1I- Received: from [219.93.13.235] by web111820.mail.gq1.yahoo.com via HTTP; Fri, 23 Sep 2011 10:33:36 PDT X-Mailer: YahooMailClassic/14.0.5 YahooMailWebService/0.8.114.317681 Message-ID: <1316799216.98239.YahooMailClassic@web111820.mail.gq1.yahoo.com> Date: Fri, 23 Sep 2011 10:33:36 -0700 (PDT) From: Esimorp E To: freebsd-questions@freebsd.org, Damien Fleuriot In-Reply-To: <4E7C7789.3060504@my.gd> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Overwrite bsd tar X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2011 17:34:38 -0000 Hi, Damien, Thank you for your timely response. I tried your instruction but encountere= d an error which I think is due the initial errors I had as a result gtar t= hat couldn't install as either source or package. [prom@pcbsd-2112] ~> su Password: [prom@pcbsd-2112] /home/prom# ls -la /usr/bin/tar lrwxr-xr-x=A0 1 root=A0 wheel=A0 6 Jul 18=A0 2010 /usr/bin/tar -> bsdtar [prom@pcbsd-2112] /home/prom# ls -la /usr/local/bin/gtar ls: /usr/local/bin/gtar: No such file or directory [prom@pcbsd-2112] /home/prom#=20 Please, what would the best way to resolve this problem? --- On Fri, 9/23/11, Damien Fleuriot wrote: From: Damien Fleuriot Subject: Re: Overwrite bsd tar To: freebsd-questions@freebsd.org Date: Friday, September 23, 2011, 12:11 PM On 9/23/11 1:25 PM, Esimorp E wrote: > Dear all, >=20 > I tried installing GridFTP on Freebsd, had errors which a user group said= is due to bsd tar and I downloaded and installed Gnu tar which is required= but the command 'tar --version' still show bsd tar as the default. Tried u= sing package and encountered error as shown below. >=20 > [prom@pcbsd-2112] ~> tar --version > bsdtar 2.7.0 - libarchive 2.7.0 > [prom@pcbsd-2112] ~> su > Password: > [prom@pcbsd-2112] /home/prom# pkg_add -r tar > Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/package= s-8.1-release/Latest/tar.tbz: File unavailable (e.g., file not found, no ac= cess) > pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/pa= ckages-8.1-release/Latest/tar.tbz' by URL >=20 > I would be grateful if anyone could help me out on how to overwrite bsd t= ar with Gnu tar. >=20 Keep in mind that when you install a package or port, it installs to /usr/local/bin or /usr/local/sbin , not /usr/bin or /bin # ls -la /usr/bin/tar lrwxr-xr-x=A0 1 root=A0 wheel=A0 6 Feb 21=A0 2011 /usr/bin/tar -> bsdtar -r-xr-xr-x=A0 1 root=A0 wheel=A0 62848 Feb 21=A0 2011 /usr/bin/bsdtar # ls -la /usr/local/bin/gtar -r-xr-xr-x=A0 1 root=A0 wheel=A0 373664 Sep 23 14:10 /usr/local/bin/gtar _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org= "