green-green-avk / AnotherTerm

Local PTY, USB and Bluetooth serial ports, SSH and Telnet terminal client for Android. Xwayland support (in dev only).
https://green-green-avk.github.io/AnotherTerm-docs/
Other
190 stars 19 forks source link

Errors when trying to install other distributions #71

Open 8itlew7r opened 2 months ago

8itlew7r commented 2 months ago
$ ( S=install-linuxcontainers.sh ; "$TERMSH" copy -f -fu "https://raw.githubusercontent.com/green-green-avk/AnotherTerm-scripts/master/$S" -tp . && chmod 755 $S && sh ./$S -a fedora 40 )

Actual name: linuxcontainers-fedora-40

To uninstall: run `rm -rf "$DATA_DIR/proots/linuxcontainers-fedora-40"'

Creating favorites...
Done.

Arch: aarch64
Variant:
Root FS: fedora 40

write failed: EPIPE (Broken pipe)
Cannot download index from linuxcontainers.org
Source: https://images.linuxcontainers.org//images/fedora/40/arm64/default/20240904_22:05//rootfs.tar.xz

Getting Linux root FS...
Setting up run script...
Configuring...
./install-linuxcontainers.sh[429]: can't create bin/termsh: Permission denied

When I try to start it (non-root mode), it gives an error, but not in root mode.

proot warning: can't chdir("/home/my_acct/.") in the guest rootfs: No such file or directory
proot info: default working directory is now "/"
/usr/bin/id: cannot find name for user ID 10259

I can give a logcat when I try to reinstall if you want.

My Device: SDK: 33 PRODUCT_NAME: a04snnxx DEVICE_NAME: a04s BOARD_NAME: exynos850 SUPPORTED_ABIS: arm64-v8a, armeabi-v7a, armeabi MANUFACTURER: samsung BRAND: samsung MODEL: SM-A047F

8itlew7r commented 2 months ago

F-Droid version: green_green_avk.anotherterm.redist MkIIIv87

8itlew7r commented 2 months ago

Debian doesn't have this problem.

NixOS is also affected, and possibly other distributions as well.

proot warning: can't chdir("/root/.") in the guest rootfs: No such file or directory
proot info: default working directory is now "/"
proot error: '/bin/sh' not found (root = /data/data/green_green_avk.anotherterm.redist/proots/linuxcontainers-nixos-24.05/root, cwd = /, $PATH=(null))
fatal error: see `libproot.so --help`.
8itlew7r commented 2 months ago

Permission denied flood if I try rm -rf $DATA_DIR/proots/linuxcontainers-nixos-24.05