You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.
chroot: exec /bin/bash: No such file or directory after step https://github.com/joelagnel/adeb/blob/master/BCC.md#build-bcc-during-adeb-install-optional
#17
Open
CavemanWork opened this issue
Jan 27, 2019
· 0 comments
real 8m3.377s
user 0m29.522s
sys 0m11.618s
umount: /tmp/tmp.THkf5av3D6/debian/proc/sys/fs/binfmt_misc: not found
umount: /tmp/tmp.THkf5av3D6/debian/proc: not found
chroot: failed to run command ‘rm’: No such file or directory
chroot: failed to run command ‘ln’: No such file or directory
16:01:47 - WARNING : _apt user cannot be added to AID_INET group
/home/cuiyingyun/code/4tb_disk/adeb/buildstrap: line 60: /tmp/tmp.THkf5av3D6/debian/etc/resolv.conf: No such file or directory
Cloning into '/tmp/tmp.THkf5av3D6/debian/bcc-master'...
remote: Enumerating objects: 52, done.
remote: Counting objects: 100% (52/52), done.
remote: Compressing objects: 100% (40/40), done.
remote: Total 17061 (delta 15), reused 28 (delta 12), pack-reused 17009
Receiving objects: 100% (17061/17061), 8.19 MiB | 1.76 MiB/s, done.
Resolving deltas: 100% (11050/11050), done.
Checking connectivity... done.
16:01:56 - INFO : Compressing new filesystem to prepare to push to Android /data/androdeb/
/tmp/tmp.THkf5av3D6/deb.tar.gz: 1 file pu...hed. 23.5 MB/s (23319243 bytes in 0.945s)
/home/cuiyingyun/code/4tb_disk/adeb/addon...le pushed. 0.0 MB/s (652 bytes in 0.021s)
/home/cuiyingyun/code/4tb_disk/adeb/addon...e pushed. 0.1 MB/s (1162 bytes in 0.021s)
/home/cuiyingyun/code/4tb_disk/adeb/addon...ile pushed. 0.0 MB/s (93 bytes in 0.017s)
/home/cuiyingyun/code/4tb_disk/adeb/addon...le pushed. 0.0 MB/s (573 bytes in 0.014s)
/home/cuiyingyun/code/4tb_disk/adeb/addon...le pushed. 0.0 MB/s (242 bytes in 0.014s)
/home/cuiyingyun/code/4tb_disk/adeb/addon...le pushed. 0.0 MB/s (762 bytes in 0.015s)
/home/cuiyingyun/code/4tb_disk/adeb/addon...le pushed. 0.0 MB/s (311 bytes in 0.014s)
/home/cuiyingyun/code/4tb_disk/adeb/addon...le pushed. 0.0 MB/s (113 bytes in 0.014s)
/home/cuiyingyun/code/4tb_disk/adeb/addon...le pushed. 0.0 MB/s (229 bytes in 0.013s)
/home/cuiyingyun/code/4tb_disk/adeb/addon...e pushed. 0.1 MB/s (1157 bytes in 0.015s)
10 files pushed. 0.0 MB/s (5294 bytes in 0.179s)
Unpack of rootfs successful!
mount: '/proc'->'debian/proc/': No such file or directory
mount: '/dev'->'debian/dev/': No such file or directory
mount: '/dev/pts'->'debian/dev/pts': No such file or directory
mount: '/sys'->'debian/sys/': No such file or directory
mount: '/sys/fs/bpf/'->'debian/sys/fs/bpf/': No such file or directory
mount: '/sys/kernel/debug/'->'debian/sys/kernel/debug/': No such file or directory
mount: '/sys/kernel/debug/tracing/'->'debian/sys/kernel/debug/tracing/': No such file or directory
chmod: debian/sys/kernel/debug: No such file or directory
chmod: debian/sys/kernel/debug/tracing: No such file or directory
chroot: exec /bin/bash: No such file or directory
adeb$ adeb shell
chroot: exec /bin/bash: No such file or directory
Other infomation:
It works if I run the command "adeb prepare --full --kernelsrc /path/to/kernel-source/" only.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Enviroment:
Host Ubuntu: 18.04
Client Android: Android P + 4.9 kernel with root
Reproduce:
- Terminal shows up:
A lot of logs for updating package
I: Chosen extractor for .deb packages: dpkg-deb
I: Extracting libacl1...
I: Extracting adduser...
real 8m3.377s
user 0m29.522s
sys 0m11.618s
umount: /tmp/tmp.THkf5av3D6/debian/proc/sys/fs/binfmt_misc: not found
umount: /tmp/tmp.THkf5av3D6/debian/proc: not found
chroot: failed to run command ‘rm’: No such file or directory
chroot: failed to run command ‘ln’: No such file or directory
16:01:47 - WARNING : _apt user cannot be added to AID_INET group
/home/cuiyingyun/code/4tb_disk/adeb/buildstrap: line 60: /tmp/tmp.THkf5av3D6/debian/etc/resolv.conf: No such file or directory
Cloning into '/tmp/tmp.THkf5av3D6/debian/bcc-master'...
remote: Enumerating objects: 52, done.
remote: Counting objects: 100% (52/52), done.
remote: Compressing objects: 100% (40/40), done.
remote: Total 17061 (delta 15), reused 28 (delta 12), pack-reused 17009
Receiving objects: 100% (17061/17061), 8.19 MiB | 1.76 MiB/s, done.
Resolving deltas: 100% (11050/11050), done.
Checking connectivity... done.
16:01:56 - INFO : Compressing new filesystem to prepare to push to Android /data/androdeb/
/tmp/tmp.THkf5av3D6/deb.tar.gz: 1 file pu...hed. 23.5 MB/s (23319243 bytes in 0.945s)
/home/cuiyingyun/code/4tb_disk/adeb/addon...le pushed. 0.0 MB/s (652 bytes in 0.021s)
/home/cuiyingyun/code/4tb_disk/adeb/addon...e pushed. 0.1 MB/s (1162 bytes in 0.021s)
/home/cuiyingyun/code/4tb_disk/adeb/addon...ile pushed. 0.0 MB/s (93 bytes in 0.017s)
/home/cuiyingyun/code/4tb_disk/adeb/addon...le pushed. 0.0 MB/s (573 bytes in 0.014s)
/home/cuiyingyun/code/4tb_disk/adeb/addon...le pushed. 0.0 MB/s (242 bytes in 0.014s)
/home/cuiyingyun/code/4tb_disk/adeb/addon...le pushed. 0.0 MB/s (762 bytes in 0.015s)
/home/cuiyingyun/code/4tb_disk/adeb/addon...le pushed. 0.0 MB/s (311 bytes in 0.014s)
/home/cuiyingyun/code/4tb_disk/adeb/addon...le pushed. 0.0 MB/s (113 bytes in 0.014s)
/home/cuiyingyun/code/4tb_disk/adeb/addon...le pushed. 0.0 MB/s (229 bytes in 0.013s)
/home/cuiyingyun/code/4tb_disk/adeb/addon...e pushed. 0.1 MB/s (1157 bytes in 0.015s)
10 files pushed. 0.0 MB/s (5294 bytes in 0.179s)
Unpack of rootfs successful!
mount: '/proc'->'debian/proc/': No such file or directory
mount: '/dev'->'debian/dev/': No such file or directory
mount: '/dev/pts'->'debian/dev/pts': No such file or directory
mount: '/sys'->'debian/sys/': No such file or directory
mount: '/sys/fs/bpf/'->'debian/sys/fs/bpf/': No such file or directory
mount: '/sys/kernel/debug/'->'debian/sys/kernel/debug/': No such file or directory
mount: '/sys/kernel/debug/tracing/'->'debian/sys/kernel/debug/tracing/': No such file or directory
chmod: debian/sys/kernel/debug: No such file or directory
chmod: debian/sys/kernel/debug/tracing: No such file or directory
chroot: exec /bin/bash: No such file or directory
adeb$ adeb shell
chroot: exec /bin/bash: No such file or directory
Other infomation:
The text was updated successfully, but these errors were encountered: