Date: Fri, 23 Sep 2011 10:33:36 -0700 (PDT) From: Esimorp E <eesimorp@yahoo.com> To: freebsd-questions@freebsd.org, Damien Fleuriot <ml@my.gd> Subject: Re: Overwrite bsd tar Message-ID: <1316799216.98239.YahooMailClassic@web111820.mail.gq1.yahoo.com> In-Reply-To: <4E7C7789.3060504@my.gd>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <ml@my.gd> wrote: From: Damien Fleuriot <ml@my.gd> 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= "
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1316799216.98239.YahooMailClassic>