anbox-installer
anbox-installer copied to clipboard
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?
- Install Anbox
- 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 ...
- sudo add-apt-repository -y ppa:morphis/anbox-support
gpg: keyring
/tmp/tmpwr17sxgh/secring.gpg' created gpg: keyring/tmp/tmpwr17sxgh/pubring.gpg' created gpg: requesting key 875B67B7 from hkp server keyserver.ubuntu.com gpg: /tmp/tmpwr17sxgh/trustdb.gpg: trustdb created gpg: key 875B67B7: public key "Launchpad PPA for morphis" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) OK - sudo apt update
Hit http://ppa.launchpad.net trusty InRelease
Hit http://security.ubuntu.com trusty-security InRelease
Ign http://extras.ubuntu.com trusty InRelease
Ign http://id.archive.ubuntu.com trusty InRelease
Hit http://extras.ubuntu.com trusty Release.gpg
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://id.archive.ubuntu.com trusty-updates InRelease
Hit http://extras.ubuntu.com trusty Release
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://security.ubuntu.com trusty-security/restricted Sources
Hit http://id.archive.ubuntu.com trusty-backports InRelease
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://id.archive.ubuntu.com trusty Release.gpg
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse Sources Hit http://id.archive.ubuntu.com trusty-updates/main Sources
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://extras.ubuntu.com trusty/main i386 Packages
Hit http://id.archive.ubuntu.com trusty-updates/restricted Sources
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://id.archive.ubuntu.com trusty-updates/universe Sources
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://id.archive.ubuntu.com trusty-updates/multiverse Sources
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://id.archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://id.archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Hit http://id.archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://id.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Hit http://id.archive.ubuntu.com trusty-updates/main i386 Packages
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://id.archive.ubuntu.com trusty-updates/restricted i386 Packages
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-en_US
Hit http://id.archive.ubuntu.com trusty-updates/universe i386 Packages Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-en
Hit http://id.archive.ubuntu.com trusty-updates/multiverse i386 Packages Hit http://security.ubuntu.com trusty-security/universe Translation-en
Hit http://id.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://id.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://id.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://id.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://id.archive.ubuntu.com trusty-backports/main Sources
Hit http://id.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://id.archive.ubuntu.com trusty-backports/universe Sources
Hit http://id.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://id.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://id.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://id.archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://id.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://id.archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://id.archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://id.archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://id.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://id.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://id.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://id.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://id.archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://id.archive.ubuntu.com trusty Release
Hit http://id.archive.ubuntu.com trusty/main Sources
Hit http://id.archive.ubuntu.com trusty/restricted Sources
Hit http://id.archive.ubuntu.com trusty/universe Sources
Hit http://id.archive.ubuntu.com trusty/multiverse Sources
Hit http://id.archive.ubuntu.com trusty/main amd64 Packages
Hit http://id.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://id.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://id.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://id.archive.ubuntu.com trusty/main i386 Packages
Hit http://id.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://id.archive.ubuntu.com trusty/universe i386 Packages
Hit http://id.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://id.archive.ubuntu.com trusty/main Translation-en
Hit http://id.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://id.archive.ubuntu.com trusty/restricted Translation-en
Hit http://id.archive.ubuntu.com trusty/universe Translation-en
Ign http://id.archive.ubuntu.com trusty/main Translation-en_US
Ign http://id.archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://id.archive.ubuntu.com trusty/restricted Translation-en_US
Ign http://id.archive.ubuntu.com trusty/universe Translation-en_US
Reading package lists... Done - sudo apt install -y anbox-common
Reading package lists... Done
Building dependency tree
Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:
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