Open Kisaragi-ng opened 3 years ago
Thank you for providing this awesome work. I was trying to install this debian into my termux (Android 7), however there was an error:
~ $ chmod u+x debian_on_termux.sh ~ $ ./debian_on_termux.sh ======== DO_FIRST_STAGE ======== Selecting previously unselected package libksba. (Reading database ... 3941 files and directories currently installed.) Preparing to unpack .../0-libksba_1.6.0_arm.deb ... Unpacking libksba (1.6.0) ... Selecting previously unselected package libsqlite. Preparing to unpack .../1-libsqlite_3.36.0_arm.deb ... Unpacking libsqlite (3.36.0) ... Selecting previously unselected package pinentry. Preparing to unpack .../2-pinentry_1.1.1_arm.deb ... Unpacking pinentry (1.1.1) ... Selecting previously unselected package resolv-conf. Preparing to unpack .../3-resolv-conf_1.3_arm.deb ... Unpacking resolv-conf (1.3) ... Selecting previously unselected package gnupg. Preparing to unpack .../4-gnupg_2.3.1-1_arm.deb ... Unpacking gnupg (2.3.1-1) ... Selecting previously unselected package libtalloc. Preparing to unpack .../5-libtalloc_2.3.3_arm.deb ... Unpacking libtalloc (2.3.3) ... Selecting previously unselected package perl. Preparing to unpack .../6-perl_5.34.0_arm.deb ... Unpacking perl (5.34.0) ... Selecting previously unselected package proot. Preparing to unpack .../7-proot_5.1.107-40_arm.deb ... Unpacking proot (5.1.107-40) ... Setting up libksba (1.6.0) ... Setting up resolv-conf (1.3) ... Setting up libsqlite (3.36.0) ... Setting up perl (5.34.0) ... Setting up pinentry (1.1.1) ... Setting up libtalloc (2.3.3) ... Setting up gnupg (2.3.1-1) ... Setting up proot (5.1.107-40) ... patching file functions Hunk #1 succeeded at 1169 (offset 15 lines). Hunk #2 succeeded at 1289 (offset 20 lines). Hunk #3 succeeded at 1619 (offset 22 lines). Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). Executing: /data/data/com.termux/files/usr/tmp/apt-key-gpghome.NK3sy9RRHp/gpg.1.sh --recv-keys DCC9EFBF77E11517 gpg: keyserver receive failed: No name termux-info: Application version: 0.114 Packages CPU architecture: arm Subscribed repositories: # sources.list deb https://packages.termux.org/apt/termux-main/ stable main # game-repo (sources.list.d/game.list) deb https://packages.termux.org/apt/termux-games games stable # science-repo (sources.list.d/science.list) deb https://packages.termux.org/apt/termux-science science stable Updatable packages: All packages up to date Android version: 7.0 Kernel build information: Linux localhost 4.4.49 #1 SMP PREEMPT Wed Jun 19 10:50:29 CST 2019 armv7l Android Device manufacturer: ADVAN Device model: i7U
after examining the script, it seems these commands caused error (both due to deprecation and keyserver failed to receive key)
(...) apt-key adv --recv-keys DCC9EFBF77E11517 (...) apt-key adv --recv-keys 648ACFD622F3D138
replacing both of them seems fixed the issue
gpg --keyserver keyserver.ubuntu.com --recv-keys DCC9EFBF77E11517 ... gpg --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138
I will provide pull request soon
i could be wrong but i think you should be using "debian_on_termux_10.sh" for android 7
Thank you for providing this awesome work. I was trying to install this debian into my termux (Android 7), however there was an error:
after examining the script, it seems these commands caused error (both due to deprecation and keyserver failed to receive key)
replacing both of them seems fixed the issue
I will provide pull request soon