Problem description
Steps to reproduce
$ pkg up
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Err:1 https://its-pointless.github.io/files/24 termux InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8CCF71B217185E35
Ign:3 https://dl.bintray.com/grimler/game-packages-24 games InRelease
Ign:4 https://dl.bintray.com/grimler/termux-root-packages-24 root InRelease
Ign:5 https://dl.bintray.com/grimler/science-packages-24 science InRelease
Ign:6 https://dl.bintray.com/xeffyr/x11-packages x11 InRelease
Ign:2 https://dl.bintray.com/termux/termux-packages-24 stable InRelease
Get:8 https://dl.bintray.com/grimler/game-packages-24 games Release [5344 B]
Hit:8 https://dl.bintray.com/grimler/game-packages-24 games Release
Get:10 https://dl.bintray.com/grimler/termux-root-packages-24 root Release [6185 B]
Hit:10 https://dl.bintray.com/grimler/termux-root-packages-24 root Release
Get:12 https://dl.bintray.com/grimler/science-packages-24 science Release [5348 B]
Hit:12 https://dl.bintray.com/grimler/science-packages-24 science Release
Get:14 https://dl.bintray.com/xeffyr/x11-packages x11 Release [6055 B]
Hit:14 https://dl.bintray.com/xeffyr/x11-packages x11 Release
Get:7 https://dl.bintray.com/termux/termux-packages-24 stable Release [6061 B]
Hit:7 https://dl.bintray.com/termux/termux-packages-24 stable Release
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://its-pointless.github.io/files/24 termux InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8CCF71B217185E35
W: Failed to fetch https://its-pointless.github.io/files/24/dists/termux/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8CCF71B217185E35
W: Some index files failed to download. They have been ignored, or old ones used instead.
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Expected behavior
No public key error must occur.
Additional information
$ termux-info
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://termux.org/packages/ stable main
# science-repo (sources.list.d/science.list)
deb https://dl.bintray.com/grimler/science-packages-24 science stable
# game-repo (sources.list.d/game.list)
deb https://dl.bintray.com/grimler/game-packages-24 games stable
# sources.list.d/pointless.list
deb https://its-pointless.github.io/files/24 termux extras
# root-repo (sources.list.d/root.list)
deb https://dl.bintray.com/grimler/termux-root-packages-24 root stable
# sources.list.d/pointless.bak
deb https://its-pointless.github.io/files/ termux extras
# x11-repo (sources.list.d/x11.list)
deb https://dl.bintray.com/xeffyr/x11-packages x11 main
Updatable packages:
All packages up to date
Android version:
7.1.2
Kernel build information:
Linux localhost 3.18.31-perf-g89c85bf #1 SMP PREEMPT Tue Oct 22 13:55:14 WIB 2019 aarch64 Android
Device manufacturer:
Xiaomi
Device model:
Redmi Y1
Its-pointless key expired yesterday, but a renewed is available at https://raw.githubusercontent.com/its-pointless/its-pointless.github.io/master/pointless.gpg
, so you need to run:
wget https://raw.githubusercontent.com/its-pointless/its-pointless.github.io/master/pointless.gpg
apt-key del 906F5AFA9A32C72D
apt-key add pointless.gpg
Is there a script to do this pre-existing? If this is a recurring occurrence, shouldn’t this be part of the pkg command or at least pointed to in some way? Help, perhaps? Thanks.
shouldn’t this be part of the pkg command
No. PGP key management should never be part of package management.
at least pointed to in some way
Key installation already part of https://its-pointless.github.io/setup-pointless-repo.sh. But as stated above, expired key should be renewed by manual operation.
I agree it can’t be part of package management.
But since it’s a recurring task (keys expire periodically), shouldn’t there
be some utility scripts provided for these maintenance tasks?
A separate package, perhaps?
There no such tools for that. On typical distribution PGP keys are updated with keyring package before they are expired.
Expired keys disable package management for security reasons and in this case key should be updated manually.
Repository https://its-pointless.github.io/files/
does not manage keys in such way. It also not official so its key is can’t be part of our keyring.
Fine. I guess this leaves it to the individual to maintain any such
scripts.
I was thinking more on the lines of a custom package for Termux or a bunch of scripts for maintenance to be provided to users.
This may be more trouble than it’s worth since you’re expecting users to be well-versed in Unix commands and key maintenance and renewal.
It’s also possible to keep a small script to reinstall pointless repo whenever it expires again, e.g.:
#!/bin/sh
curl -L https://its-pointless.github.io/setup-pointless-repo.sh | bash
(Running the old setup-pointless-repo.sh didn’t help me, so re-downloading it here.)
termux
locked and limited conversation to collaborators
Oct 9, 2021
Содержание
- Не работает apt upgrade и apt update в termux
- Вот это выводит
- Package Error #6693
- Comments
- apt update and most of other commands with apt do not work and give errors #7220
- Comments
- Can not update using apt #99
- Comments
- Update
Не работает 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
У меня идентично такая же ошибка. Решения пока не нашёл. Если найдёте решение — обязательно отпишитесь.
Источник
Package Error #6693
Hello, I recently tried an apt update command on my termux, but when I run some commands it gets all errors, when I run the apt update command an error appears as below:
$ apt update Ign:1 https://dl.bintray.com/grimler/game-packages-24 games InRelease Ign:2 https://dl.bintray.com/grimler/science-packages-24 science InRelease Err:3 https://dl.bintray.com/grimler/game-packages-24 games Release 403 Forbidden Ign:4 https://main.termux-mirror.ml stable InRelease Err:5 https://dl.bintray.com/grimler/science-packages-24 science Release 403 Forbidden Err:6 https://main.termux-mirror.ml stable Release Redirection from https to ‘http://ww38.main.termux-mirror.ml/dists/stable/Release’ is forbidden Reading package lists. Done E: The repository ‘https://dl.bintray.com/grimler/game-packages-24 games Release’ does not have a Release file. N: Metadata integrity can’t be verified, repository is disabled now. N: Possible cause: repository is under maintenance or down (wrong sources.list URL?). E: The repository ‘https://dl.bintray.com/grimler/science-packages-24 science Release’ does not have a Release file. N: Metadata integrity can’t be verified, repository is disabled now. N: Possible cause: repository is under maintenance or down (wrong sources.list URL?). E: The repository ‘https://main.termux-mirror.ml stable Release’ does not have a Release file. N: Metadata integrity can’t be verified, repository is disabled now. N: Possible cause: repository is under maintenance or down (wrong sources.list URL?).
And when I run an install command like pkg install php it shows an error like this:
$ pkg install php Checking availability of current mirror: ok Reading package lists. Done Building dependency tree. Done E: Unable to locate package php
how do i fix this?
The text was updated successfully, but these errors were encountered:
Источник
apt update and most of other commands with apt do not work and give errors #7220
So i have recently installed termux(on samsung galaxy Note 9 if that could help). I really like the idea of linux terminal on android but after installation i started having some issues with this app. For some time no package managers like apt pkg and etc were working for me but somehow after several reinstalls problem with pkg was partially solved. But whatever i wouldn’t do, apt rarely ever worked for me. It worked only ones when i was installing sl ( just for fun ). In any other cases like installing some package like docker or apt update it was giving this errors:
apt update error:
$ apt update
Hit:1 https://termux.mentality.rip/termux-packages-24 stable InRelease
Ign:2 https://dl.bintray.com/grimler/game-packages-24 games InRelease Ign:3 https://dl.bintray.com/grimler/science-packages-24 science InRelease
Err:4 https://dl.bintray.com/grimler/game-packages-24 games Release 403 Forbidden
Err:5 https://dl.bintray.com/grimler/science-packages-24 science Release
403 Forbidden Reading package lists. Done
E: The repository ‘https://dl.bintray.com/grimler/game-packages-24 games Release’ does not have a Release file.
N: Metadata integrity can’t be verified, repository is disabled now.
N: Possible cause: repository is under maintenance or down (wrong sources.list URL?).
E: The repository ‘https://dl.bintray.com/grimler/science-packages-24 science Release’ does not have a Release file.
N: Metadata integrity can’t be verified, repository is disabled now.
N: Possible cause: repository is under maintenance or down (wrong sources.list URL?).
docker installation error:
$ apt-get install docker.io -y
Reading package lists. Done
Building dependency tree Reading state information. Done
E: Unable to locate package docker.io
E: Couldn’t find any package by glob ‘docker.io’
E: Couldn’t find any package by regex ‘docker.io’
The text was updated successfully, but these errors were encountered:
Источник
Can not update using apt #99
Hey, I reinstalled the app, and executed ‘apt update’, then failed. here is the screenshot.
The text was updated successfully, but these errors were encountered:
Could you try accessing http://apt.termux.com/dists/stable/InRelease in the browser on the device, and try running
Could you also paste the output of uname -a and apt —version?
Also, which Android device do you run? Which Android version? Running a custom ROM?
@fornwall thanks, please find it here. I installed termux from Google Play.
My phone is HTC M8, with the official ROM, android version 5.0.1, rooted.
And I tried to download the InRelease file, it seems not working for me.
oops, I am sorry, I closed this issue by mistake, could you please reopen it?
And I tried to download the InRelease file, it seems not working for me.
Can you access it (http://apt.termux.com/dists/stable/InRelease) in your Android browser? If not, what happens (blank page or error message)?
@fornwall I am sorry, I make you confused. I mean I can access it in browser, and also be able to download it with wget. But apt install still did not work for me.
@indam Ok, thanks for the confirmation! I’m trying to reproduce the problem, but I’m still unable to do so. So if you have the possibility to try a few things it would be helpful:
(1) Update to the latest apt version by hand, and see if it works afterwards:
(2) If the problem still persists, could you run the following and append the output here?
(3) Later, could you install strace by hand:
Then run the following
and upload the log.txt somewhere and link to it (or mail the file to me)?
@fornwall Yes, I put the screenshot here, and you can also find the log file as attachment.
@indam Thanks for all the help!
It seems that apt loads the url fine, but for some reason the lib/apt/methods/http binary seem to hit the line
in the system DNS resolver, res_send.c. This output interferes with the text-based protocol through which apt communicates with lib/apt/methods/http . Root cause still unknown.
@fornwall You are welcome. I hope this can be solved soon, and if you need more investigation, do not hesitate to contact me.
have you guys tried on another network? if you’re on 3G try wifi, if on wifi try 3G or another wifi, and so on
Also, notice this message in the first line:
res_send: select: Connection refused
It might be an issue on the server where the packages are hosted. Maybe hosting them on a mirror could help to diagnose the issue?
There was a DNS change done for apt.termux.com (updating the SOA record in the DNS zone to ensure it lines up with the nameservers in use by the domain) two days ago, could you try again if it works for you now @indam?
If it’s still a problem, could you install curl and check if e.g. curl http://apt.termux.com/ gives any error output (just ruling out some possible errors)?
There are issues with wget and apt. Curl works okay it seems.
- not rooted
- OS v5.0.2
- HTC Desire Eye type phone
maybe try verbosities of curl and wget to see effectively what IP address they’re trying to download from?
@fornwall I tried again, still the same problem. And I do not think this is due to the network, because I tried using different VPNs, it is still like this.
I test with curl, it seems fine. No errors found. @franciscod
Update
Manually installed all available updates in arm binaries under release packages using dpkg. No changes to apt error.
All packages installed:
I was able to reproduce the problem on a HTC One X with stock ROM, so I would guess that this is a HTC problem (the apt http code triggering debug logging on HTC system builds). Will look into it!
EDIT: no, server seems to be flaky.
Hi, finally this issue with (certain?) HTC devices not working with apt can now be resolved! It’s fixed in a new version of the apt package, version 1.1.6 . This now comes as part of the bootstrap installation for new users.
For users stuck with the current non-working apt version, you can either re-install the application, or execute the following commands:
This should work around the issue and update apt to the working version 1.1.6 , after which you can update and install packages as normal.
Thanks a lot for all the information provided which helped pinpoint where the problem was!
Thank you, it works for me now. 😀
👍 Working for my system as well. Thank you, @fornwall. Would it be possible to receive an explanation of the underlying issue and what this workaround is doing? Thank you for your time on this issue.
@jlefman The problem was that apt version 1.1 introduced support for SRV records, whose retrieval using system functions seems to cause debug logging on (certain?) HTC devices — perhaps due to HTC having left the debug flag on by mistake.
This debug output from a dedicated http fetching process in apt led to apt not being able to parse the http response, which caused to this problem.
The solution was to patch apt to disable SRV records by default for now, since it’s not something used by the Termux apt.
Источник
Problem description
Whenever I try to install wget, or any external package at that, it gives me this message:
$ pkg install wget
Testing the available mirrors:
[*] https://packages.termux.org/apt/termux-main: ok
[*] https://deb.kcubeterm.me/termux-main: ok
[*] https://termux.mentality.rip/termux-main: ok
[*] https://grimler.se/termux-packages-24: ok
[*] https://termux.librehat.com/apt/termux-main: ok
Picking mirror: https://grimler.se/termux-packages-24
Get:1 https://packages.termux.org/apt/termux-games games InRelease [7999 B]
Get:2 https://packages.termux.org/apt/termux-science science InRelease [8011 B]
Get:3 https://grimler.se/termux-packages-24 stable InRelease [16.8 kB]
Err:3 https://grimler.se/termux-packages-24 stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B0076E490B71616B
Reading package lists... Done
W: GPG error: https://grimler.se/termux-packages-24 stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B0076E490B71616B
E: The repository 'https://grimler.se/termux-packages-24 stable InRelease' is not signed.
N: Metadata integrity can't be verified, repository is disabled now.
N: Possible cause: repository is under maintenance or down (wrong sources.list URL?).
Now, this has never happened before. Previously, it
worked perfectly. This only just now started to happen
Steps to reproduce the behavior.
What is the expected behavior?
$ pkg install wget
Testing the available mirrors:
[*] https://packages.termux.org/apt/termux-main: ok
[*] https://deb.kcubeterm.me/termux-main: ok
[*] https://termux.mentality.rip/termux-main: ok
[*] https://grimler.se/termux-packages-24: ok
[*] https://termux.librehat.com/apt/termux-main: ok
Picking mirror: https://grimler.se/termux-packages-24
Get:1 https://packages.termux.org/apt/termux-games games InRelease [7999 B]
Get:2 https://packages.termux.org/apt/termux-science science InRelease [8011 B]
Get:3 https://grimler.se/termux-packages-24 stable InRelease [16.8 kB]
Err:3 https://grimler.se/termux-packages-24 stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B0076E490B71616B
Reading package lists... Done
W: GPG error: https://grimler.se/termux-packages-24 stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B0076E490B71616B
E: The repository 'https://grimler.se/termux-packages-24 stable InRelease' is not signed.
N: Metadata integrity can't be verified, repository is disabled now.
N: Possible cause: repository is under maintenance or down (wrong sources.list URL?).
System information
- Termux application version: 0.115
- Android OS version: 11 (Q)
- Device model: Motorola Moto G7
@nicenemo pkgsrc would be horrendously slow within Termux on a phone. There are many layers of indirection in pkgsrc in order to make it portable across so many platforms.
i’m using the x11 on android, but can’t install browser.
can i install the browser?
sirlinus01
Hello everyone
I’m curious if anyone using a proot Linux distribution within Termux can successfully run gpg-agent? I get a ptrace(PEEKDATA) error.
sirlinus01
Anybody have luck using ReconDog?
sirlinus01
posted an image:
sirlinus01
I’m trying to find an old phone via #
sirlinus01
Or would it be gps_tracking?
deleuze6
why does termux-wifi-enable not work (both enabling and disabling) when aeroplane mode is on?
deleuze6
that seems like a bug
I’m getting a couple of error messages during apt update/upgrade :
Preparing to unpack .../ndk-sysroot_18-9_aarch64.deb ...
Unpacking ndk-sysroot (18-9) over (18-8) ...
dpkg: error processing archive /data/data/com.termux/files/usr/var/cache/apt/archives/ndk-sysroot_18-9_aarch64.deb (--unpack):
trying to overwrite '/data/data/com.termux/files/usr/include/langinfo.h', which is also in package libandroid-support-dev 22-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
and also : Err:1 https://xeffyr.ttm.sh/termux-apt/x11 x11 InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 45F2964132545795
… which apparently lead to some interesting complications :
# df
CANNOT LINK EXECUTABLE "gawk": cannot locate symbol "nl_langinfo" referenced by "/data/data/com.termux/files/usr/bin/gawk"...
fish: Process 24086, 'gawk' from job 2, 'command df -h | gawk '{print $2…' terminated by signal SIGABRT (Abort)
@glykos There opened issues about libandroid-support problem
s_berg: thats good. I will make a PR with applied patches.
We moved implementation of «nl_langinfo()» to header for better compatibility. Such change require rebuilding of all affected packages, but that wasn’t done…
My OpenJDK completes linking now, it segfaults at initialization though
Leonid. Nothing works, nor nutt, nor vim, not gawk, nor df, … :)))))))))))))
- mutt
@glykos run apt install root-repo
. I’ve uploaded an updated ndk-sysroot to that repo until a PR has been merged in the main repo
Does this mean I should rather not run pkg upgrade
?
@kaeptmblaubaer1000 Do not try pkg upgrade
if your device has Android less than 8/Oreo.
My has 8.1, is it ok then?
nl_langinfo() is implemented in libc on Android 8+.
Is it ok too if I have clang, libandroid-support-dev and ndk-sysroot installed?
On 7.1.1 with root-repo
v.1.1 the problem with langinfo persists. Maybe I moved too fast and the newest ndk-sysroot hasn’t showed-up yet ? I’ll try again later.
@kaeptmblaubaer1000 I don’t see libandroid-support-dev in apt list for some reason.
About ndk-sysroot, yes it will be installed as dependency.
I have all of the above already installed and want to know if it breaks when updating
I can’t see libandroid-support-dev
as well . Oh, well. I’m going to get some coffee and let things cool-out a bit.
Maybe ndk-sysroot Replaces
it?
@kaeptmblaubaer1000 It’s libandroid-support
break.
ndk-sysroot
version 18-9 replaces libandroid-support-dev, but it didn’t declare that it replaced it, which caused the apt problems. This is fixed in version 18-10, available from the root repo
libandroid-support
is already the newest version (24)ndk-sysroot
is already the newest version (18-9)
The issue is still present with root-repo
v.1.1
And I can’t get ndk-sysroot 18-10
@glykos Fix is not in libandroid-support or ndk-sysroot. You need to upgrade packages like: readline, libidn2, libunistring
Fixed packages readline, libidn2, libunistring, pinentry are temporary available in x11-repo.
I’m rebuilding packages in the main repo now
How should I fix it now, if I try to remove libandroid-support-dev
it tries to upgrade ndk-sysroot
before
an updated ndk-sysroot will be available in a few minutes
dpkg
can do the trick. I’m not sure you want to do that.
Does this pinentry update fix the Git signing failure?
On 7.1.1 :
gawk
still complains- apt complains about mssing keys from
grimler.se
andxeffyr.ttm.sh
apt complains about mssing keys from
Repositories enabled via pkg install x11-repo root-repo
?
@glykos could you try running pkg up
now and see if that fixes the problem?
What I’m seeing is this :
# pkg up
Get:2 https://termux.net stable InRelease [1720 B]
Get:3 https://grimler.se root InRelease [13.6 kB]
Get:1 https://xeffyr.ttm.sh/termux-apt/x11 x11 InRelease [13.4 kB]
Get:4 https://termux.net stable/main aarch64 Packages [66.2 kB]
Err:3 https://grimler.se root InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5AAAC9E0A46BE53C
Err:1 https://xeffyr.ttm.sh/termux-apt/x11 x11 InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 45F2964132545795
Reading package lists...
W: GPG error: https://grimler.se root InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5AAAC9E0A46BE53C
E: The repository 'https://grimler.se root InRelease' is not signed.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://xeffyr.ttm.sh/termux-apt/x11 x11 InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 45F2964132545795
@glykos Only pkg install x11-repo root-repo
will setup repository with necessary keys
Rather apt
because pkg
runs apt update
which fails here
Here it is :
# pkg install x11-repo root-repo
Hit:1 https://termux.net stable InRelease
Get:3 https://grimler.se root InRelease [13.6 kB]
Err:3 https://grimler.se root InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5AAAC9E0A46BE53C
Err:2 https://xeffyr.ttm.sh/termux-apt/x11 x11 InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 45F2964132545795
Reading package lists...
W: GPG error: https://grimler.se root InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5AAAC9E0A46BE53C
E: The repository 'https://grimler.se root InRelease' is not signed.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://xeffyr.ttm.sh/termux-apt/x11 x11 InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 45F2964132545795
Okay, how you configured these repositories ?
@glykos apt install x11-repo root-repo
should install the keys to $PREFIX/etc/apt/trusted.gpg.d
Slowly. I have been using the x11-repo for a couple of months now. Either something changed with the keys, or the failure is due to things that broke due to langinfo
.
@glykos could you try temporarily disabling those (x11-repo and root-repo), then update packages from the main repo and then enable them again and see if that makes a difference?
Yep, give me some time and I’ll come back to report.
@fornwall I’ll wait a bit, updated packages keep appearing every minute.
I have a hypothesis. On 7.1.1 find
is also dead due to langinfo. Maybe this is the reason for the trouble with keys ?
I have no problem with keys as keys are present in «x11-repo» package.
@glykos ok, we’ll have an updated find package you can try out in a few minutes, I’ll let you know
Git gpg signing is broken in Termux if it needs a password
@kaeptmblaubaer1000 do you know if that has worked before (that is, was it broken by the recent mess)?
No I’ve not even tested it recently, it was at least broken before the update
It’s still broken after the update
Oh more updates… I’ll have to check again
@glykos an updated findutils package (version 4.6.0-3) is now available, could you try that?
@fornwall apt update
is now cooperating without issues. I do see a new repository dl.bintray.com/xeffyr...
and 59 upgradable packages from xeffyr. Is this correct ?
New hosting service for x11-packages.
@glykos great, thanks a lot!
Let me take the plunge with the upgrade.
@fornwall Git gpg signing is still broken
If I don’t sign anything else before to give gpg-agent
the password
@kaeptmblaubaer1000 I can reproduce the issue. could you have a look at it and try to find the cause of the failure?
I’m not very experienced with that, but it looks like Git interprets something by the password entry program
Git doesn’t understand it and errors
Probably no browser and that’s the issue that there’s no browser
cottongin
is it possible to have extra keys work together? like right now if i hit alt-left/right it doesn’t work
cottongin
also swiping extra keys to get to the text input mode triggers whatever extra key you happen to touch while trying to swipe it, very frustrating
cottongin
and holding on some keys works (left/right repeat for example) but not on others (pgup/pgdwn do not repeat)
SanskritFritz
Where is ~/.ssh in termux on android? I want to create a .ssh/config file and copy my keys into it.
SanskritFritz
I already generated a keypair on my linux box
SanskritFritz: what prevents you to mkdir ~/.ssh
? On typical Linux distributions this directory isn’t created automatically
onre
well it’s in ~/.ssh — really, just mkdir ~/.ssh
SanskritFritz
xeffyr: fair enough, I thought it was already created somewhere
SanskritFritz
onre: thanks
SanskritFritz
yeah, but I wanted to manually copy my key
T4P4N
is that libandroid bug is fixed now?
Sorry, not clear : Termux looks good on Android 7.1
@xeffyr if I install libmaxminddb-tools
it doesn’t seem to depend on the library or the database
I’ll fix that. But database is optional and already added to recommends of libmaxminddb.
omegaxis
helli, i have a problem, in termux I’m trying running irssi, it works, i can connect to freenode, if i’m on termux, irssi willl notify me, but if i minimize it, it will not, but i’m able to know than it not close connection to freenode, how can i fix this, be able to notify irssi in background, i’m running android 6.0 emui
Risk64
Hi, where can i find the build.sh for the ‘curl’ package?
redsh
Risk64: It’s a subpackage of libcurl, I believe.
redsh
All the configure options and everything important is under the libcurl build.sh inthat same directory though.
cottongin
is it possible to have extra keys work together? like right now if i hit alt-left/right it doesn’t work. also swiping extra keys to get to the text input mode triggers whatever extra key you happen to touch while trying to swipe it, very frustrating. and holding on some keys works (left/right repeat for example) but not on others (pgup/pgdwn do not repeat)