linuxdeploy icon indicating copy to clipboard operation
linuxdeploy copied to clipboard

E: The selected extractor cannot be found: ar

Open suspy69 opened this issue 10 years ago • 37 comments

Hello. I'm using version 1.5.4-181 on an Xperia T3 with android 4.4.4.

I'm trying to deploy kali Linux. After successfully mounting on the external sd, I get the following error: E: The selected extractor cannot be found: ar

Any thoughts?

suspy69 avatar Dec 10 '15 17:12 suspy69

Install this BusyBox

meefik avatar Dec 10 '15 17:12 meefik

I've already installed this Busybox https://play.google.com/store/apps/details?id=stericson.busybox

When I try to install meefik's Busybox, I get the following error: Remounting /system to rw ... fail.

Of course I'm routed ;)

suspy69 avatar Dec 10 '15 17:12 suspy69

BusyBox stericson not supported ar and other required functions.

meefik avatar Dec 10 '15 18:12 meefik

I'll try to remove it and add meefik's. Thank you for your help.

suspy69 avatar Dec 10 '15 18:12 suspy69

Please, enable debug mode from BusyBox settings and put logs here. My be need to reboot the device. Also your can install BB from recovery via zip archive.

meefik avatar Dec 10 '15 18:12 meefik

INSTALL BUSYBOX

  • PATH=/data/data/ru.meefik.busybox/files/bin:/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
  • INSTALL_DIR=/system/xbin
  • INSTALL_APPLETS=true
  • REPLACE_APPLETS=false
  • . /data/data/ru.meefik.busybox/files/scripts/install.sh
  • busybox printf /system/xbin
  • busybox grep -c ^/system/
  • SYSTEM_REMOUNT=1
  • busybox test 1 -ne 0
  • busybox printf Remounting /system to rw ...
  • busybox mount -o rw,remount /system Remounting /system to rw ... mount: permission denied (are you root?)
  • busybox test 1 -eq 0
  • busybox printf fail\n fail
  • exit 1 .

suspy69 avatar Dec 10 '15 18:12 suspy69

The application requests a superuser permissions?

meefik avatar Dec 10 '15 18:12 meefik

Yes. I grant it, but I get the error.

suspy69 avatar Dec 10 '15 18:12 suspy69

Strangely, you can try installing from recovery. Or manually (from Android terminal) copy busybox from /data/data/ru.meefik.busybox/files/bin/busybox to /system/xbin and execute /system/xbin/busybox --install -s /system/xbin

meefik avatar Dec 10 '15 18:12 meefik

It's at /data/data/ru.meefik.linuxdeploy/linux/bin/busybox but I cannot copy it due to permissions :/ I'll try to remove root and add it again and I'll let you know

suspy69 avatar Dec 10 '15 18:12 suspy69

Ok. This worked. Thank you very much for your help.

suspy69 avatar Dec 10 '15 19:12 suspy69

Same issue. Is there a way to provide an updated version that works around the issue of the new busybox not working?

mascondante avatar Dec 29 '15 04:12 mascondante

If system BusyBox not working:

  1. Install compatible BusyBox (https://github.com/meefik/busybox/releases)
  2. Run BusyBox app.
  3. Run Linux Deploy app and change "Settings -> BusyBox directory" to /data/data/ru.meefik.busybox/files/bin
  4. Run "Settings -> Update ENV".

meefik avatar Dec 29 '15 07:12 meefik

I dont have problem installing Fedora but Ubunu says"Cannot install into target '/data/local/linux' mounted with noexec or nodev"

okumedia avatar Jan 03 '16 23:01 okumedia

Meefik's most recent comment worked for me on Galaxy SMG900P. side note: make sure you are trying to install to a file, as directory install did not work for me after using this fix.

kmanbxv avatar Jan 17 '16 22:01 kmanbxv

i have the same problem the selcted extractor cannot be found how to solve it???

akhileshverma avatar Jan 18 '16 16:01 akhileshverma

lmki On Dec 29, 2015 2:34 AM, "Anton Skshidlevsky" [email protected] wrote:

The latest version of Linux Deploy requires compatible BusyBox: https://github.com/meefik/busybox/releases https://play.google.com/store/apps/details?id=ru.meefik.busybox Previous versions: https://github.com/meefik/linuxdeploy/releases

If system BusyBox not working:

  1. Install compatible BusyBox (https://github.com/meefik/busybox/releases)
  2. Run BusyBox app.
  3. Run Linux Deploy app and change "Settings -> BusyBox directory" to /data/data/ru.meefik.busybox/files/bin

— Reply to this email directly or view it on GitHub.

mascondante avatar Jan 19 '16 17:01 mascondante

i am unable to install it please help me i am getting this error E: The selected extractor cannot be found: ar my mobile is rooted, busybox installed screenshot_2016-02-05-13-58-49

girisgc avatar Feb 05 '16 09:02 girisgc

Oh,try it --- make the dir named system at root dir be 'read and write'

ghost avatar Feb 12 '16 16:02 ghost

I had the same problem as suspy69. meefik's version of busybox resolved my issue.

TH30PH4CK3R avatar Mar 22 '16 16:03 TH30PH4CK3R