[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] /usr/libexec/rmt: No such file or directory
From: |
Sergey Poznyakoff |
Subject: |
Re: [Bug-tar] /usr/libexec/rmt: No such file or directory |
Date: |
Mon, 21 May 2007 16:07:05 +0300 |
Lawrence Houston <address@hidden> ha escrit:
> The Error Message reads as follows:
>
> bash: line 1: /usr/libexec/rmt: No such file or directory
The version of tar you use on the local mashine, and the
one installed on the remote machine disagree on the location of rmt
utility. It's default location changed in version 1.14. Here is
what the file NEWS states on this subject:
* By default tar searches "rmt" utility in "$prefix/libexec/rmt",
which is consistent with the location where the version of "rmt"
included in the package is installed. Previous versions of tar
used "/etc/rmt". To install "rmt" to its traditional location,
run configure with option --libexecdir=/etc. Otherwise, if you
already have rmt installed and wish to use it, instead of the
shipped in version, set the variable DEFAULT_RMT_COMMAND to
the full path name of the utility, e.g., ./configure
DEFAULT_RMT_COMMAND=/etc/rmt.
Notice also that the full path name of the "rmt" utility to
use can be set at runtime, by giving option --rmt-command to
tar.
[...]
> only Workaround which worked was adding the following to the Command
> Line:
>
> --rmt-command=/sbin/rmt
This is the right solution.
> Curiously a Softlink from "/usr/libexec/rmt" to "/sbin/rmt" does NOT
> work either!!!
This link must be made on the remote mashine.
Regards,
Sergey