rmpkg(main/tsu): replaced with agnostic-apollo sudo#25129
rmpkg(main/tsu): replaced with agnostic-apollo sudo#25129robertkirkman wants to merge 1 commit intotermux:masterfrom
sudo#25129Conversation
- Closes termux#24820 - Closes termux#18383 - Closes termux#8184 - agnostic-apollo's `sudo` replaces this package: https://github.com/termux/termux-packages/blob/d6015240e4943847544217c924b7fb09bb72a361/packages/sudo/build.sh#L13 - This software is unfortunately not maintained for a while and began to accumulate some issues. The most important issues are already fixed or not present in the `sudo` package. - More information: - termux#24684 - cswl/tsu#116 - termux/termux-app#4612 - topjohnwu/Magisk#9003
|
The removal of For that reason, I intend to wait a long time and hopefully collect feedback on the advisability of removing A similar removal of a termux-specific command in the past unfortunately caused a disruption, so I think it is best to leave this open for a long time so that users still depending on |
|
Yes, likely will break user scripts using |
|
BayonetArch believes that it's time to remove |
|
Our approach will really depend on what the goal is. Do we want no new users to be able to install |
I think this is the goal, in order to help migrate people away from it who have been encountering problems with it and opening issues here for it.
I would consider "download the termux-packages repository, manually move the package folder from disabled-packages to packages, then manually rebuild it and reinstall it using on-device building" to be that mechanism, but I seem to find that a lot less inconvenient than some other people do, so I might be biased on that topic. To really know the answer to that, it would be necessary to find someone who still wants to use The user closest matching that description I think I can remember seeing is @yujincheng08. yujincheng08, if you are still using a local build of |
They will still open issues for Moving it to disabled packages can be done, but manual builds are not feasible for the general population. Maybe we can make a post on reddit and matrix that we are removing
You don't need to do this, |
sure, that sounds like a good idea. However, I don't personally use Reddit, so I would not be able to make the announcement there.
It is correct that that is the intended method, however, unfortunately, a long time ago (approximately 1 year ago, I think), I encountered a build error with that method that did not occur when I moved the folder manually, so I got into the habit of doing it the other way. I don't remember what the error or package exactly was, but I'll try to remember to start using |
|
I can make posts, but likely tomorrow. Yeah, report when you find them, there are changes for disabled packages folders in my repo.json changes pull too. |
I am a developer of Magisk, and we are writing a |
I have opened an issue to track and document the problem as it exists in the master branch here, in a while, I might also try to test the same steps in your PR branch, to see if it's able to fix the problem. |
|
Made a post about this at https://www.reddit.com/r/termux/s/x7PsC5xCcu |
|
I agree with everything said there, except that one suggestion I would make is: in the event that someone makes a request to keep providing The recommendations of whichever person hypothetically asks for it would be important to consider as well, since they would be the only remaining user. |
|
I don't think most users would read postinst messages, especially for package updates due to long logs, even I don't. |
|
I must be the exception. It might be a habit I have because not carefully reading the package update logs of the distros I have historically used the most, Debian sid, Arch Linux and Gentoo, can sometimes lead to a broken installation. In those distros, though, the amount of things that can go wrong, and how badly the OS can be broken, is much greater than Termux, since Termux runs inside an app and does not need to manage the kernel, bootloader or other early initialization components of the OS. This is why practically speaking, Termux is probably much safer to use and more stable during upgrades than those distros. |
Agreed, but I don't think I have ever seen Ubuntu break due to upgrades in a long time (likely an arch issue :p), things do break, but not something postinst messages would have indicated anyways. |
At one point of upgrading Gentoo, usually a giant wall of text prints in the terminal that includes every message from the Gentoo News Items that is both detected as relevant to the current user's Gentoo configuration and installed packages, and detected as not having yet been displayed. Sometimes, the messages include directions for performing manual post-upgrade steps that are necessary for smooth operation of the OS afterward, https://www.gentoo.org/support/news-items/ that is sort of the most extreme example of the kind of thing I am used to looking for, and other rolling-release distros like Arch Linux and Debian sid have similar kinds of things one needs to keep an eye out for, but you are correct that in Ubuntu and stable Debian, usually all of the equivalent upgrades are handled in a fully automated way and it isn't really necessary to read the log messages to avoid getting a broken system. |
|
In termux-pacman, this currently happens on the command I think this is a correct and desirable behavior we want, so this is fine, though unfortunately, I believe the same behavior is not really possible to achieve in termux-apt, and that is because this is just something that termux-pacman does this when it is exposed to the variable |
|
This is good to merge now I think? I took a look at the reddit post, nobody there disagreed with this. |
|
Sorry if I interrupt you guys, but probably we should implement some kind of compatibility script for su-over-sudo (as mentioned above) which will give some super-basic (at least) su functionality to keep script of users functional. Most of users do not interact with our discord, matrix, reddit or github spaces and most likely we will be flooded by "was tsu reoved???" posts of people who missed these posts [about tsu being deprecated and removed]. |
|
Sure, however, unfortunately I am not sure what the best way to implement that is because: the closest equivalent commands in agnostic-apollo
however, I have noticed that each one of these is subtly different from each other, and some things do not work in some of them, but do work in another variant, and I don't know which one is the best default. I got into the habit of trying one and then if something doesn't work, using |
|
Anyway, it was announced that in 2 weeks, but maybe that is overthinking the situation, and isn't very important to worry about. |
|
cancelling this because two people have requested
|


Closes tsu doesnot work #25858
Closes Package tsu need fix affected by magisk #24820
Closes [Bug]:
tsuNot Able to Run Certain Commands #18383Closes [Bug]: Running
tsugives me the Current Working Directory with (unreachable) prfixed #8184agnostic-apollo's
sudoreplaces this package:termux-packages/packages/sudo/build.sh
Line 13 in d601524
This software is unfortunately not maintained for a while and began to accumulate some issues. The most important issues are already fixed or not present in the
sudopackage.More information: