- Не работает apt upgrade и apt update в termux
- Вот это выводит
- Pkg update & pkg install error #3886
- Comments
- ghost commented May 26, 2019
- xeffyr commented May 26, 2019
- xeffyr commented May 26, 2019
- gemini4545 commented Aug 1, 2019
- Grimler91 commented Aug 1, 2019
- gemini4545 commented Aug 1, 2019
- 403 forbidden while update or pkg Install #1283
- Comments
- th3unkn0n commented Oct 1, 2019
- Grimler91 commented Oct 1, 2019
- xx-anonymous commented May 2, 2021 •
- xx-anonymous commented May 8, 2021
- apt upgrade (or pkg upgrade) #3724
- Comments
- Exaltat1on commented Apr 27, 2019
- xeffyr commented Apr 27, 2019
Не работает apt upgrade и apt update в termux
У меня не работают команды apt и выдают ошибку: $ apt-get upgrade Reading package lists… Error! E: Couldn’t create temporary file to work with /data/data/com.termux/files/usr/var/lib/apt/lists/termux.org_packages_dists_stable_Release — mkstemp (2: No such file or directory) E: The package lists or status file could not be parsed or opened.
Разберись почему apt не может создать temporary file, возможно места нет на диске, не хватает прав, или файловая система смонтирована только для чтения. Освой уже переводчик, apt же на чистом английском говорит тебе что ему не нравится. Тебе нужно всего лишь понять и исправить. Судя по $ ты apt от юзера запускаешь. Запускай от рута, у юзера прав не хватает.
Там не надо от рута, вы не понимаете суть Termux
Я даже не знаю что это такое. Вижу что apt временный файл создать не может, вот и предположил. Погуглил, тёмный лес для меня, андроид. Зря влез, извиняюсь.
В termux попробуй использовать pkg update и pkg upgrade .
Но скорее это одно и то же там 🙂
При этих командах такая же ошибка
А баг похож на твой? Там какое-то решение приводится,кажется
Вот это выводит
Ign:2 https://dl.bintray.com/grimler/game-packages-24 games InRelease Ign:3 https://dl.bintray.com/grimler/science-packages-24 science InRelease Ign:4 https://dl.bintray.com/xeffyr/unstable-packages unstable InRelease Ign:1 https://dl.bintray.com/termux/termux-packages-24 stable InRelease Get:6 https://dl.bintray.com/grimler/game-packages-24 games Release [5344 B] Get:7 https://dl.bintray.com/grimler/science-packages-24 science Release [6191 B] Get:8 https://dl.bintray.com/xeffyr/unstable-packages unstable Release [6065 B] Get:5 https://dl.bintray.com/termux/termux-packages-24 stable Release [6061 B] Get:9 https://dl.bintray.com/grimler/game-packages-24 games Release.gpg [475 B] Get:10 https://dl.bintray.com/grimler/science-packages-24 science Release.gpg [475 B] Err:9 https://dl.bintray.com/grimler/game-packages-24 games Release.gpg Couldn’t create temporary file /data/data/com.termux/files/usr/tmp/apt.conf.La09AA for passing config to apt-key Err:10 https://dl.bintray.com/grimler/science-packages-24 science Release.gpg Couldn’t create temporary file /data/data/com.termux/files/usr/tmp/apt.conf.ZXTUuK for passing config to apt-key Get:11 https://dl.bintray.com/xeffyr/unstable-packages unstable Release.gpg [821 B] Err:11 https://dl.bintray.com/xeffyr/unstable-packages unstable Release.gpg Couldn’t create temporary file /data/data/com.termux/files/usr/tmp/apt.conf.LpsX6h for passing config to apt-key Get:12 https://dl.bintray.com/termux/termux-packages-24 stable Release.gpg [821 B] Err:12 https://dl.bintray.com/termux/termux-packages-24 stable Release.gpg Couldn’t create temporary file /data/data/com.termux/files/usr/tmp/apt.conf.zdX2SJ for passing config to apt-key Fetched 26.3 kB in 1s (18.4 kB/s) Reading package lists… Error! W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.bintray.com/grimler/game-packages-24 games Release: Couldn’t create temporary file /data/data/com.termux/files/usr/tmp/apt.conf.La09AA for passing config to apt-key W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.bintray.com/grimler/science-packages-24 science Release: Couldn’t create temporary file /data/data/com.termux/files/usr/tmp/apt.conf.ZXTUuK for passing config to apt-key W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.bintray.com/xeffyr/unstable-packages unstable Release: Couldn’t create temporary file /data/data/com.termux/files/usr/tmp/apt.conf.LpsX6h for passing config to apt-key W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.bintray.com/termux/termux-packages-24 stable Release: Couldn’t create temporary file /data/data/com.termux/files/usr/tmp/apt.conf.zdX2SJ for passing config to apt-key W: Failed to fetch https://dl.bintray.com/grimler/game-packages-24/dists/games/Release.gpg Couldn’t create temporary file /data/data/com.termux/files/usr/tmp/apt.conf.La09AA for passing config to apt-key W: Failed to fetch https://dl.bintray.com/grimler/science-packages-24/dists/science/Release.gpg Couldn’t create temporary file /data/data/com.termux/files/usr/tmp/apt.conf.ZXTUuK for passing config to apt-key W: Failed to fetch https://dl.bintray.com/xeffyr/unstable-packages/dists/unstable/Release.gpg Couldn’t create temporary file /data/data/com.termux/files/usr/tmp/apt.conf.LpsX6h for passing config to apt-key W: Failed to fetch https://termux.org/packages/dists/stable/Release.gpg Couldn’t create temporary file /data/data/com.termux/files/usr/tmp/apt.conf.zdX2SJ for passing config to apt-key W: Some index files failed to download. They have been ignored, or old ones used instead. E: Couldn’t create temporary file to work with /data/data/com.termux/files/usr/var/lib/apt/lists/termux.org_packages_dists_stable_Release — mkstemp (2: No such file or directory) E: The package lists or status file could not be parsed or opened.
Если что-то не работает, значит оно не должно работать.
Поработай за него ^ автора apt-get
У меня идентично такая же ошибка. Решения пока не нашёл. Если найдёте решение — обязательно отпишитесь.
Источник
Pkg update & pkg install error #3886
Comments
ghost commented May 26, 2019
Reading package lists. Done
W: GPG error: https://dl.bintray.com/grimler/game-packages-21 games Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 5AAAC9E0A46BE53C
E: The repository ‘https://dl.bintray.com/grimler/game-packages-21 games Release’ 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: https://dl.bintray.com/grimler/science-packages-21 science Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 5AAAC9E0A46BE53C
E: The repository ‘https://dl.bintray.com/grimler/science-packages-21 science Release’ 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.
The text was updated successfully, but these errors were encountered:
xeffyr commented May 26, 2019
Use apt install termux-keyring for temporary workaround (installs even with these warnings/errors).
xeffyr commented May 26, 2019
Bootstrap packages fixed, so on re-installation of Termux app this error will no longer appear.
If you did apt install termux-keyring , you also should be okay and no further steps required.
gemini4545 commented Aug 1, 2019
Bootstrap packages fixed, so on re-installation of Termux app this error will no longer appear.
If you did apt install termux-keyring , you also should be okay and no further steps required.
I’ve tried the apt install termux-keyring, but there’s error as below:
apt update
Hit:1 http://mirrors.tuna.tsinghua.edu.cn/termux stable InRelease
Ign:2 https://dl.bintray.com/grimler/game-packages-24 games InRelease
Ign:3 https://dl.bintray.com/grimler/science-packages-21 science InRelease
Get:4 https://its-pointless.github.io/files termux InRelease [9176 B]
Get:5 https://dl.bintray.com/grimler/game-packages-24 games Release [5344 B]
Hit:5 https://dl.bintray.com/grimler/game-packages-24 games Release
Err:4 https://its-pointless.github.io/files termux InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 906F5AFA9A32C72D
Err:6 https://dl.bintray.com/grimler/game-packages-24 games Release.gpg
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 5AAAC9E0A46BE53C
Get:7 https://dl.bintray.com/grimler/science-packages-21 science Release [5348 B]
Get:8 https://dl.bintray.com/grimler/science-packages-21 science Release.gpg [475 B]
Err:8 https://dl.bintray.com/grimler/science-packages-21 science Release.gpg
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 5AAAC9E0A46BE53C
Reading package lists. Done
W: GPG error: https://its-pointless.github.io/files termux InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 906F5AFA9A32C72D
E: The repository ‘https://its-pointless.github.io/files termux 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: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.bintray.com/grimler/game-packages-24 games Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 5AAAC9E0A46BE53C
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.bintray.com/grimler/science-packages-21 science Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 5AAAC9E0A46BE53C
Grimler91 commented Aug 1, 2019
@gemini4545 you don’t have its-pointless’ key. Get it by following instructions in readme here: https://github.com/its-pointless/gcc_termux
You also seem to be subscribed to both android-7 repositories (game-packages-24) and android-5 repositories (http://mirrors.tuna.tsinghua.edu.cn/termux, science-packages-21, https://its-pointless.github.io/files). This is weird, you should either use only android-5 or only android-7 repositories.
Also, you’re not connecting to http://mirrors.tuna.tsinghua.edu.cn/termux over https even though the mirror supports https, I would change the url to use https.
gemini4545 commented Aug 1, 2019
@Grimler91 Thank you so much, I seem begin to understand the reasons behind, but since I’m fresh new for termux or even for linux actally, so it’s a little hard for me to follow the README, and not sure how to opperate using only one repositories, and use https.
Could the command code be provided seperating from the comment?
Really appreciate!
Источник
403 forbidden while update or pkg Install #1283
Comments
th3unkn0n commented Oct 1, 2019
Issue : when ever I try to update / upgrade , Install a package I get 403 forbidden error & lot of other my friends have same issue.
The text was updated successfully, but these errors were encountered:
Grimler91 commented Oct 1, 2019
xx-anonymous commented May 2, 2021 •
The «sources.list.d» directory at /data/data/com.termux/files/usr/etc/apt/sources.list.d/»
contains 2 repository files «game.list» and «science.list».
Using nano,vim or another text editor, comment out the repository url(s) in these file with «#».
For example: «#deb https://ld.bintray. «
Note: In the 403 error message, note the repository url causing the error during your «apt update» command.After finding the repository url causing the 403 error, try to do the same by commenting out that specific repository url in the source.list file and/or directory to make it inactive.
xx-anonymous commented May 8, 2021
Translated the post in french.
Hopes this helps.
Источник
apt upgrade (or pkg upgrade) #3724
Comments
Exaltat1on commented Apr 27, 2019
After apt upgrade, progress stop at 94%, after reboot termux, apt and other not working
Welcome to Termux!
Search packages: pkg search
Install a package: pkg install
Upgrade packages: pkg upgrade
Learn more: pkg help
$ apt update && apt upgrade
Hit:1 https://termux.net stable InRelease
Reading package lists. Done
Building dependency tree
Reading state information. Done
15 packages can be upgraded. Run ‘apt list —upgradable’ to see them.
Reading package lists. Done
Building dependency tree
Reading state information. Done
Calculating upgrade. Done
The following NEW packages will be installed:
game-repo science-repo termux-keyring
The following packages will be upgraded:
apt bash busybox ca-certificates dpkg gpgv
libbz2 libc++ libcurl libgpg-error libnghttp2
ncurses openssl readline termux-tools
15 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 3362 kB of archives.
After this operation, 225 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 https://termux.net stable/main all ca-certificates all 20190124 [120 kB]
Get:2 https://termux.net stable/main aarch64 openssl aarch64 1.1.1b-3 [907 kB]
Get:3 https://termux.net stable/main aarch64 libnghttp2 aarch64 1.38.0 [41.7 kB]
Get:4 https://termux.net stable/main aarch64 libcurl aarch64 7.64.1-1 [153 kB]
Get:5 https://termux.net stable/main aarch64 busybox aarch64 1.30.1-1 [277 kB]
Get:6 https://termux.net stable/main aarch64 dpkg aarch64 1.19.4-1 [186 kB]
Get:7 https://termux.net stable/main aarch64 libbz2 aarch64 1.0.6-2 [23.4 kB]
Get:8 https://termux.net stable/main aarch64 libgpg-error aarch64 1.36 [62.6 kB]
Get:9 https://termux.net stable/main aarch64 gpgv aarch64 2.2.15-1 [137 kB]
Get:10 https://termux.net stable/main aarch64 libc++ aarch64 19b [195 kB]
Get:11 https://termux.net stable/main aarch64 apt aarch64 1.4.9-3 [653 kB]
Get:12 https://termux.net stable/main aarch64 ncurses aarch64 6.1.20181117-1 [111 kB]
Get:13 https://termux.net stable/main aarch64 readline aarch64 8.0 [88.3 kB]
Get:14 https://termux.net stable/main aarch64 bash aarch64 5.0.7 [376 kB]
Get:15 https://termux.net stable/main all termux-tools all 0.65 [4382 B]
Get:16 https://termux.net stable/main all termux-keyring all 1.1 [24.2 kB]
Get:17 https://termux.net stable/main all game-repo all 1.0 [958 B]
Get:18 https://termux.net stable/main all science-repo all 1.0 [968 B]
Fetched 3362 kB in 1s (3089 kB/s)
(Reading database . 4955 files and directories currently installed.)
Preparing to unpack . /ca-certificates_20190124_all.deb .
Unpacking ca-certificates (20190124) over (20181205) .
Setting up ca-certificates (20190124) .
(Reading database . 4955 files and directories currently installed.)
Preparing to unpack . /openssl_1.1.1b-3_aarch64.deb .
Unpacking openssl (1.1.1b-3) over (1.1.1a) .
Setting up openssl (1.1.1b-3) .
(Reading database . 4956 files and directories currently installed.)
Preparing to unpack . /libnghttp2_1.38.0_aarch64.deb .
Unpacking libnghttp2 (1.38.0) over (1.36.0) .
Setting up libnghttp2 (1.38.0) .
(Reading database . 4956 files and directories currently installed.)
Preparing to unpack . /libcurl_7.64.1-1_aarch64.deb .
Unpacking libcurl (7.64.1-1) over (7.63.0) .
Setting up libcurl (7.64.1-1) .
(Reading database . 4957 files and directories currently installed.)
Preparing to unpack . /busybox_1.30.1-1_aarch64.deb .
Unpacking busybox (1.30.1-1) over (1.29.3-1) .
Setting up busybox (1.30.1-1) .
(Reading database . 4957 files and directories currently installed.)
Preparing to unpack . /dpkg_1.19.4-1_aarch64.deb .
Unpacking dpkg (1.19.4-1) over (1.19.2) .
Setting up dpkg (1.19.4-1) .
(Reading database . 4957 files and directories currently installed.)
Preparing to unpack . /libbz2_1.0.6-2_aarch64.deb .
Unpacking libbz2 (1.0.6-2) over (1.0.6-1) .
Setting up libbz2 (1.0.6-2) .
(Reading database . 4957 files and directories currently installed.)
Preparing to unpack . /libgpg-error_1.36_aarch64.deb .
Unpacking libgpg-error (1.36) over (1.34) .
Setting up libgpg-error (1.36) .
(Reading database . 4957 files and directories currently installed.)
Preparing to unpack . /gpgv_2.2.15-1_aarch64.deb .
Unpacking gpgv (2.2.15-1) over (2.2.12) .
Setting up gpgv (2.2.15-1) .
(Reading database . 4957 files and directories currently installed.)
Preparing to unpack . /libc++_19b_aarch64.deb .
Unpacking libc++ (19b) over (18) .
Setting up libc++ (19b) .
(Reading database . 4957 files and directories currently installed.)
Preparing to unpack . /apt_1.4.9-3_aarch64.deb .
Unpacking apt (1.4.9-3) over (1.4.8-9) .
Setting up apt (1.4.9-3) .
(Reading database . 4957 files and directories currently installed.)
Preparing to unpack . /ncurses_6.1.20181117-1_aarch64.deb .
Unpacking ncurses (6.1.20181117-1) over (6.1.20181117) .
Setting up ncurses (6.1.20181117-1) .
(Reading database . 4949 files and directories currently installed.)
Preparing to unpack . /bash_5.0.7_aarch64.deb .
Unpacking bash (5.0.7) over (4.4.23-3) .
Preparing to unpack . /readline_8.0_aarch64.deb .
Unpacking readline (8.0) over (7.0.5-2) .
Setting up readline (8.0) .
(Reading database . 4952 files and directories currently installed.)
Preparing to unpack . /termux-tools_0.65_all.deb .
Unpacking termux-tools (0.65) over (0.60) .
Setting up termux-tools (0.65) .
Configuration file ‘/data/data/com.termux/files/usr/etc/motd’
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer’s version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** motd (Y/I/N/O/D/Z) [default=N] ? y
y
Installing new version of config file /data/data/com.termux/files/usr/etc/motd .
Selecting previously unselected package termux-keyring.
(Reading database . 4952 files and directories currently installed.)
Preparing to unpack . /termux-keyring_1.1_all.deb .
Unpacking termux-keyring (1.1) .
Selecting previously unselected package game-repo.
Preparing to unpack . /archives/game-repo_1.0_all.deb .
Unpacking game-repo (1.0) .
Selecting previously unselected package science-repo.
Preparing to unpack . /science-repo_1.0_all.deb .
Unpacking science-repo (1.0) .
Setting up termux-keyring (1.1) .
Setting up bash (5.0.7) .
Setting up science-repo (1.0) .
Downloading updated package list .
0% [Working]
Progress: [ 94%] [##########################..]
The text was updated successfully, but these errors were encountered:
xeffyr commented Apr 27, 2019
Seems like it stuck on retrieving package lists from additional repositories. You have purely networking problem and this cannot be solved from Termux’s side.
Источник