Advertisement
Guest User

Untitled

a guest
Apr 20th, 2018
424
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.10 KB | None | 0 0
  1. infinity@shell:~$ sudo snap install --classic anbox-installer && anbox-installer
  2. anbox-installer 1 from 'morphis' installed
  3. Anbox (Android in a Box) - Installer
  4.  
  5.  
  6. IMPORTANT: THIS IS ALPHA LEVEL SOFTWARE. EXPECT INSTABILITY AND
  7. BUGS !!!!!
  8.  
  9. IMPORTANT: ALSO PLEASE BE AWARE THAT WE DON'T PROVIDE FULL
  10. CONFINEMENT FOR THE SNAP YET !!!!
  11.  
  12.  
  13. PLEASE NOTE: This script will require root access on your system
  14. to install all necessary things. It will prompt you to enter your
  15. password when required.
  16.  
  17.  
  18.  
  19. What do you want to do?
  20.  
  21. 1. Install Anbox
  22. 2. Uninstall Anbox
  23.  
  24. Please enter your choice [1-2]:
  25. 1
  26.  
  27.  
  28. This is the installer for the anbox runtime environment. It will
  29. install certain things on your system to ensure all requirements
  30. are available for anbox to work correctly.
  31.  
  32. In summary we will install the following things:
  33.  
  34. * Add the anbox-support ppa ppa:morphis/anbox-support to the
  35. host system
  36. * Install the anbox-modules-dkms deb package from the ppa
  37. which will add kernel modules for ashmem and binder which are
  38. required for the Android container to work.
  39. * Configure binder and ashmem kernel modules to be loaded
  40. automatically on boot.
  41. * Install the anbox-common package from the ppa which will
  42. - Add an upstart job for the current user infinity which will
  43. start the anbox runtime on login.
  44. - Add a X11 session configuration file to allow the system
  45. application launcher (Unity7, Gnome Shell, ..) to find
  46. available Android applications.
  47.  
  48. Please type 'I AGREE' followed by pressing ENTER to continue
  49. or type anything else to abort:
  50. I AGREE
  51.  
  52.  
  53. Starting installation process ...
  54.  
  55. + sudo add-apt-repository -y ppa:morphis/anbox-support
  56. gpg: portachiavi "/tmp/tmpaa9s916h/secring.gpg" creato
  57. gpg: portachiavi "/tmp/tmpaa9s916h/pubring.gpg" creato
  58. gpg: richiesta della chiave 875B67B7 dal server hkp keyserver.ubuntu.com
  59. gpg: /tmp/tmpaa9s916h/trustdb.gpg: creato il trustdb
  60. gpg: chiave 875B67B7: chiave pubblica "Launchpad PPA for morphis" importata
  61. gpg: Numero totale esaminato: 1
  62. gpg: importate: 1 (RSA: 1)
  63. OK
  64. + sudo apt update
  65. Trovato:1 http://repo.steampowered.com/steam precise InRelease
  66. Trovato:2 http://it.archive.ubuntu.com/ubuntu xenial InRelease
  67. Trovato:3 http://security.ubuntu.com/ubuntu xenial-security InRelease
  68. Trovato:4 http://ppa.launchpad.net/atareao/atareao/ubuntu xenial InRelease
  69. Trovato:5 http://repository.spotify.com stable InRelease
  70. Trovato:6 http://it.archive.ubuntu.com/ubuntu xenial-updates InRelease
  71. Trovato:7 http://linux.teamviewer.com/deb stable InRelease
  72. Trovato:8 http://it.archive.ubuntu.com/ubuntu xenial-backports InRelease
  73. Trovato:9 http://ppa.launchpad.net/atareao/telegram/ubuntu xenial InRelease
  74. Trovato:10 http://linux.teamviewer.com/deb preview InRelease
  75. Trovato:11 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial InRelease
  76. Trovato:12 http://ppa.launchpad.net/gambas-team/gambas3/ubuntu xenial InRelease
  77. Trovato:13 http://ppa.launchpad.net/i-nex-development-team/daily/ubuntu xenial InRelease
  78. Ign:14 http://download.ebz.epson.net/dsc/op/stable/debian lsb3.2 InRelease
  79. Scaricamento di:15 http://ppa.launchpad.net/morphis/anbox-support/ubuntu xenial InRelease [17,5 kB]
  80. Trovato:16 http://ppa.launchpad.net/noobslab/apps/ubuntu xenial InRelease
  81. Trovato:17 http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu xenial InRelease
  82. Trovato:18 http://download.ebz.epson.net/dsc/op/stable/debian lsb3.2 Release
  83. Trovato:19 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial InRelease
  84. Trovato:20 http://ppa.launchpad.net/webupd8team/haguichi/ubuntu xenial InRelease
  85. Trovato:21 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
  86. Trovato:22 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease
  87. Trovato:23 http://ppa.launchpad.net/wine/wine-builds/ubuntu xenial InRelease
  88. Trovato:24 https://repo.windscribe.com/ubuntu xenial InRelease
  89. Trovato:25 https://dl.winehq.org/wine-builds/ubuntu xenial InRelease
  90. Scaricamento di:26 http://ppa.launchpad.net/morphis/anbox-support/ubuntu xenial/main amd64 Packages [656 B]
  91. Scaricamento di:27 http://ppa.launchpad.net/morphis/anbox-support/ubuntu xenial/main i386 Packages [656 B]
  92. Scaricamento di:28 http://ppa.launchpad.net/morphis/anbox-support/ubuntu xenial/main Translation-en [368 B]
  93. Recuperati 19,2 kB in 13s (1.449 B/s)
  94. Lettura elenco dei pacchetti... Fatto
  95. Generazione albero delle dipendenze
  96. Lettura informazioni sullo stato... Fatto
  97. Tutti i pacchetti sono aggiornati.
  98. W: http://download.ebz.epson.net/dsc/op/stable/debian/dists/lsb3.2/Release.gpg: Signature by key E5220FB7014D0FBDA50DFC2BE5E86C008AA65D56 uses weak digest algorithm (SHA1)
  99. + sudo apt install -y anbox-common
  100. Lettura elenco dei pacchetti... Fatto
  101. Generazione albero delle dipendenze
  102. Lettura informazioni sullo stato... Fatto
  103. I seguenti pacchetti sono stati installati automaticamente e non sono più richiesti:
  104. dkms linux-headers-4.13.0-32 linux-headers-4.13.0-32-generic
  105. linux-headers-4.13.0-36 linux-headers-4.13.0-36-generic
  106. linux-image-4.13.0-32-generic linux-image-4.13.0-36-generic
  107. linux-image-extra-4.13.0-32-generic linux-image-extra-4.13.0-36-generic
  108. linux-signed-image-4.13.0-32-generic linux-signed-image-4.13.0-36-generic
  109. Usare "sudo apt autoremove" per rimuoverli.
  110. I seguenti pacchetti NUOVI saranno installati:
  111. anbox-common
  112. 0 aggiornati, 1 installati, 0 da rimuovere e 0 non aggiornati.
  113. È necessario scaricare 4.066 B di archivi.
  114. Dopo quest'operazione, verranno occupati 26,6 kB di spazio su disco.
  115. Scaricamento di:1 http://ppa.launchpad.net/morphis/anbox-support/ubuntu xenial/main amd64 anbox-common all 9~xenial1 [4.066 B]
  116. Recuperati 4.066 B in 0s (34,9 kB/s)
  117. Selezionato il pacchetto anbox-common non precedentemente selezionato.
  118. (Lettura del database... 348494 file e directory attualmente installati.)
  119. Preparativi per estrarre .../anbox-common_9~xenial1_all.deb...
  120. Estrazione di anbox-common (9~xenial1)...
  121. Configurazione di anbox-common (9~xenial1)...
  122. + '[' -c /dev/binder ']'
  123. + sudo apt install -y linux-headers-generic anbox-modules-dkms
  124. Lettura elenco dei pacchetti... Fatto
  125. Generazione albero delle dipendenze
  126. Lettura informazioni sullo stato... Fatto
  127. linux-headers-generic is already the newest version (4.4.0.119.125).
  128. I seguenti pacchetti sono stati installati automaticamente e non sono più richiesti:
  129. linux-headers-4.13.0-32 linux-headers-4.13.0-32-generic
  130. linux-headers-4.13.0-36 linux-headers-4.13.0-36-generic
  131. linux-image-4.13.0-32-generic linux-image-4.13.0-36-generic
  132. linux-image-extra-4.13.0-32-generic linux-image-extra-4.13.0-36-generic
  133. linux-signed-image-4.13.0-32-generic linux-signed-image-4.13.0-36-generic
  134. Usare "sudo apt autoremove" per rimuoverli.
  135. I seguenti pacchetti NUOVI saranno installati:
  136. anbox-modules-dkms
  137. 0 aggiornati, 1 installati, 0 da rimuovere e 0 non aggiornati.
  138. È necessario scaricare 38,4 kB di archivi.
  139. Dopo quest'operazione, verranno occupati 218 kB di spazio su disco.
  140. Scaricamento di:1 http://ppa.launchpad.net/morphis/anbox-support/ubuntu xenial/main amd64 anbox-modules-dkms all 9~xenial1 [38,4 kB]
  141. Recuperati 38,4 kB in 0s (220 kB/s)
  142. Selezionato il pacchetto anbox-modules-dkms non precedentemente selezionato.
  143. (Lettura del database... 348498 file e directory attualmente installati.)
  144. Preparativi per estrarre .../anbox-modules-dkms_9~xenial1_all.deb...
  145. Estrazione di anbox-modules-dkms (9~xenial1)...
  146. Configurazione di anbox-modules-dkms (9~xenial1)...
  147. Removing old anbox-modules-ashmem-9~xenial1 DKMS files...
  148.  
  149. -------- Uninstall Beginning --------
  150. Module: anbox-modules-ashmem
  151. Version: 9~xenial1
  152. Kernel: 4.13.0-38-generic (x86_64)
  153. -------------------------------------
  154.  
  155. Status: Before uninstall, this module version was ACTIVE on this kernel.
  156.  
  157. ashmem_linux.ko:
  158. - Uninstallation
  159. - Deleting from: /lib/modules/4.13.0-38-generic/updates/dkms/
  160. - Original module
  161. - No original module was found for this module on this kernel.
  162. - Use the dkms install command to reinstall any previous module version.
  163.  
  164. depmod....
  165.  
  166. DKMS: uninstall completed.
  167.  
  168. ------------------------------
  169. Deleting module version: 9~xenial1
  170. completely from the DKMS tree.
  171. ------------------------------
  172. Done.
  173. Loading new anbox-modules-ashmem-9~xenial1 DKMS files...
  174. First Installation: checking all kernels...
  175. Building only for 4.13.0-38-generic
  176. Building for architecture x86_64
  177. Building initial module for 4.13.0-38-generic
  178. Done.
  179.  
  180. ashmem_linux:
  181. Running module version sanity check.
  182. - Original module
  183. - No original module exists within this kernel
  184. - Installation
  185. - Installing to /lib/modules/4.13.0-38-generic/updates/dkms/
  186.  
  187. depmod.....
  188.  
  189. DKMS: install completed.
  190. Removing old anbox-modules-binder-9~xenial1 DKMS files...
  191.  
  192. -------- Uninstall Beginning --------
  193. Module: anbox-modules-binder
  194. Version: 9~xenial1
  195. Kernel: 4.13.0-38-generic (x86_64)
  196. -------------------------------------
  197.  
  198. Status: Before uninstall, this module version was ACTIVE on this kernel.
  199.  
  200. binder_linux.ko:
  201. - Uninstallation
  202. - Deleting from: /lib/modules/4.13.0-38-generic/updates/dkms/
  203. - Original module
  204. - No original module was found for this module on this kernel.
  205. - Use the dkms install command to reinstall any previous module version.
  206.  
  207. depmod.....
  208.  
  209. DKMS: uninstall completed.
  210.  
  211. ------------------------------
  212. Deleting module version: 9~xenial1
  213. completely from the DKMS tree.
  214. ------------------------------
  215. Done.
  216. Loading new anbox-modules-binder-9~xenial1 DKMS files...
  217. First Installation: checking all kernels...
  218. Building only for 4.13.0-38-generic
  219. Building for architecture x86_64
  220. Building initial module for 4.13.0-38-generic
  221. Done.
  222.  
  223. binder_linux:
  224. Running module version sanity check.
  225. - Original module
  226. - No original module exists within this kernel
  227. - Installation
  228. - Installing to /lib/modules/4.13.0-38-generic/updates/dkms/
  229.  
  230. depmod....
  231.  
  232. DKMS: install completed.
  233. Elaborazione dei trigger per shim-signed (1.33.1~16.04.1+13-0ubuntu2)...
  234. The Secure Boot policy was already changed since last reboot; nothing to do.
  235. + sudo modprobe binder_linux
  236. modprobe: ERROR: could not insert 'binder_linux': Required key not available
  237. + cleanup
  238. + local err=1
  239. + trap - EXIT
  240. + echo 'ERROR: Installation failed. Removing all parts of Anbox again.'
  241. ERROR: Installation failed. Removing all parts of Anbox again.
  242. + uninstall
  243. + set -x
  244. + sudo snap remove anbox
  245. snap "anbox" is not installed
  246. + '[' -e /etc/apt/sources.list.d/morphis-ubuntu-anbox-support-xenial.list ']'
  247. + ppa_purged_installed=0
  248. + dpkg --get-selections
  249. + grep -q ppa-purge
  250. + sudo apt install -y ppa-purge
  251. Lettura elenco dei pacchetti... Fatto
  252. Generazione albero delle dipendenze
  253. Lettura informazioni sullo stato... Fatto
  254. ppa-purge is already the newest version (0.2.8+bzr63).
  255. I seguenti pacchetti sono stati installati automaticamente e non sono più richiesti:
  256. linux-headers-4.13.0-32 linux-headers-4.13.0-32-generic
  257. linux-headers-4.13.0-36 linux-headers-4.13.0-36-generic
  258. linux-image-4.13.0-32-generic linux-image-4.13.0-36-generic
  259. linux-image-extra-4.13.0-32-generic linux-image-extra-4.13.0-36-generic
  260. linux-signed-image-4.13.0-32-generic linux-signed-image-4.13.0-36-generic
  261. Usare "sudo apt autoremove" per rimuoverli.
  262. 0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
  263. + sudo ppa-purge -y ppa:morphis/anbox-support
  264. Updating packages lists
  265. W: http://download.ebz.epson.net/dsc/op/stable/debian/dists/lsb3.2/Release.gpg: Signature by key E5220FB7014D0FBDA50DFC2BE5E86C008AA65D56 uses weak digest algorithm (SHA1)
  266. PPA to be removed: morphis anbox-support
  267. Package revert list generated:
  268. anbox-common- anbox-modules-dkms-
  269.  
  270. Disabling morphis PPA from
  271. /etc/apt/sources.list.d/morphis-ubuntu-anbox-support-xenial.list
  272. Updating packages lists
  273. W: http://download.ebz.epson.net/dsc/op/stable/debian/dists/lsb3.2/Release.gpg: Signature by key E5220FB7014D0FBDA50DFC2BE5E86C008AA65D56 uses weak digest algorithm (SHA1)
  274. Lettura elenco dei pacchetti... Fatto
  275. Generazione albero delle dipendenze
  276. Lettura informazioni sullo stato... Fatto
  277. I seguenti pacchetti sono stati installati automaticamente e non sono più richiesti:
  278. dkms linux-headers-4.13.0-32 linux-headers-4.13.0-32-generic
  279. linux-headers-4.13.0-36 linux-headers-4.13.0-36-generic
  280. linux-image-4.13.0-32-generic linux-image-4.13.0-36-generic
  281. linux-image-extra-4.13.0-32-generic linux-image-extra-4.13.0-36-generic
  282. linux-signed-image-4.13.0-32-generic linux-signed-image-4.13.0-36-generic
  283. Usare "sudo apt autoremove" per rimuoverli.
  284. I seguenti pacchetti saranno RIMOSSI:
  285. anbox-common anbox-modules-dkms
  286. 0 aggiornati, 0 installati, 2 da rimuovere e 0 non aggiornati.
  287. Dopo quest'operazione, verranno liberati 245 kB di spazio su disco.
  288. (Lettura del database... 348516 file e directory attualmente installati.)
  289. Rimozione di anbox-common (9~xenial1)...
  290. Rimozione di anbox-modules-dkms (9~xenial1)...
  291. W: --force-yes is deprecated, use one of the options starting with --allow instead.
  292. PPA purged successfully
  293. + '[' 0 -eq 1 ']'
  294. + set +x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement