AndronixApp / AndronixOrigin

This is the official repository for the back end of the Andronix app šŸš€. Here you can know all the scripts you're installing šŸ˜Ž
https://andronix.app
MIT License
1.78k stars 342 forks source link

Error starting ./start-androkde.sh - see `proot --help` #73

Closed Maxython closed 3 years ago

Maxython commented 3 years ago

I run start-androkde.sh which will probably install KDE Ubuntu but I get an error. start-androkde.sh is completely original.

% ./start-androkde.sh
./start-androkde.sh: 6: command+= --link2symlink: not found
./start-androkde.sh: 7: command+= -0: not found
./start-androkde.sh: 8: command+= -r androkde-fs: not found
./start-androkde.sh: 14: command+= -b /dev: not found
./start-androkde.sh: 15: command+= -b /proc: not found
./start-androkde.sh: 16: command+= -b androkde-fs/root:/dev/shm: not found
./start-androkde.sh: 17: command+= -w /root: not found
./start-androkde.sh: 18: command+= /usr/bin/env -i: not found
./start-androkde.sh: 19: command+= HOME=/root: not found
./start-androkde.sh: 20: command+= PATH=/usr/local/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/games:/usr/local/games: not found
./start-androkde.sh: 21: command+= TERM=xterm-256color: not found
./start-androkde.sh: 22: command+= LANG=en_US.UTF-8: not found
./start-androkde.sh: 23: command+= LC_ALL=C: not found
./start-androkde.sh: 24: command+= LANGUAGE=en_US: not found
./start-androkde.sh: 25: command+= /bin/bash --login: not found
Usage:
  proot [option] ... [command]

Regular options:
  -r *path*     Use *path* as the new guest root file-system, default is /.
  -b *path*     Make the content of *path* accessible in the guest rootfs.
  -q *command*  Execute guest programs through QEMU as specified by *command*.
  -w *path*     Set the initial working directory to *path*.
  --kill-on-exit                Kill all processes on command exit.
  -v *value*    Set the level of debug information to *value*.
  -V            Print version, copyright, license and contact, then exit.
  -h            Print the version and the command-line usage, then exit.

Extension options:
  -k *string*   Make current kernel appear as kernel release *string*.
  -0            Make current user appear as "root" and fake its privileges.
  -i *string*   Make current user and group appear as *string* "uid:gid".
  --link2symlink                Replace hard links with symlinks, pretending they are really hardlinks
  --sysvipc             Handle System V IPC syscalls in proot
  -H            Hide files and directories starting with '.proot.' .
  -p            Modify bindings to protected ports to use a higher port number.
  -L            Correct the size returned from lstat for symbolic links.

Alias options:
  -R *path*     Alias: -r *path* + a couple of recommended -b.
  -S *path*     Alias: -0 -r *path* + a couple of recommended -b.
fatal error: see `proot --help`.
%

How do I fix this error?

Maxython commented 3 years ago

answer: start-androkde.sh should have been run in bash and not in zsh.

%bash
$./start-androkde.sh
omaaraguirre commented 5 months ago

answer: start-androkde.sh should have been run in bash and not in zsh.

%bash
$./start-androkde.sh

Hello @Maxython.

If I run it with bash, I get this:

~ āÆ bash start-andronix.sh
proot warning: can't sanitize binding "andronix-fs/proc/fakethings/stat": No such file or directory
proot warning: can't sanitize binding "andronix-fs/proc/fakethings/vmstat": No such file or directory
proot warning: can't sanitize binding "andronix-fs/proc/fakethings/version": No such file or directory

How can I resolve it?

Thanks in advance!