Re: Overwrite bsd tar
On Fri, Sep 23, 2011 at 4:18 PM, Lowell Gilbert wrote: > If you want gnu tar, which based on the earlier messages in this thread > I think you do, you should install it. > > E.g.: > cd /usr/ports/archivers/gtar > (su if necessary) > make install > Being aware of the "XY Problem" and http://www.lemis.com/questions.html is always something a newbie should understand. -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Overwrite bsd tar
Esimorp E writes: > [prom@pcbsd-2112] /home/prom# ls -la /usr/bin/tar > lrwxr-xr-x 1 root wheel 6 Jul 18 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# > > Please, what would the best way to resolve this problem? If you want gnu tar, which based on the earlier messages in this thread I think you do, you should install it. E.g.: cd /usr/ports/archivers/gtar (su if necessary) make install ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Overwrite bsd tar
In the last episode (Sep 23), Esimorp E said: > Hi Bernt, > > Thank you for your reply. I had similar concern as well but I really > needed the globus toolkit and wouldn't mind if its the only that works on > the system. You never actaully said what the problem was. If it's a bug in bsdtar, I'm sure it could get fixed quickly given a sample tarfile. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Overwrite bsd tar
Hi, Damien, Thank you for your timely response. I tried your instruction but encountered an error which I think is due the initial errors I had as a result gtar that 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 1 root wheel 6 Jul 18 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# 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, > > 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 using > package and encountered error as shown below. > > [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/packages-8.1-release/Latest/tar.tbz: > File unavailable (e.g., file not found, no access) > pkg_add: unable to fetch > 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/tar.tbz' > by URL > > I would be grateful if anyone could help me out on how to overwrite bsd tar > with Gnu tar. > 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 1 root wheel 6 Feb 21 2011 /usr/bin/tar -> bsdtar -r-xr-xr-x 1 root wheel 62848 Feb 21 2011 /usr/bin/bsdtar # ls -la /usr/local/bin/gtar -r-xr-xr-x 1 root wheel 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-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Overwrite bsd tar
On Fri, Sep 23, 2011 at 12:12 PM, Esimorp E wrote: > Hi Bernt, > > Thank you for your reply. I had similar concern as well but I really needed > the globus toolkit and wouldn't mind if its the only that works on the > system. > > Please don't top post. See the mailing list expectations. As for your problem, perhaps you should learn the ports system to see how other packages with this dependency are dealt with instead of trying to do a a very poor hack that will result in further problems. -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Overwrite bsd tar
Hi Bernt, Thank you for your reply. I had similar concern as well but I really needed the globus toolkit and wouldn't mind if its the only that works on the system. --- On Fri, 9/23/11, Bernt Hansson wrote: From: Bernt Hansson Subject: Re: Overwrite bsd tar To: "Damien Fleuriot" Cc: freebsd-questions@freebsd.org Date: Friday, September 23, 2011, 1:58 PM 2011-09-23 14:07, Damien Fleuriot skrev: > On 9/23/11 2:04 PM, Bernt Hansson wrote: >> 2011-09-23 13:25, Esimorp E skrev: >>> >>> I would be grateful if anyone could help me out on how to overwrite >>> bsd tar with Gnu tar. >> >> Thats not a good idea. If you want to use gnu tar then gtar is the >> command for you. Or copy tar to tar.bsd and make a symlink tar> gtar. > > > Even worse, what's going to happen when some BSD specific software tries > to pass BSD specific options to gnutar ? A lot of unexpected things, that's the reason I wrote it wasn't a good idea. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Overwrite bsd tar
2011-09-23 14:07, Damien Fleuriot skrev: On 9/23/11 2:04 PM, Bernt Hansson wrote: 2011-09-23 13:25, Esimorp E skrev: I would be grateful if anyone could help me out on how to overwrite bsd tar with Gnu tar. Thats not a good idea. If you want to use gnu tar then gtar is the command for you. Or copy tar to tar.bsd and make a symlink tar> gtar. Even worse, what's going to happen when some BSD specific software tries to pass BSD specific options to gnutar ? A lot of unexpected things, that's the reason I wrote it wasn't a good idea. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Overwrite bsd tar
On 9/23/11 1:25 PM, Esimorp E wrote: > Dear all, > > 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 using > package and encountered error as shown below. > > [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/packages-8.1-release/Latest/tar.tbz: > File unavailable (e.g., file not found, no access) > pkg_add: unable to fetch > 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/tar.tbz' > by URL > > I would be grateful if anyone could help me out on how to overwrite bsd tar > with Gnu tar. > 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 1 root wheel 6 Feb 21 2011 /usr/bin/tar -> bsdtar -r-xr-xr-x 1 root wheel 62848 Feb 21 2011 /usr/bin/bsdtar # ls -la /usr/local/bin/gtar -r-xr-xr-x 1 root wheel 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-unsubscr...@freebsd.org"
Re: Overwrite bsd tar
On 9/23/11 2:04 PM, Bernt Hansson wrote: > 2011-09-23 13:25, Esimorp E skrev: >> >> I would be grateful if anyone could help me out on how to overwrite >> bsd tar with Gnu tar. > > Thats not a good idea. If you want to use gnu tar then gtar is the > command for you. Or copy tar to tar.bsd and make a symlink tar > gtar. Even worse, what's going to happen when some BSD specific software tries to pass BSD specific options to gnutar ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Overwrite bsd tar
2011-09-23 13:25, Esimorp E skrev: I would be grateful if anyone could help me out on how to overwrite bsd tar with Gnu tar. Thats not a good idea. If you want to use gnu tar then gtar is the command for you. Or copy tar to tar.bsd and make a symlink tar > gtar. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Overwrite bsd tar
Dear all, 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 using package and encountered error as shown below. [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/packages-8.1-release/Latest/tar.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/tar.tbz' by URL I would be grateful if anyone could help me out on how to overwrite bsd tar with Gnu tar. Best Regards, Morp. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"