-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't install from f-droid #4
Comments
I know what the error is. The app is accidentally signed with the Termux development keys and not with the f-droid keys, so the signature doesn't match with the f-droid version of Termux and it can't install. I submitted a PR for f-droid to hopefully get that fixed. |
same here, downloaded from f-droid.org |
I think new version available, and it can be installed so I close this issue |
@whymzml can you share a link? |
I checked the signature of the new version on f-droid and it shouldn't work, the signature still doesn't match the one of Termux. You can watch this PR for progress. |
@whymzml, please reopen this issue. F-droid 1.0.4 installation still fails. @tareksander, thanks for link to PR. And for your work of course. |
@tareksander @rysson sorry about my decision, for now I installed GitHub version, and when check from f-droid I got this |
Is there a fix for this? I still can't install it. |
I've just had the same issue. After reading the other issues on this i see that it is because of different versions of the app(s) e.g. termux from fdroid but the termux-gui from github (avoid installing anything from F-Droid to make this work)
This fixed it for me |
This isn't good advice as the F-Droid versions are the only ones being updated from now on. Termux should be removed from the Play Store. |
I think you misread the previous comment. Both fdroid and github releases are being updated.
Yes, it should, but none of us who are active here have access to the google account that have control of the old apps |
Cant install from f-droid |
This comment was marked as duplicate.
This comment was marked as duplicate.
The problem persists installing from f-droid. I understand that the above solution is a fix (thank you for that), however that means losing everything already done in termux-app. Can anyone please upload a termux-gui package in f-droid that matches the current f-droid termux-app ? Thank you in advance. |
You could put all you need in an archive, copy it out of the Termux home folder, reinstall Termux from Github, copy the archive back and unpack it again.
I can't do that, the people at f-droid have to to that. I already have a PR open, but I'm waiting for a response. |
The wiki has steps and suggestions on how to backup: https://wiki.termux.com/wiki/Backing_up_Termux |
thank you both @tareksander and @Grimler91 for the replies and good suggestions. I was trying to avoid the backup and reinstall due to the various symlinks that would be followed or lost. |
Still doesn't work for me |
I have installed termux from github but api and style plugin is from f-droid i still cant install |
You have to install everything from Github, including Termux:API and Termux:Styling: For Termux:Styling there doesn't seem to be a apk available in the releases, and all the Github Action builds have already expired, so you just have to uninstall it for now. |
Can you install other apps from f-droid? |
Apparently not! An f-droid issue then? |
I do have termux installed... Probably installed through f-droid ... some time back.... need to increase the font size... |
This shows it. Apk downloaded from website. |
I am looking at the fdroid website and it just doesn't show termux:gui at all. Did you update the repositories? |
F-droid reports not having an apk for the app, it seems it got somehow deleted: https://monitor.f-droid.org/builds/nopackages |
That is normal, I have the f-droid metadata in my git repo, not on the fdroid-repo, do I don't need to make a pr for every changelog or description change. Seems like they disabled the build because it didn't install anyways: https://gitlab.com/fdroid/fdroiddata/-/commit/507757a11f5343900f50ba4a592e4045371761a5 |
F-droid is not installing anything for me with the same error. Should I move this to f-droid repo? |
https://forum.f-droid.org/t/fdroid-is-not-installing-apps-on-android-13/20269 Reported to f-droid |
this is still an issue and seems to be blocked by https://gitlab.com/fdroid/admin/-/issues/354 |
@tareksander mentioned that there was a fix in Termux coming. it may resolve this issue: https://gitlab.com/fdroid/fdroiddata/-/merge_requests/10240#note_1462521781 |
termux/termux-app#2921 will fix this, as sharedUID won't be needed then to establish a secure connection to the plugin. And when the sharedUID is removed from the manifest, installing from f-droid will work even when the apps are signed with a different key. |
Actually sharedUid is not really necessary for this. You can start some Java code in apk like it is done in termux-x11.
In this case you need not sharedUid but connection is still safe and clean. |
That's possible, but can you use |
No, but that is not needed. App_process itself will not handle client connections, it is needed only to establish connection with the main code in activity/service and pass there file descriptor of server socket. In the case if you are sure it is enough you can shut down
As far as I understand clients connect to Unix socket, is it right? Or you send some intent using termux-am?
It works a bit different way. Main code of termux-x11 is running in app_process, the code running in activity is pretty stupid client which sends input events to server with my own protocol and passes Surface to server when it is changed. It is written to establish new connection when client (activity) considers it is broken or must be renewed. So app_process must work all the time. You can start server with termux-services and keep it open. It can send new intent every time you are establishing new connection or when you need it. |
The current model is like Termux:API, clients open 2 random sockets in the abstract namespace and send the addresses to the plugin via a broadcast. How does Termux:X11 handle the app process getting killed? Is it automatically restarted? |
Actually you can make it work with one socket since sockets work like bidirectional pipes. |
No, I need 2 sockets: one for the requests and responses, and one for the asynchronous events. Having events mix in with the responses would make the client side unneccessarily complex. We can move this discussion to Matrix if you want to continue, to not abuse this issue (everyone who replied here gets notified when another comment is added I think). |
X server is contained in the code started with app_process so restarting it is pretty much useless. But Activity is stupid client. I intentionally made this to avoid situations when user accidentally closes/kills activity and that kills the whole X session. When it starts it sends signal to In your case it will be better to make termux-am somehow pass file descriptor to activity/service.
|
Ok. |
any word on this? I would love to use but don't want to uninstall and lose all of my configuration |
… On September 25, 2023 9:54:57 AM UTC, khimaros ***@***.***> wrote:
any word on this? I would love to use but don't want to uninstall and lose all of my configuration
--
Reply to this email directly or view it on GitHub:
#4 (comment)
You are receiving this because you are subscribed to this thread.
Message ID: ***@***.***>
|
see also termux/termux-app#2654 |
IDK what's wrong, but I'm just installed all termux app from f-droid
The text was updated successfully, but these errors were encountered: