- Не работает apt upgrade и apt update в termux
- Вот это выводит
- Не работают репозитории 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
Не работает 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
У меня идентично такая же ошибка. Решения пока не нашёл. Если найдёте решение — обязательно отпишитесь.
Источник
Не работают репозитории termux
Краткое описание:
Termux сочетает в себе мощные эмуляцию терминала с обширной коллекцией пакетов Linux.
Termux combines powerful terminal emulation with an extensive Linux package collection.
• Enjoy the bash and zsh shells.
• Edit files with nano and vim.
• Access servers over ssh.
• Compile code with gcc and clang.
• Use the python console as a pocket calculator.
• Check out projects with git and subversion.
• Run text-based games with frotz.
At first start a small base system is downloaded — desired packages can then be installed using the apt package manager known from the Debian and Ubuntu Linux distributions. Access the built-in help by long-pressing anywhere on the terminal and selecting the Help menu option to learn more.
Want to ask questions, report bugs or give feedback?
See https://termux.com/community
Версия: 0.102 Termux (digmavip)
Версия: 0.101 от 29/09/2020 (iMiKED)
Версия: 0.99 от 15/09/2020 (iMiKED)
Версия: 0.98 от 09/08/2020 (RiddickABSent)
Версия: 0.95 от 13/06/2020 (iMiKED)
Версия: 0.94 от 25/03/2020 (iMiKED)
Версия: 0.92 от 09/02/2020 (iMiKED)
Версия: 0.88 от 18/01/2020 (iMiKED)
Версия: 0.84 (7.0+)(f-droid) Сообщение №3704, автор blackeangel
Версия: 0.75 Оригинал (Ultra119)
Версия: 0.75 GP (Ultra119)
Версия: 0.73 04.08.19 GP (hackdog)
Версия: 0.72 Termux (Displax)
Версия: 0.71 Termux (Displax)
версия: 0.68 Termux (Пост Farthah #84737189)
версия: 0.66 Сообщение №1619, автор алекс12
версия: 0.65 Сообщение №785, автор алекс12
версия: 0.64 Сообщение №639, автор алекс12
версия: 0.63 Сообщение №635, автор алекс12
версия: 0.61 Сообщение №623, автор Evbuley
версия: 0.60 Termux (Пост алекс12 #69631056)
Версия: 0.59 Termux (Пост алекс12 #67845982)
Версия: 0.56 Termux (Пост алекс12 #67233087)
Версия: 0.54 Termux (Пост алекс12 #66459493)
Версия: 0.53 Termux (Пост алекс12 #62674540)
Версия: 0.52 Termux (Пост алекс12 #62332662)
версия: 0.51 Termux (Пост алекс12 #62106399)
версия: 0.48 Termux (Пост алекс12 #58901446)
версия: 0.47 Termux (Пост Ramzes26 #58821225)
версия: 0.46 Termux (Пост алекс12 #56940751)
версия: 0.42 Termux (Пост ilyaor #53212592)
версия: 0.34 com.termux_0.34.apk ( 149,44 КБ )
Сообщение отредактировал iMiKED — 20.07.21, 20:43
Примечательно, что хотя некоторые плагины платные, на странице автора есть ссылки на исходный код на github-e https://github.com/termux, т.е. можно самому собрать как само приложение так и все плагины; термукс из маркета надо будет удалить и собрать и установить руками потому что подписи должны совпадать.
Если кому-то лень самому собирать, в прицепе моя сборка с плагинами. Отдельно плагины из этой сборки не будут работать с версией из маркета, так как я все подписал своим серификатом, который ессно не совпадает с сертификатом автора.
Если кто-то хочет собрать из исходников, то помимо android sdk также потребуется ndk.
Хотя исходники платных плагинов открыты, я один плагин купил по-любому, потому что очень уж хочется поддержать разработчика за такой мега-подарок.
*ВАЖНО*: Только для андроид версии 5.х и выше!
Сообщение отредактировал ccpizz — 13.05.16, 08:26
Сообщение отредактировал LVware — 29.07.16, 18:50
Termux v0.46:
• Work better with the stock CyanogenMod and AOSP keyboards.
• Remove the shaking of the terminal on a bell character introduced in v0.44.
• Restore the ability to press Enter on the on-screen Android TV keyboard.termux-app_v0.46.apk ( 176,21 КБ )
Termux:API v0.12:
• For use with termux-api version 0.21 or later. Run apt update && apt upgrade to ensure that the latest packages are installed.
• Run any command with a -h flag to learn more.
• Support the new termux-notification-remove command to remove a notification.
• Add several options to termux-notification.
• Add new commands for wifi information: termux-wifi-connectioninfo and termux-wifi-scaninfo.termux-api_v0.12.apk ( 68,38 КБ )
Termux:Styling v0.16:
• Add monochrome White on Black and Black on White color schemes.termux-styling_v0.16.apk ( 1,72 МБ )
Termux:Widget v0.7:
• Update app icon.termux-widget_v0.7.apk ( 54,1 КБ )
Termux:Task v0.1:
• Initial release for testing and feedback.termux-task_v0.1.apk ( 942,95 КБ )
Termux:Boot v0.1:
• Initial release for testing and feedback.termux-boot_v0.1.apk ( 26,4 КБ )
Termux:Float v0.7 (Original)
Сообщение отредактировал rezvorck — 20.01.17, 18:07
Источник
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!
Источник