termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
13.33k stars 3.06k forks source link

Mirror Termux packages for Android 5.x/6.x on IBiblio #4658

Open ghost opened 4 years ago

ghost commented 4 years ago

UPDATE NOTE: The last working Termux packaged for Android 5.x/6.x:

UPDATE2 NOTE: Support for Android 5.x/6.x was re-added to termux-app (archived repo now hosted on official site), see:

Problem description

End of android-5/6 support on 2020-01-01

Actual behavior

From that date there will no longer be any updates to the package repositories' android-5 branches.

An android-5 branch has also been created for termux-app, and the latest tagged version of the app (0.76) requires android 7.

If you are using android 5 or android 6 on your device then the only way to continue to get updates after 2020-01-01 would be to upgrade to android 7 or newer (if possible).

  • Q: What will happen to the android-5 branch? Will it be archived or completely removed?
    • A: Branch will be available but packages may not.

According this note its not clear what would happen with packages repo for Android 5.x/6.x (removed, archived with read-only, or something else)

Expected behavior

Mirror latest available Termux APKs & its packages for Android 5.x/6.x on IBiblio

Additional information

Closes https://github.com/termux/termux-packages/issues/4467

REFERENCES

ghost commented 4 years ago

Any news? Please, make it happen! (only 1 day left)

Backup all packages that, as for now, targeted to Android 5.x/6.x too (termux/unstable-packages, termux/x11-packages, etc.)

sudomain commented 4 years ago

Packages are available via the link in this comment. Note that the last working version of Termux for android 5/6 is Termux 0.75. This is available in Fdroid by enabling the 'F-Droid Archive' repo in settings.

If the archived packages are hosted elsewhere, I'm guessing that users will have to manually edit $PREFIX/etc/apt/sources.list to contain the url to the archived packages?

It's worth mentioning that as long as A5/6 users have a working version of proot, they can install TermuxArch and recieve updated versions of packages like git, openssh, etc. from Arch Linux ARM. That'll be the main thing I use Termux for on my A5/6 devices.

ghost commented 4 years ago

Packages are available

This not look like normal repo, instead it is just single large archive file — "mirror" on Archive.org is unusable because it's impossible to enable it as 3rd-party repo in Termux.

So, as for now, this issue/feature request not solved yet.

sudomain commented 4 years ago

This not look like normal repo

I didn't mean to imply this, but the tar file contains .deb files which can be manually installed (though painfully) with dpkg -i .

Questions for devs: Are Termux repos just standard debian repos? Is there a tool on this list that is used for packaging?

ghost commented 4 years ago

Are Termux repos just standard debian repos?

Yes, it is a standard Debian repository. Otherwise apt would just not work.

Is there a tool on this list that is used for packaging?

We don't use utilities from this list.

Packages are created manually with script in https://github.com/termux/termux-packages/blob/master/scripts/build/termux_step_create_debfile.sh. Repository structure is constructed by https://bintray.com/.

sudomain commented 4 years ago

So ibiblio.org hosts over 100 Linux distros and software projects on distro.ibiblio.org, so it may be worthwhile. The application process seems rather straight forward. @xeffyr would it be ok if I applied for hosting of the Termux packages (for Android 5/6) on ibiblio on behalf of the Termux packages project?

ghost commented 4 years ago

Yes, it will be ok.

I should note that such mirroring is only useful for packages. Bootstrap environment is fetched from hardcoded URL which can't be changed without rebuilding application, so failure of termux.net will have serious effect anyway.

Reminding that termux.net is continuing to be available as there no plans to disable it.

sudomain commented 4 years ago

Reminding that termux.net is continuing to be available as there no plans to disable it.

This is welcome news and pretty hilarious because I spent last night wrestling with dpkg to install packages from the archive, not realizing that pkg install still works. #4467 lead me to believe that the packages were being removed. I can't speak for @Symbian9 , but for me this issue is resolved since termux.net still has the proot package for TermuxArch

ghost commented 4 years ago

Many packages which targeted to Android 5/6 already removed from actual termux.net repo.

So, I still keep this issue as un-resolved.

Zxce3 commented 3 years ago

any new news?

spectereye commented 2 years ago

just met the same issue when using termux with android 5, maybe check https://github.com/termux/termux-app/wiki/Termux-on-android-5-or-6

Zxce3 commented 2 years ago

just met the same issue when using termux with android 5, maybe check https://github.com/termux/termux-app/wiki/Termux-on-android-5-or-6

nice info

twaik commented 4 weeks ago

Is it still relevant?