Giter Site home page Giter Site logo

anbox-installer's Introduction

anbox-installer's People

Contributors

hub2git avatar inferrna avatar lool avatar matttter avatar morphis avatar ogra1 avatar sudopluto avatar tkcz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

anbox-installer's Issues

snap "anbox" is not installed

blackhat@blackhat :-> snap run anbox-installer

Anbox (Android in a Box) - Installer

IMPORTANT: THIS IS ALPHA LEVEL SOFTWARE. EXPECT INSTABILITY AND
BUGS !!!!!

IMPORTANT: ALSO PLEASE BE AWARE THAT WE DON'T PROVIDE FULL
CONFINEMENT FOR THE SNAP YET !!!!

PLEASE NOTE: This script will require root access on your system
to install all necessary things. It will prompt you to enter your
password when required.

What do you want to do?

  1. Install Anbox
  2. Uninstall Anbox

Please enter your choice [1-2]:
1

This is the installer for the anbox runtime environment. It will
install certain things on your system to ensure all requirements
are available for anbox to work correctly.

In summary we will install the following things:

  • Add the anbox-support ppa ppa:morphis/anbox-support to the
    host system
  • Install the anbox-modules-dkms deb package from the ppa
    which will add kernel modules for ashmem and binder which are
    required for the Android container to work.
  • Configure binder and ashmem kernel modules to be loaded
    automatically on boot.
  • Install the anbox-common package from the ppa which will
    • Add an upstart job for the current user blackhat which will
      start the anbox runtime on login.
    • Add a X11 session configuration file to allow the system
      application launcher (Unity7, Gnome Shell, ..) to find
      available Android applications.

Please type 'I AGREE' followed by pressing ENTER to continue
or type anything else to abort:
I AGREE

Starting installation process ...

The following packages have unmet dependencies:
anbox-common : Depends: dbus-user-session but it is not installable
E: Unable to correct problems, you have held broken packages.

  • cleanup
  • local err=100
  • trap - EXIT
  • echo 'ERROR: Installation failed. Removing all parts of Anbox again.'
    ERROR: Installation failed. Removing all parts of Anbox again.
  • uninstall
  • set -x
  • sudo snap remove anbox
    snap "anbox" is not installed
  • '[' -e /etc/apt/sources.list.d/morphis-ubuntu-anbox-support-xenial.list ']'
  • set +x

Ubuntu derivitives

I attempted to install on Zorin OS 12, an Ubuntu derivative, but got this:


$ anbox-installer
Android in a Box - Installer

IMPORTANT: THIS IS ALPHA LEVEL SOFTWARE. EXPECT INSTABILITY AND
BUGS !!!!!

IMPORTANT: ALSO PLEASE BE AWARE THAT WE DON'T PROVIDE FULL
CONFINEMENT FOR THE SNAP YET !!!!

PLEASE NOTE: This script will require root access on your system
to install all necessary things. It will prompt you to enter your
password when required.

ERROR: You are running the installer on an unsupported distribution.
At the moment we only support the following distributions:

Ubuntu, LinuxMint, neon, elementary

If your distribution is in the list but you still see this message, open
an issue here: https://github.com/anbox/anbox-installer


While Zorin OS is an Ubuntu derivative, based on release 16.04 LTS, it still would not allow me to install, as shown above. Would it have to do with the fact that Zorin is not an official derivative? If there is a solution or work-around, that would be greatly appreciated. I love the concept of this product though and hope to see it continued. Many thanks to those working on it :)

unable to install

error info:

initctl: Name "com.ubuntu.Upstart" does not exist

system : ubuntu 16.04

Solus Unsupported?

So it told me my distro was unsupported, and just doing what it told me after running the installer.

Debian Stretch : anbox launch : intent error.

So, I installed anbox via anbox/anbox#300 (2nd comment) and via anbox installer (modified the script for Debian). Went relatively smoothly. However, anbox keeps on hanging than crashing at start up.

anbox session-manager output :
[DD 2017-08-19 12:22:41] [Renderer.cpp:165@initialize] Using a surfaceless EGL context
[DD 2017-08-19 12:22:42] [Renderer.cpp:248@initialize] Successfully initialized EGL

anbox launch :
[EE 2017-08-19 12:23:12] [launch.cpp:86@operator()] The intent you provided is invalid. Please provide a correct launch intent.

Anbox fails to install on Kubuntu

Anbox fails to start because initctl doesn't exist.

Log:

user@user-VirtualBox:~$ snap install --classic anbox-installer
error: access denied (try with sudo)
user@user-VirtualBox:~$ sudo snap install --classic anbox-installer
[sudo] password for user: 
anbox-installer 1 from 'morphis' installed
user@user-VirtualBox:~$ anbox-installer
Android in a Box - Installer


IMPORTANT: THIS IS ALPHA LEVEL SOFTWARE. EXPECT INSTABILITY AND
           BUGS !!!!!

IMPORTANT: ALSO PLEASE BE AWARE THAT WE DON'T PROVIDE FULL
           CONFINEMENT FOR THE SNAP YET !!!!


PLEASE NOTE: This script will require root access on your system
to install all necessary things. It will prompt you to enter your
password when required.



What do you want to do?

 1. Install Anbox
 2. Uninstall Anbox

Please enter your choice [1-2]: 
1


This is the installer for the anbox runtime environment. It will
install certain things on your system to ensure all requirements
are available for anbox to work correctly.

In summary we will install the following things:

 * Add the anbox-support ppa ppa:morphis/anbox-support to the
   host system
 * Install the anbox-modules-dkms deb package from the ppa
   which will add kernel modules for ashmem and binder which are
   required for the Android container to work.
 * Configure binder and ashmem kernel modules to be loaded
   automatically on boot.
 * Add an upstart job for the current user user which will
   start the anbox runtime on login.
 * Add a X11 session configuration file to allow the system
   application launcher (Unity7, Gnome Shell, ..) to find
   available Android applications.

Please type 'I AGREE' followed by pressing ENTER to continue
or type anything else to abort:
I AGREE


Starting installation process ...

+ '[' '!' -e /etc/udev/rules.d/99-anbox.rules ']'
+ sudo tee /etc/udev/rules.d/99-anbox.rules
+ sudo apt install -y software-properties-common linux-headers-generic
Reading package lists... Done
Building dependency tree       
Reading state information... Done
software-properties-common is already the newest version (0.96.24.7).
linux-headers-generic is already the newest version (4.8.0.46.58).
linux-headers-generic set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ sudo add-apt-repository -y ppa:morphis/anbox-support
gpg: keybox '/tmp/tmp6_edxpga/pubring.gpg' created
gpg: /tmp/tmp6_edxpga/trustdb.gpg: trustdb created
gpg: key 21C6044A875B67B7: public key "Launchpad PPA for morphis" imported
gpg: Total number processed: 1
gpg:               imported: 1
OK
+ sudo apt update
Get:1 http://security.ubuntu.com/ubuntu yakkety-security InRelease [102 kB]
Hit:2 http://us.archive.ubuntu.com/ubuntu yakkety InRelease                                              
Get:3 http://us.archive.ubuntu.com/ubuntu yakkety-updates InRelease [102 kB]                             
Get:4 http://ppa.launchpad.net/morphis/anbox-support/ubuntu yakkety InRelease [17.5 kB]                             
Get:5 http://us.archive.ubuntu.com/ubuntu yakkety-backports InRelease [102 kB]                                                  
Get:6 http://ppa.launchpad.net/morphis/anbox-support/ubuntu yakkety/main i386 Packages [476 B]
Get:7 http://ppa.launchpad.net/morphis/anbox-support/ubuntu yakkety/main amd64 Packages [476 B]
Get:8 http://ppa.launchpad.net/morphis/anbox-support/ubuntu yakkety/main Translation-en [268 B]
Fetched 325 kB in 1s (193 kB/s)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
+ sudo apt install -y anbox-modules-dkms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  dkms fakeroot libfakeroot
The following NEW packages will be installed:
  anbox-modules-dkms dkms fakeroot libfakeroot
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 187 kB of archives.
After this operation, 979 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 dkms all 2.2.0.3-2ubuntu14 [66.0 kB]
Get:2 http://ppa.launchpad.net/morphis/anbox-support/ubuntu yakkety/main amd64 anbox-modules-dkms all 4~yakkety1 [32.8 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 libfakeroot amd64 1.21-1ubuntu2 [25.9 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 fakeroot amd64 1.21-1ubuntu2 [62.2 kB]
Fetched 187 kB in 1s (150 kB/s)                                           
Selecting previously unselected package dkms.
(Reading database ... 198615 files and directories currently installed.)
Preparing to unpack .../0-dkms_2.2.0.3-2ubuntu14_all.deb ...
Unpacking dkms (2.2.0.3-2ubuntu14) ...
Selecting previously unselected package anbox-modules-dkms.
Preparing to unpack .../1-anbox-modules-dkms_4~yakkety1_all.deb ...
Unpacking anbox-modules-dkms (4~yakkety1) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../2-libfakeroot_1.21-1ubuntu2_amd64.deb ...
Unpacking libfakeroot:amd64 (1.21-1ubuntu2) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../3-fakeroot_1.21-1ubuntu2_amd64.deb ...
Unpacking fakeroot (1.21-1ubuntu2) ...
Setting up dkms (2.2.0.3-2ubuntu14) ...
Processing triggers for libc-bin (2.24-3ubuntu2) ...
Setting up libfakeroot:amd64 (1.21-1ubuntu2) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up anbox-modules-dkms (4~yakkety1) ...
Loading new anbox-modules-ashmem-4~yakkety1 DKMS files...
First Installation: checking all kernels...
Building only for 4.8.0-46-generic
Building for architecture x86_64
Building initial module for 4.8.0-46-generic
Done.

ashmem_linux:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.8.0-46-generic/updates/dkms/

depmod.............

DKMS: install completed.
Loading new anbox-modules-binder-4~yakkety1 DKMS files...
First Installation: checking all kernels...
Building only for 4.8.0-46-generic
Building for architecture x86_64
Building initial module for 4.8.0-46-generic
Done.

binder_linux:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.8.0-46-generic/updates/dkms/

depmod.......

DKMS: install completed.
Setting up fakeroot (1.21-1ubuntu2) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Processing triggers for libc-bin (2.24-3ubuntu2) ...
+ '[' '!' -e /etc/modules-load.d/anbox.conf ']'
+ sudo tee /etc/modules-load.d/anbox.conf
+ sudo modprobe binder_linux
+ sudo modprobe ashmem_linux
+ grep -q installed:
+ snap info anbox
+ sudo snap install --edge --devmode anbox
anbox (edge) 1-dev from 'morphis' installed
+ '[' '!' -e /etc/X11/Xsession.d/68anbox ']'
+ echo 'Installing application launcher detection for X11 ..'
Installing application launcher detection for X11 ..
+ sudo tee /etc/X11/Xsession.d/68anbox
+ mkdir -p /home/user/.config/upstart
+ echo 'Installing upstart session job ..'
Installing upstart session job ..
+ cat
+ initctl start anbox
/snap/anbox-installer/10/installer.sh: line 194: initctl: command not found
+ true
+ mkdir -p /home/user/.config/systemd/user
+ echo 'Installing systemd user session service ..'
Installing systemd user session service ..
+ cat
+ systemctl --user daemon-reload
Failed to reload daemon: Process org.freedesktop.systemd1 exited with status 1
+ true
+ systemctl --user enable --now anbox
Failed to enable unit: Process org.freedesktop.systemd1 exited with status 1
+ true
+ set +x

Done!

To ensure all changes made to your system you should now reboot
your system. If you don't do this no Android applications will
show up in the system application launcher.

Will not install in elementaryOS Freya

Anbox (Android in a Box) - Installer

IMPORTANT: THIS IS ALPHA LEVEL SOFTWARE. EXPECT INSTABILITY AND
BUGS !!!!!

IMPORTANT: ALSO PLEASE BE AWARE THAT WE DON'T PROVIDE FULL
CONFINEMENT FOR THE SNAP YET !!!!

PLEASE NOTE: This script will require root access on your system
to install all necessary things. It will prompt you to enter your
password when required.

ERROR: You are running the installer on an unsupported distribution.
At the moment we only support the following distributions:

Ubuntu, LinuxMint, neon, elementary

If your distribution is in the list but you still see this message, open
an issue here: https://github.com/anbox/anbox-installer

Installation on Ubuntu fails if non-generic kernel is in use. Leaves system in broken state.

Distribution: Ubuntu
Affected distribution versions: (at least) 14.04 and all newer.
There are different kernel flavours available in the repository for the user to install. If a user uses a non-default kernel flavour, the installer breaks the system.

sudo apt install -y linux-headers-generic anbox-modules-dkms

Here, the installer assumes it can always install the package linux-headers-generic.
If the user has only a non-generic kernel-flavour like a lowlatency build installed (like this one here:
https://packages.ubuntu.com/search?keywords=linux-image-lowlatency&searchon=names )
linux-headers-generic is not installed and cannot be installed by apt. apt cannot infer that it has to install linux-image-generic to fulfill the dependencies of linux-headers-generic and then drops the package management into a broken state.

The user has to manually purge linux-headers*generic and then manually fix a broken dkms configuration.
After anbox-installer failed, trying to install linux-image-gereric or updating kernels fails with

Error! Could not locate dkms.conf file.
File:  does not exist.

3 possible solutions:

  • Abort the installation if linux-image-generic is not installed
  • Just force all users to use the generic kernel by also installing linux-image-generic
  • Determine the appropriate kernel header package by looking at the installed kernel packages.

Error running anbox-installer: execv failed

After installing the anbox-installer snap, when I try running anbox-installer I get the following error:

execv failed: No such file or directory

I'm running Fedora 24, any ideas?

snap anbox is not noticing LinuxMint Distrubution 18.1

#39 dark@restart ~ $ snap install --classic anbox-installer && anbox-installer
error: unknown flag `classic'
dark@restart ~ $ snap install classic anbox-installer && anbox-installer
error: access denied
dark@restart ~ $ sudo snap install classic anbox-installer && anbox-installer
[sudo] password for dark:
Sorry, try again.
[sudo] password for dark:
75.46 MB / 75.46 MB [====================================] 100.00 % 569.47 KB/s

error: cannot perform the following tasks:

  • Download snap "classic" from channel "stable" (snap not found)
    dark@restart ~ $ sudo snap install --classic anbox-installer && anbox-installer
    error: unknown flag `classic'
    dark@restart ~ $ sudo snap install anbox-installer && anbox-installer
    0 B / 4.00 KB [________________________________________________________] 0.00 %

Anbox (Android in a Box) - Installer

IMPORTANT: THIS IS ALPHA LEVEL SOFTWARE. EXPECT INSTABILITY AND
BUGS !!!!!

IMPORTANT: ALSO PLEASE BE AWARE THAT WE DON'T PROVIDE FULL
CONFINEMENT FOR THE SNAP YET !!!!

PLEASE NOTE: This script will require root access on your system
to install all necessary things. It will prompt you to enter your
password when required.

/snap/anbox-installer/17/installer.sh: line 34: lsb_release: command not found
ERROR: You are running the installer on an unsupported distribution.
At the moment we only support the following distributions:

Ubuntu, LinuxMint, neon, elementary

If your distribution is in the list but you still see this message, open
an issue here: https://github.com/anbox/anbox-installer
dark@restart ~ $
dark@restart ~ $ sudo anbox-installer
[sudo] password for dark:
Anbox (Android in a Box) - Installer

IMPORTANT: THIS IS ALPHA LEVEL SOFTWARE. EXPECT INSTABILITY AND
BUGS !!!!!

IMPORTANT: ALSO PLEASE BE AWARE THAT WE DON'T PROVIDE FULL
CONFINEMENT FOR THE SNAP YET !!!!

PLEASE NOTE: This script will require root access on your system
to install all necessary things. It will prompt you to enter your
password when required.

ERROR: Don't run the anbox-installer as root or via sudo. Simply
invoke it with your regular user. The script will use sudo
on its own when needed.
dark@restart ~ $ anbox-installer
Anbox (Android in a Box) - Installer

IMPORTANT: THIS IS ALPHA LEVEL SOFTWARE. EXPECT INSTABILITY AND
BUGS !!!!!

IMPORTANT: ALSO PLEASE BE AWARE THAT WE DON'T PROVIDE FULL
CONFINEMENT FOR THE SNAP YET !!!!

PLEASE NOTE: This script will require root access on your system
to install all necessary things. It will prompt you to enter your
password when required.

/snap/anbox-installer/17/installer.sh: line 34: lsb_release: command not found
ERROR: You are running the installer on an unsupported distribution.
At the moment we only support the following distributions:

Ubuntu, LinuxMint, neon, elementary

If your distribution is in the list but you still see this message, open
an issue here: https://github.com/anbox/anbox-installer
dark@restart ~ $

So that is where I am at so far. I am just learning Linux myself but so far This is my first problem with linux (other then a few times that grub decided to go on vacation) and I cant find anyhing to help me with it.

binder_linux not found

On anbox-installer, I get:

  • sudo apt install -y anbox-modules-dkms
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    anbox-modules-dkms is already the newest version (4~yakkety1).
    The following packages were automatically installed and are no longer required:
    authbind ieee-data libcommons-collections3-java libcommons-dbcp-java libcommons-pool-java libecj-java libtomcat7-java linux-headers-4.8.0-34 linux-headers-4.8.0-34-generic
    linux-image-4.8.0-34-generic linux-image-extra-4.8.0-34-generic linux-signed-image-4.8.0-34-generic linux-tools-4.8.0-34 linux-tools-4.8.0-34-generic python-netaddr tomcat7
    tomcat7-common
    Use 'sudo apt autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 68 not upgraded.
  • '[' '!' -e /etc/modules-load.d/anbox.conf ']'
  • sudo modprobe binder_linux
    modprobe: FATAL: Module binder_linux not found in directory /lib/modules/4.8.0-46-generic
    FAIL: 1

$ uname -a [18:51:25]
Linux antrix 4.8.0-46-generic #49-Ubuntu SMP Fri Mar 31 13:57:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

$ lsb_release -a [18:51:36]
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.10
Release: 16.10
Codename: yakkety

Allow install on Ubuntu Kylin (and Galactic Kylin)

Ubuntu Kylin is a distro mainly designed for China support by Canonical. It came with two version:

  1. Ubuntu Kylin based on Ubuntu 17.10
  2. Galactic Kylin based on Ubuntu 16.04

Due to the fact that Kylin is Ubuntu (with a different desktop environment but the core system is the same), please support on the Ubuntu Kylin.

Thanks.

installation stops after update command

Installation does not go any further than "apt get update" command.

It should next continue with line 151 which is : "sudo apt install -y anbox-modules-dkms"
but it stops at line 150 which is : "sudo apt update" #40

Patch to skip ashmem and binder install if already exists

Simple patch for anbox/anbox#91
I looked out the 'ppa:morphis/anbox-support' ppa and found it used only for dkms modules. So, if those already existst, ppa also can be skipped.

--- anbox-installer.original.sh	2017-04-14 21:35:19.045591097 +0800
+++ anbox-installer.sh	2017-04-14 21:49:36.809415343 +0800
@@ -145,20 +145,24 @@
 EOF
 fi
 
-sudo apt install -y software-properties-common linux-headers-generic
-sudo add-apt-repository -y 'ppa:morphis/anbox-support'
-sudo apt update
-sudo apt install -y anbox-modules-dkms
+if [ -c /dev/binder ] && [ -c /dev/ashmem ]; then
+    echo "Android binder and ashmem seems to be already enabled in kernel.";
+else
+    sudo apt install -y software-properties-common linux-headers-generic
+    sudo add-apt-repository -y 'ppa:morphis/anbox-support'
+    sudo apt update
+    sudo apt install -y anbox-modules-dkms
 
-if [ ! -e /etc/modules-load.d/anbox.conf ]; then
-	sudo tee /etc/modules-load.d/anbox.conf &>/dev/null <<EOF
+    if [ ! -e /etc/modules-load.d/anbox.conf ]; then
+        sudo tee /etc/modules-load.d/anbox.conf &>/dev/null <<EOF
 ashmem_linux
 binder_linux
 EOF
-fi
+    fi
 
-sudo modprobe binder_linux
-sudo modprobe ashmem_linux
+    sudo modprobe binder_linux
+    sudo modprobe ashmem_linux
+fi
 
 if snap info anbox | grep -q "installed:" ; then
 	 sudo snap refresh --edge anbox || true

Anbox not opening

After running anbox .appmgr,instead of opening anbox , it gives me this.output :20220513_193651.jpg

Not removing all software

It is my understanding that an uninstaller is suppose to remove its software, so shouldn't ppa-purge be removed after it does it's job on lines 92 & 93?

Anbox failed to install on Debian Stretch

Hello,

I tried to install Anbox on my Debian Stretch computer with the following command :
sudo snap install --classic anbox-installer && anbox-installer

It failled and printed the following message :

anbox-installer: command not found

So I searched on the web and I found this topic :
https://github.com/anbox/anbox/issues/196

And I tried this :
sudo apt-get install snapd -y && export PATH=$PATH:/snap/bin \ && sudo snap install --classic anbox-installer && anbox-installer

And I get this error :

anbox-installer 1 from 'morphis' installed
Anbox (Android in a Box) - Installer

IMPORTANT: THIS IS ALPHA LEVEL SOFTWARE. EXPECT INSTABILITY AND
BUGS !!!!!

IMPORTANT: ALSO PLEASE BE AWARE THAT WE DON'T PROVIDE FULL
CONFINEMENT FOR THE SNAP YET !!!!

PLEASE NOTE: This script will require root access on your system
to install all necessary things. It will prompt you to enter your
password when required.

ERROR: You are running the installer on an unsupported distribution.
At the moment we only support the following distributions:

Ubuntu, LinuxMint, neon, elementary

If your distribution is in the list but you still see this message, open
an issue here: https://github.com/anbox/anbox-installer

So I opened this issue.

Unexpected "(" on line 33

I get this error when executing the script on Xubuntu 16.04. Any idea what the matter is?

./installer.sh: 33: ./installer.sh: Syntax error: "(" unexpected

Thanks for any help...

Unsupported distribution on Kali Linux (Debian)

OS details:

uname -a
Linux XGB 4.9.0-kali4-amd64 #1 SMP Debian 4.9.25-1kali1 (2017-05-04) x86_64 GNU/Linux

cat /etc/os-release
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
ID=kali
VERSION="2017.1"
VERSION_ID="2017.1"
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.kali.org/"
SUPPORT_URL="http://forums.kali.org/"
BUG_REPORT_URL="http://bugs.kali.org/"

ERROR while installing:

/snap/anbox-installer/current$ ./installer.sh
Anbox (Android in a Box) - Installer

IMPORTANT: THIS IS ALPHA LEVEL SOFTWARE. EXPECT INSTABILITY AND
BUGS !!!!!

IMPORTANT: ALSO PLEASE BE AWARE THAT WE DON'T PROVIDE FULL
CONFINEMENT FOR THE SNAP YET !!!!

PLEASE NOTE: This script will require root access on your system
to install all necessary things. It will prompt you to enter your
password when required.

ERROR: You are running the installer on an unsupported distribution.
At the moment we only support the following distributions:

Ubuntu, LinuxMint, neon, elementary

If your distribution is in the list but you still see this message, open
an issue here: https://github.com/anbox/anbox-installer

Installer does not check essential things before action

  1. Installer try to exec sudo snap in the system without snap (try it on fresh install of Ubuntu 14.04).
    May be checked via:
[[ -n "$(which snap)" ]] || { 
    echo "snap does not installed - exiting..."
    exit 1
}

It must be checked before any apt/dkms/config actions, so if snap does not exists - system will be untouched.

  1. Linux Mint Debian Edition still Linux Mint, but it does not contain some ubuntu-specific packages, such as linux-headers-generic
    I don't know how to check this situation, but on 64-bit debian must be installed linux-headers-amd64 package.

  2. I think, set -eu in second line will add some checks of apt-get exit codes. Not only apt-get.

MY distro is elementary

ERROR: You are running the installer on an unsupported distribution.
At the moment we only support the following distributions:

Ubuntu, LinuxMint, neon, elementary, Zorin

KDE Neon/Neon LTS Support

Could you please add KDE Neon/Neon LTS to the list of supported distros? KDE Neon is just the latest Ubuntu or Ubuntu LTS with the latest KDE desktop/applications added via a PPA so there's probably no compatibility issues.

Thanks

FAQ and Installer conflict

Your FAQ says that this installs on systems with snap compatibility. However, the installer says it's only available on Ubuntu, LinuxMint, neon, and elementary. There are many other systems that support snap. Can you update the FAQ to reflect the actual compatibility?

For the record, I'm running Arch.

installer.sh should run with "set -e" so it stops processing on errors

currently a failure of any sub-call of the installer script will not stop the installation... i.e. if the dkms compilation fails it will still move on and install all the script snippets and session jobs ... it should instead stop processing and not move on putting stuff in place. this is also helpful to make it clearer to endusers that something went wrong.

Mint 18.3 error

sudo modprobe ashmem_linux
modprobe: ERROR: could not insert 'ashmem_linux': Unknown symbol in module, or unknown parameter (see dmesg)

Please add support for Debian..

I am sure many afficionados like me would love to take out Anbox for a spin.. Please consider adding support for Debian.. Infact I am sure making it universally installable might make it the defacto standard in Android-over-Linux platforms..

Unless this is a policy decision, which we will love to hear about in more detail..

Thanks anyways..

openSUSE support

It would be nice to have support for openSUSE.
Thank you in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.