Não consigo estalar o Anbox

1. Não consigo estalar o Anbox

Lucas Rafael Barbosa Lopes
lucas7844

(usa Ubuntu)

Enviado em 29/04/2018 - 13:51h

Uso o comando
sudo snap install –classic anbox-installer && anbox-installer 

e retorna
sudo: unable to resolve host lucas-Aspire-E1-572
error: store.SnapNotFound with 2 snaps

e outra vez também retorna
sudo: unable to resolve host lucas-Aspire-E1-572: Connection timed out
error: unable to contact snap store



  


2. Re: Não consigo estalar o Anbox

Jose Renan
JoseRenan

(usa Ubuntu)

Enviado em 30/04/2018 - 12:48h



sudo snap install -classic anbox-installer



Tem que usar dois traços, não?

sudo snap install --classic anbox-installer





3. Re: Não consigo estalar o Anbox

Lucas Rafael Barbosa Lopes
lucas7844

(usa Ubuntu)

Enviado em 01/05/2018 - 00:48h

sudo snap install -classic anbox-installer retorno
error: unknown flag `c'

e sudo snap install --classic anbox-installer retorno
error: unable to contact snap store



4. Re: Não consigo estalar o Anbox

Matheus
pylm

(usa Gentoo)

Enviado em 01/05/2018 - 00:55h

Cê também pode usar o script de instalação deles.


wget https://raw.githubusercontent.com/anbox/anbox-installer/master/installer.sh -O anbox-installer
sh anbox-installer



5. Re: Não consigo estalar o Anbox

Lucas Rafael Barbosa Lopes
lucas7844

(usa Ubuntu)

Enviado em 01/05/2018 - 01:42h

o comando retorna
lucas@lucas-Aspire-E1-572:~$ wget https://raw.githubusercontent.com/anbox/anbox-installer/master/installer.sh -O anbox-installer
--2018-05-01 00:38:41-- https://raw.githubusercontent.com/anbox/anbox-installer/master/installer.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... failed: Temporary failure in name resolution.
wget: unable to resolve host address ‘raw.githubusercontent.com’

e aparece não sei por quê o comando
sh anbox-installer 
ele não retorna nada


6. Re: Não consigo estalar o Anbox

Matheus
pylm

(usa Gentoo)

Enviado em 01/05/2018 - 01:49h

Acabei de testar aqui e o git ta no ar.
Aí nós matamos os dois coelhos, teu DNS ta com problemas, troque-o pelo DNS da google.

sudo su
cp /etc/resolv.conf /etc/resolv.conf.old
echo -n "nameserver 8.8.8.8 \nnameserver 8.8.4.4" > /etc/resolv.conf



7. Re: Não consigo estalar o Anbox

Lucas Rafael Barbosa Lopes
lucas7844

(usa Ubuntu)

Enviado em 01/05/2018 - 01:55h

Agora retornou isso
installer/master/installer.sh -O anbox-installer
--2018-05-01 00:54:12-- https://raw.githubusercontent.com/anbox/anbox-installer/master/installer.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.92.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.92.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5681 (5,5K) [text/plain]
Saving to: ‘anbox-installer’

anbox-installer 100%[===================>] 5,55K --.-KB/s in 0,003s

2018-05-01 00:54:14 (1,83 MB/s) - ‘anbox-installer’ saved [5681/5681]




8. Re: Não consigo estalar o Anbox

Matheus
pylm

(usa Gentoo)

Enviado em 01/05/2018 - 01:56h

Pois agora foi salvo, execute-o com sh anbox-installer e siga as instruções.


9. Re: Não consigo estalar o Anbox

Lucas Rafael Barbosa Lopes
lucas7844

(usa Ubuntu)

Enviado em 01/05/2018 - 02:03h

Ele retorna
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.


anbox-installer: 33: anbox-installer: Syntax error: "(" unexpected

e com root fala que não é necessario


10. Re: Não consigo estalar o Anbox

Lucas Rafael Barbosa Lopes
lucas7844

(usa Ubuntu)

Enviado em 01/05/2018 - 02:08h

Estou usando o comando
anbox-installer
e parece que vai dar certo aqui


11. Re: Não consigo estalar o Anbox

Lucas Rafael Barbosa Lopes
lucas7844

(usa Ubuntu)

Enviado em 01/05/2018 - 02:10h

Não deu certo o comando anbox-installer
lucas@lucas-Aspire-E1-572:~$ 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 lucas 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/tmpmxzgom3f/secring.gpg' created
gpg: keyring `/tmp/tmpmxzgom3f/pubring.gpg' created
gpg: requesting key 875B67B7 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpmxzgom3f/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:1 http://repo.steampowered.com/steam precise InRelease
Hit:2 http://ppa.launchpad.net/clipgrab-team/ppa/ubuntu xenial InRelease
Hit:3 http://ppa.launchpad.net/dhor/myway/ubuntu xenial InRelease
Hit:4 http://ppa.launchpad.net/elementary-os/daily/ubuntu xenial InRelease
Hit:5 http://ppa.launchpad.net/elementary-os/os-patches/ubuntu xenial InRelease
Get:6 http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu xenial InRelease [23,8 kB]
Err:6 http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu xenial InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F1773AF13B1510FD
Ign:7 http://ppa.launchpad.net/kirillshkrogalev/ffmpeg-next/ubuntu xenial InRelease
Hit:8 http://ppa.launchpad.net/leaeasy/dde/ubuntu xenial InRelease
Get:9 http://ppa.launchpad.net/morphis/anbox-support/ubuntu xenial InRelease [17,5 kB]
Get:10 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial InRelease [17,5 kB]
Err:10 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 531EE72F4C9D234C
Hit:11 http://ppa.launchpad.net/noobslab/apps/ubuntu xenial InRelease
Get:12 https://deb.opera.com/opera-stable stable InRelease [2.592 B]
Get:13 http://ppa.launchpad.net/vincent-c/wesnoth/ubuntu xenial InRelease [17,5 kB]
Get:14 https://deb.opera.com/opera-stable stable/non-free amd64 Packages [1.814 B]
Get:15 https://deb.opera.com/opera-stable stable/non-free i386 Packages [1.820 B]
Err:13 http://ppa.launchpad.net/vincent-c/wesnoth/ubuntu xenial InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FE1FFCE65CB95493
Get:16 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease [17,6 kB]
Err:16 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2518248EEA14886
Err:17 http://ppa.launchpad.net/kirillshkrogalev/ffmpeg-next/ubuntu xenial Release
404 Not Found
Get:18 http://ppa.launchpad.net/morphis/anbox-support/ubuntu xenial/main amd64 Packages [656 B]
Get:19 http://ppa.launchpad.net/morphis/anbox-support/ubuntu xenial/main i386 Packages [656 B]
Get:20 http://ppa.launchpad.net/morphis/anbox-support/ubuntu xenial/main Translation-en [368 B]
Ign:21 http://dl.google.com/linux/chrome/deb stable InRelease
Err:22 https://download.sublimetext.com apt/stable/ InRelease
Could not resolve host: download.sublimetext.com
Hit:23 http://dl.google.com/linux/chrome/deb stable Release
Err:25 http://ubuntu.c3sl.ufpr.br/ubuntu xenial InRelease
Temporary failure resolving 'ubuntu.c3sl.ufpr.br'
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F1773AF13B1510FD
E: The repository 'http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu xenial InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 531EE72F4C9D234C
E: The repository 'http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://ppa.launchpad.net/vincent-c/wesnoth/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FE1FFCE65CB95493
E: The repository 'http://ppa.launchpad.net/vincent-c/wesnoth/ubuntu xenial InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2518248EEA14886
E: The repository 'http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/kirillshkrogalev/ffmpeg-next/ubuntu xenial Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
+ true
+ sudo apt install -y anbox-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
anbox-common
0 upgraded, 1 newly installed, 0 to remove and 26 not upgraded.
1 not fully installed or removed.
Need to get 4.066 B of archives.
After this operation, 26,6 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/morphis/anbox-support/ubuntu xenial/main amd64 anbox-common all 9~xenial1 [4.066 B]
Fetched 4.066 B in 0s (6.744 B/s)
Selecting previously unselected package anbox-common.
(Reading database ... 351318 files and directories currently installed.)
Preparing to unpack .../anbox-common_9~xenial1_all.deb ...
Unpacking anbox-common (9~xenial1) ...
Setting up pantheon-terminal (0.4.3+r1069+pkg51~daily~ubuntu16.04.1) ...
update-alternatives: error: alternative path /usr/bin/io.elementary.terminal doesn't exist
dpkg: error processing package pantheon-terminal (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up anbox-common (9~xenial1) ...
Errors were encountered while processing:
pantheon-terminal
E: Sub-process /usr/bin/dpkg returned an error code (1)
+ 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








Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts