Каждый раз, когда я пытаюсь установить Anbox на своей машине Xubuntu 17.10, я получаю следующую ошибку:
error: cannot install "anbox-installer": Post https://api.snapcraft.io/v2/snaps/refresh: dial tcp:
lookup api.snapcraft.io on [::1]:53: read udp [::1]:39062->[::1]:53: read: connection
refused
Для визуального представления: https://asciinema.org/a/Pisk1bKivlX9ihvE9Pn64cbhC
Ваша проблема, кажется, проблема сетевого соединения.
И обратите внимание на то, что Ubuntu 17.10 скоро будет EOL, рассмотреть для обновления его до 18.04 LTS.
В моих 18.04 системах LTS я получаю следующее:
mate@bionic:~$ snap install --classic anbox-installer
anbox-installer 1 from 'morphis' installed
mate@bionic:~$ anbox-installer
The anbox-installer is deprecated. Please find updated installation
instructions here https://github.com/anbox/anbox/blob/master/docs/install.md
For any further questions please ask on the #anbox IRC channel on the
FreeNode network or in the Anbox telegram group (https://t.me/anbox).
При посещении https://github.com/anbox/anbox/blob/master/docs/install.md дает нам новую инструкцию по установке:
sudo add-apt-repository ppa:morphis/anbox-support
sudo apt update
sudo apt install anbox-modules-dkms
sudo modprobe ashmem_linux
sudo modprobe binder_linux
snap install --devmode --beta anbox
Затем консультируйтесь с официальной документацией об установке программного обеспечения или просто работайте anbox.appmgr
.