{"action":"created","issue":{"url":"https://api.github.com/repos/meefik/linuxdeploy/issues/274","labels_url":"https://api.github.com/repos/meefik/linuxdeploy/issues/274/labels{/name}","comments_url":"https://api.github.com/repos/meefik/linuxdeploy/issues/274/comments","events_url":"https://api.github.com/repos/meefik/linuxdeploy/issues/274/events","html_url":"https://github.com/meefik/linuxdeploy/issues/274","id":104153229,"number":274,"title":"Cannot install kali","user":{"login":"MostafaSoliman","id":13528184,"avatar_url":"https://avatars.githubusercontent.com/u/13528184?v=3","gravatar_id":"","url":"https://api.github.com/users/MostafaSoliman","html_url":"https://github.com/MostafaSoliman","followers_url":"https://api.github.com/users/MostafaSoliman/followers","following_url":"https://api.github.com/users/MostafaSoliman/following{/other_user}","gists_url":"https://api.github.com/users/MostafaSoliman/gists{/gist_id}","starred_url":"https://api.github.com/users/MostafaSoliman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MostafaSoliman/subscriptions","organizations_url":"https://api.github.com/users/MostafaSoliman/orgs","repos_url":"https://api.github.com/users/MostafaSoliman/repos","events_url":"https://api.github.com/users/MostafaSoliman/events{/privacy}","received_events_url":"https://api.github.com/users/MostafaSoliman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-31T23:28:03Z","updated_at":"2015-09-02T14:14:33Z","closed_at":"2015-09-02T14:14:33Z","body":"please help, i have searched for 2 days on that problem wiz nothing.\r\n\r\nMy system:\r\nSamsung galaxy s tab sm-t805\r\nRooted\r\nAndroid 5.0.2\r\n\r\n\r\n\r\n\r\nEvery time i try to install kali i got this error \r\n![screenshot_2015-09-01-01-10-46](https://cloud.githubusercontent.com/assets/13528184/9592808/75063118-504f-11e5-905d-3b5fae744b35.png)\r\n\r\n\r\n\r\nThe following is the debug output:\r\n\r\nUpdating configuration file ... done\r\n+ export 'PATH=/data/data/ru.meefik.linuxdeploy/linux/env/bin:/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin'\r\n+ export 'LINUXDEPLOY_DIR=/data/data/ru.meefik.linuxdeploy/linux/env'\r\n+ /data/data/ru.meefik.linuxdeploy/linux/env/bin/linuxdeploy install\r\n+ msg >>> install\r\n+ echo >>> install \r\n+ >>> install \r\ninstall_system\r\n+ prepare_system\r\n+ msg -n Checking mount points ... \r\n+ echo -n Checking mount points ... \r\nChecking mount points ... + grep -c  /data/data/ru.meefik.linuxdeploy/linux/env/mnt  /proc/mounts\r\ndone \r\nChecking installation path ... done \r\nMaking new disk image (4000 MB) ... + local is_mnt=0\r\n+ [ 0 -eq 0 ]\r\n+ msg done\r\n+ echo done \r\n+ msg -n Checking installation path ... \r\n+ echo -n Checking installation path ... \r\n+ [ -e /storage/emulated/0/kali.img -a ! -f /storage/emulated/0/kali.img ]\r\n+ msg done\r\n+ echo done \r\n+ [ file = file ]\r\n+ [ 4000 -eq 0 ]\r\n+ msg -n Making new disk image (4000 MB) ... \r\n+ echo -n Making new disk image (4000 MB) ... \r\n+ set -e\r\n+ expr 4000 - 1\r\n+ dd if=/dev/zero of=/storage/emulated/0/kali.img bs=1048576 seek=3999 count=1\r\ndd: /storage/emulated/0/kali.img: Invalid argument\r\n+ dd if=/dev/zero of=/storage/emulated/0/kali.img bs=1048576 count=4000\r\n4000+0 records in\r\n4000+0 records out\r\n4194304000 bytes (3.9GB) copied, 76.135471 seconds, 52.5MB/s\r\ndone \r\n+ exit 0\r\n+ [ 0 -eq 0 ]\r\n+ msg done\r\n+ echo done \r\n+ [ file = file -o file = partition ]\r\n+ local fs_support=\r\n+ grep -c ext4 /proc/filesystems\r\nMaking file system (ext4) ... + [ 1 -gt 0 ]\r\n+ fs_support=ext4\r\n+ break\r\n+ [ -z ext4 ]\r\n+ [ auto = auto ]\r\n+ FS_TYPE=ext4\r\n+ msg -n Making file system (ext4) ... \r\n+ echo -n Making file system (ext4) ... \r\n+ set -e\r\n+ losetup+ grep -c /storage/emulated/0/kali.img -a\r\n\r\n+ true\r\n+ is_loop=0\r\n+ grep -c /storage/emulated/0/kali.img /proc/mounts\r\n+ true\r\n+ is_raw=0\r\n+ [ 0 -eq 0 -a 0 -eq 0 ]\r\n+ mke2fs -qF -t ext4 -O ^has_journal /storage/emulated/0/kali.img\r\next2fs_check_if_mount: Can't check if filesystem is mounted due to missing mtab file while determining whether /storage/emulated/0/kali.img is mounted.\r\n+ exit 0\r\ndone \r\nMounting partitions:  \r\n/ ... + [ 0 -eq 0 ]\r\n+ msg done\r\n+ echo done \r\n+ [ file = ram ]\r\n+ return 0\r\n+ [ 0 -ne 0 ]\r\n+ msg Mounting partitions: \r\n+ echo Mounting partitions:  \r\n+ mount_system root binfmt_misc\r\n+ [ 2 -eq 0 ]\r\n+ [ 2 -gt 1 ]\r\n+ mount_system root\r\n+ [ 1 -eq 0 ]\r\n+ [ 1 -gt 1 ]\r\n+ msg -n / ... \r\n+ echo -n / ... \r\n+ grep -c  /data/data/ru.meefik.linuxdeploy/linux/env/mnt  /proc/mounts\r\n+ local is_mnt=0\r\n+ [ 0 -eq 0 ]\r\n+ [ ! -d /data/data/ru.meefik.linuxdeploy/linux/env/mnt ]\r\n+ [ -d /storage/emulated/0/kali.img ]\r\n+ local mnt_opts=rw,relatime\r\n+ mount -o rw,relatime /storage/emulated/0/kali.img /data/data/ru.meefik.linuxdeploy/linux/env/mnt\r\n+ [ 0 -eq 0 ]\r\n+ msg done\r\n+ echodone \r\n done \r\n+ return 0\r\n+ [ 0 -eq 0 ]\r\n+ mount_system binfmt_misc\r\n+ [ 1 -eq 0 ]\r\n+ [ 1 -gt 1 ]\r\n+ local binfmt_dir=\r\n+ [ -d /proc/sys/fs/binfmt_misc ]\r\n/proc/sys/fs/binfmt_misc ... + binfmt_dir=/proc/sys/fs/binfmt_misc\r\n+ [ -n /proc/sys/fs/binfmt_misc ]\r\n+ msg -n /proc/sys/fs/binfmt_misc ... \r\n+ echo -n /proc/sys/fs/binfmt_misc ... \r\n+ mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc\r\nmount: mounting binfmt_misc on /proc/sys/fs/binfmt_misc failed: Device or resource busy\r\n+ get_platform\r\n+ local arch=\r\n+ [ -z  ]\r\n+ uname -m\r\n+ arch=armv7l\r\n+ echo arm\r\ndone \r\nInstalling Debian-based distribution:  \r\n+ local platform=arm\r\n+ [ ! -e /proc/sys/fs/binfmt_misc/qemu-i386 ]\r\n+ echo :qemu-i386:M::\\x7fELF\\x01\\x01\\x01\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x02\\x00\\x03\\x00:\\xff\\xff\\xff\\xff\\xff\\xfe\\xfe\\xff\\xff\\xff\\xff\\xff\\xff\\xff\\xff\\xff\\xfe\\xff\\xff\\xff:/usr/local/bin/qemu-i386-static:\r\n+ [ 0 -eq 0 ]\r\n+ msg done\r\n+ echo done \r\n+ return 0\r\n+ [ 0 -eq 0 ]\r\n+ return 0\r\n+ [ 0 -ne 0 ]\r\n+ msg Installing Debian-based distribution: \r\n+ echo Installing Debian-based distribution:  \r\n+ local basic_packages=locales,sudo,man-db\r\n+ [ -z  ]\r\n+ DEBOOTSTRAP_DIR=/data/data/ru.meefik.linuxdeploy/linux/env/deploy/debootstrap\r\n+ export DEBOOTSTRAP_DIR\r\n+ ash -e /data/data/ru.meefik.linuxdeploy/linux/env/bin/debootstrap --no-check-gpg --arch armhf --foreign --extractor=ar --include=locales,sudo,man-db sana /data/data/ru.meefik.linuxdeploy/linux/env/mnt http://http.kali.org/kali/\r\n/data/data/ru.meefik.linuxdeploy/linux/env/bin/debootstrap: line 354: tr: Permission denied\r\n<<< install \r\n+ [ 126 -ne 0 ]\r\n+ return 1\r\n+ msg <<< install\r\n+ echo <<< install \r\n+ exit 0\r\n\r\n\r\n\r\nfollowing the output of ls -l /data/data/ru..../linux/bin\r\n\r\n![screenshot_2015-09-01-01-22-46](https://cloud.githubusercontent.com/assets/13528184/9592875/7c21c9b6-5050-11e5-8786-00c293acac48.png)\r\n![screenshot_2015-09-01-01-22-36](https://cloud.githubusercontent.com/assets/13528184/9592878/919d0b98-5050-11e5-843b-d5f6844310d3.png)\r\n![screenshot_2015-09-01-01-22-24](https://cloud.githubusercontent.com/assets/13528184/9592885/a678a9f0-5050-11e5-8c03-635a26b77826.png)\r\n\r\n\r\nyour help will be highly appreciated.\r\n\r\nThanks\r\nMostafa."},"comment":{"url":"https://api.github.com/repos/meefik/linuxdeploy/issues/comments/137095812","html_url":"https://github.com/meefik/linuxdeploy/issues/274#issuecomment-137095812","issue_url":"https://api.github.com/repos/meefik/linuxdeploy/issues/274","id":137095812,"user":{"login":"MostafaSoliman","id":13528184,"avatar_url":"https://avatars.githubusercontent.com/u/13528184?v=3","gravatar_id":"","url":"https://api.github.com/users/MostafaSoliman","html_url":"https://github.com/MostafaSoliman","followers_url":"https://api.github.com/users/MostafaSoliman/followers","following_url":"https://api.github.com/users/MostafaSoliman/following{/other_user}","gists_url":"https://api.github.com/users/MostafaSoliman/gists{/gist_id}","starred_url":"https://api.github.com/users/MostafaSoliman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MostafaSoliman/subscriptions","organizations_url":"https://api.github.com/users/MostafaSoliman/orgs","repos_url":"https://api.github.com/users/MostafaSoliman/repos","events_url":"https://api.github.com/users/MostafaSoliman/events{/privacy}","received_events_url":"https://api.github.com/users/MostafaSoliman/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T14:14:33Z","updated_at":"2015-09-02T14:14:33Z","body":"HYG\r\n"}}