Skip to content

proot error: execve("/usr/bin/bash"): No such file or directory #328

@zhizunbao84

Description

@zhizunbao84

i install termux-app_v0.119.0-beta.3+apt-android-5-github-debug_armeabi-v7a.apk on my android 6.0.
and pkg install proot to install proot 5.1.0.
i want to run bookworm(debian 12), and i run for test:

proot \
  -0 \
  -r mybookworm \
  -w /root \
  /bin/bash

i get error:

proot error: execve("/usr/bin/bash"): No such file or directory

i run with /bin/bash, why it tells me /usr/bin/bash?
/bin/bash and /usr/bin/bash are indeed in mybookworm.

even i test with:

proot \
  -0 \
  -r mybookworm \
  -w /root \
  /bin/sh

i get error:

proot error: execve("/usr/bin/sh"): No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions