Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find "install" command under /{bin,sbin,tools,lkp-exec}/ on raspberrypi #121

Open
Ankita-020696 opened this issue Jan 17, 2022 · 1 comment

Comments

@Ankita-020696
Copy link

Hi,
I am facing following error on raspberrypi.

/lkp-tests# lkp install
readlink: invalid option -- 'e'
BusyBox v1.34.1 () multi-call binary.

Usage: readlink [-fnv] FILE
BusyBox v1.34.1 () multi-call binary.

Usage: dirname FILENAME
BusyBox v1.34.1 () multi-call binary.

Usage: dirname FILENAME
Cannot find "install" command under /{bin,sbin,tools,lkp-exec}/

What could be the reason?

Thanks

@xilabao
Copy link

xilabao commented Jan 27, 2022

the command in busybox is different with the normal one.

$ bash -c "readlink --help"
Usage: readlink [OPTION]... FILE...
Print value of a symbolic link or canonical file name

  -f, --canonicalize            canonicalize by following every symlink in
                                every component of the given name recursively;
                                all but the last component must exist
  -e, --canonicalize-existing   canonicalize by following every symlink in
                                every component of the given name recursively,
                                all components must exist
  -m, --canonicalize-missing    canonicalize by following every symlink in
                                every component of the given name recursively,
                                without requirements on components existence
  -n, --no-newline              do not output the trailing delimiter
  -q, --quiet
  -s, --silent                  suppress most error messages (on by default)
  -v, --verbose                 report error messages
  -z, --zero                    end each output line with NUL, not newline
      --help     display this help and exit
      --version  output version information and exit

GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
Full documentation <https://www.gnu.org/software/coreutils/readlink>
or available locally via: info '(coreutils) readlink invocation'

$ busybox readlink
BusyBox v1.30.1 (Ubuntu 1:1.30.1-6ubuntu3.1) multi-call binary.

Usage: readlink [-fnv] FILE

Display the value of a symlink

        -f      Canonicalize by following all symlinks
        -n      Don't add newline
        -v      Verbose

@rli9 rli9 changed the title Cannot find "install" command under /{bin,sbin,tools,lkp-exec}/ Cannot find "install" command under /{bin,sbin,tools,lkp-exec}/ on raspberrypi Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants