Hi evereyone, i’ve installed anbox on my opensuse leap 15.2, but after installation didn’t star.
I’ve try to install DKMS package from PPA and modify startup command in anbox session-manager, but didn’t work!
the output code when i write
anbox session-manager
on console is
2020-09-25 14:53:13] [daemon.cpp:61@Run] Failed to connect to socket /run/anbox-container.socket: No such file or directory
Hello thanks for the welcome, Anbox doesn’t have an official repo for Opensuse leap, but there are downloadable community packages here: https://software.opensuse.org/package/anbox
To install it I followed the instructions via one-click installation
after which the program did not start, so I searched the web for some solution
one solution I found was to install the DKMS package from PPA and modify startup command in anbox session-manager
Thanks to allone solution I found was to install the DKMS package from PPA
When you found it there (still wonderimg why I didn’t) and used the one-click install, you installed it from a repository. It is a home repository, which means that it is maintained by an individual (Dead_Mozay).
You probably are now subscribed to that repository. You could check with
zypper lr -d
When you want advice on that output, please post it here. *)
When you install from such a repo, it normally should install automatically all that is needed for it to function. Thus when you are missing something, the RMP there is not properly constructed. You should try to contact Dead_Mozay for this. I clicked bit around there (after login using the same credentials as here) and found an e-mail address: dead_mozay(at)opensuse.org.
*)
Because you are new here, allow me to point you to the following:
There is an important, but not easy to find feature on the forums.
Please in the future use CODE tags around copied/pasted computer text in a post. It is the # button in the tool bar of the post editor. When applicable copy/paste complete, that is including the prompt, the command, the output and the next prompt.
I do not know how this happened (the one-click install has some drawbacks), but the first two there are identical (look at the URIs). So better remove one of them.
I would suggest to remove #1, because that has the silly long name:
zypper se -sir https://download.opensuse.org/repositories/home:/Dead_Mozay:/anbox/openSUSE_Leap_15.2/
Caricamento dati del repository in corso...
Lettura dei pacchetti installati in corso...
S | Nome | Tipo | Versione | Arch. | Repository
---+--------------------+-----------+-----------------------------------------------+--------+--------------------------------------------------------------------------------------------------------------------------------
i+ | anbox | pacchetto | 0.0.1-lp152.1.8 | x86_64 | Anbox is container based approach to boot a full Android system on a regular GNU Linux system like Ubuntu. (openSUSE_Leap_15.2)
i | anbox-kmp-default | pacchetto | 0.0.1.git20191114_k5.3.18_lp152.19-lp152.7.37 | x86_64 | Anbox is container based approach to boot a full Android system on a regular GNU Linux system like Ubuntu. (openSUSE_Leap_15.2)
i+ | anbox-modules-dkms | pacchetto | 0.0.1.git20191114-lp152.8.32 | noarch | Anbox is container based approach to boot a full Android system on a regular GNU Linux system like Ubuntu. (openSUSE_Leap_15.2)
zypper se -s dkms
Il repository 'Repository degli aggiornamenti (Debug)' non è aggiornato. È possibile eseguire 'zypper refresh' da root per aggiornarlo.
Il repository 'Repository principale degli aggiornamenti' non è aggiornato. È possibile eseguire 'zypper refresh' da root per aggiornarlo.
Caricamento dati del repository in corso...
Lettura dei pacchetti installati in corso...
S | Nome | Tipo | Versione | Arch. | Repository
---+--------------------+--------------------+------------------------------+--------+--------------------------------------------------------------------------------------------------------------------------------
i+ | anbox-modules-dkms | pacchetto | 0.0.1.git20191114-lp152.8.32 | noarch | Anbox is container based approach to boot a full Android system on a regular GNU Linux system like Ubuntu. (openSUSE_Leap_15.2)
i+ | anbox-modules-dkms | pacchetto | 0.0.1.git20191114-lp152.8.32 | noarch | home:Dead_Mozay:anbox
| anbox-modules-dkms | pacchetto sorgente | 0.0.1.git20191114-lp152.8.32 | noarch | Anbox is container based approach to boot a full Android system on a regular GNU Linux system like Ubuntu. (openSUSE_Leap_15.2)
| anbox-modules-dkms | pacchetto sorgente | 0.0.1.git20191114-lp152.8.32 | noarch | home:Dead_Mozay:anbox
i | dkms | pacchetto | 2.3-lp152.3.2 | noarch | openSUSE-Leap-15.2-1
i | dkms | pacchetto | 2.3-lp152.3.2 | noarch | Repository principale
| dkms | pacchetto sorgente | 2.3-lp152.3.2 | noarch | Repository dei sorgenti
sudo zypper rr 1
Rimozione del repository 'Anbox is container based approach to boot a full Android system on a regular GNU Linux system like Ubuntu. (openSUSE_Leap_15.2)' ..............................[fine]
Il repository 'Anbox is container based approach to boot a full Android system on a regular GNU Linux system like Ubuntu. (openSUSE_Leap_15.2)' è stato rimosso.
:~>anbox
NAME:
anbox - anbox
USAGE:
anbox [command options] [arguments...]
COMMANDS:
wait-ready Wait until the Android system has successfully booted
help prints a short help message
session-manager Run the the anbox session manager
launch Launch an Activity by sending an intent
check-features Check that the host system supports all necessary features
system-info Print various information about the system we're running on
version print the version of the daemon
localhost:~> anbox version
anbox local-fatal: not a git repository (or any of the parent directories): .git
LANG=C zypper in -f anbox-kmp-defaul anbox-modules
Loading repository data...
Reading installed packages...
Package 'anbox-kmp-defaul' not found.
Forcing installation of 'anbox-modules-0.0.1.git20191114-lp152.7.37.x86_64' from repository 'home:Dead_Mozay:anbox'.
Resolving package dependencies...
The following package is going to be reinstalled:
anbox-modules
1 package to reinstall.
Overall download size: 7.9 KiB. Already cached: 0 B. No additional space will be used or freed after the operation.
Continue? [y/n/v/...? shows all options] (y): s
: Invalid answer 's'.
[y/n/v/...? shows all options] (y): y
Retrieving package anbox-modules-0.0.1.git20191114-lp152.7.37.x86_64 (1/1), 7.9 KiB ( 109 B unpacked)
Retrieving: anbox-modules-0.0.1.git20191114-lp152.7.37.x86_64.rpm ......................................................[done]
Checking for file conflicts: ...........................................................................................[done]
(1/1) Installing: anbox-modules-0.0.1.git20191114-lp152.7.37.x86_64 ....................................................[done]
Installation has completed with error.
snappy
LANG=C zypper ar -f https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_15.2/ snappy
Adding repository 'snappy' ............................................................................................[error]
Repository named 'snappy' already exists. Please use another alias.
snapd
LANG=C zypper in snap
Retrieving repository 'snappy' metadata -----------------------------------------------------------------------------------\]
New repository or package signing key received:
Repository: snappy
Key Name: system:snappy OBS Project <system:snappy@build.opensuse.org>
Key Fingerprint: 4F2FA05B 2C6589C3 FD12055E F7C6E425 ED340235
Key Created: Wed Sep 5 12:57:20 2018
Key Expires: Fri Nov 13 11:57:20 2020 (expires in 44 days)
Rpm Name: gpg-pubkey-ed340235-5b8fb690
Do you want to reject the key, trust temporarily, or trust always? [r/t/a/?] (r): a
Retrieving repository 'snappy' metadata ................................................................................[done]
Building repository 'snappy' cache .....................................................................................[done]
Loading repository data...
Reading installed packages...
'snap' not found in package names. Trying capabilities.
No provider of 'snap' found.
Resolving package dependencies...
Nothing to do.
snapd.service
systemctl enable snapd.service
Failed to enable unit: Unit file snapd.service does not exist.
install anbox
LANG=C snap install --devmode --beta anbox
If 'snap' is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf snap
cnf snap
cnf snap
The program 'snap' can be found in the following package:
* snapd path: /usr/bin/snap, repository: zypp (snappy) ]
Try installing with:
zypper install snapd
now snap it’s done
zypper install snapd
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following 2 NEW packages are going to be installed:
snapd squashfs
2 new packages to install.
Overall download size: 13.8 MiB. Already cached: 0 B. After the operation, additional 64.1 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving package squashfs-4.3-lp152.3.6.x86_64 (1/2), 133.1 KiB (351.1 KiB unpacked)
Retrieving: squashfs-4.3-lp152.3.6.x86_64.rpm ............................................................[done (252.1 KiB/s)]
Retrieving package snapd-2.46-lp152.1.1.x86_64 (2/2), 13.7 MiB ( 63.7 MiB unpacked)
Retrieving: snapd-2.46-lp152.1.1.x86_64.rpm ................................................................[done (1.2 MiB/s)]
Checking for file conflicts: ...........................................................................................[done]
(1/2) Installing: squashfs-4.3-lp152.3.6.x86_64 ........................................................................[done]
(2/2) Installing: snapd-2.46-lp152.1.1.x86_64 ..........................................................................[done]
Additional rpm output:
Please reboot, logout/login or source /etc/profile to have /snap/bin added to PATH.
On a Tumbleweed system you need to run: systemctl enable snapd.apparmor.service
snap install --devmode --beta anbox
2020-09-29T17:49:08+02:00 INFO Waiting for automatic snapd restart...
Warning: /snap/bin was not found in your $PATH. If you've not restarted your session since you
installed snapd, try doing that. Please see https://forum.snapcraft.io/t/9469 for more
details.
anbox (beta) 4-56c25f1 from morphis installed
i’ve done logout and login
anbox refresh
snap refresh --beta --devmode anbox
snap "anbox" has no updates available
after this anbox doesn’t start, anbox open —> loading screen ----> it close