termux / proot-distro

An utility for managing installations of the Linux distributions in Termux.
GNU General Public License v3.0
1.69k stars 197 forks source link

[Feature]: Ubuntu 22.04 LTS #366

Closed soutiagojose closed 10 months ago

soutiagojose commented 10 months ago

Feature description

Bring support for the new LTS version of Ubuntu

sylirre commented 10 months ago

https://github.com/termux/proot-distro#supported-distributions

PRoot Distro provides support only one version of distribution types, i.e. one of stable, LTS or rolling-release. Support of versioned distributions ended with branch 2.x. If you need a custom version, you will need to add it on your own. See Adding distribution.


Won't fix as distribution was recently updated to 23.10 regular release.

suaefar commented 8 months ago

For those on Android 13 with Kernel 5.4 it is unfortunate that the old images are not hosted anymore. Is there a possibility to host the last LTS image so that we can add it manually?

sylirre commented 8 months ago

Will add some older distribution rootfs later, particularly Debian (to solve this) and Ubuntu. Old images were removed to force upgrade to the latest version.

For Ubuntu what version exactly do you need so it would work properly with kernel 5.4?

suaefar commented 8 months ago

Unfortunately, I don't know exactly. There seems to be some issue with different versions of glib [1]. As I am affected, I would be willing to try 22.04 LTS, if there was an image. Or is there another way to test it?

[1] https://github.com/proot-me/proot/issues/357#issuecomment-1770544129

multitab2022 commented 8 months ago

https://github.com/termux/proot-distro#supported-distributions

PRoot Distro provides support only one version of distribution types, i.e. one of stable, LTS or rolling-release. Support of versioned distributions ended with branch 2.x. If you need a custom version, you will need to add it on your own. See Adding distribution.

Won't fix as distribution was recently updated to 23.10 regular release.

The following files no longer exist in the repository.

TARBALL_URL['aarch64']="https://github.com/termux/proot-distro/releases/download/v3.0.1/ubuntu-aarch64-pd-v3.0.1.tar.xz"

I can no longer install Ubuntu 22.04 LTS

sylirre commented 8 months ago

Please read this statement one more:

PRoot Distro provides support only one version of distribution types, i.e. one of stable, LTS or rolling-release. Support of versioned distributions ended with branch 2.x. If you need a custom version, you will need to add it on your own

It literally says that only one distribution version support guaranteed. This also expands to the old versions.

Since I know there are people holding old proot-distro versions for whatever reason, including "unwanted" design changes, I had to invent a method to enforce upgrading and for now the only possible method was to delete old rootfs archives.

I will add them back with next release. But as I'm currently busy, you will need either to wait or build rootfs yourself. GitHub Actions are free for everyone and scripts/configs available within this repository.

You may also try using third party rootfs (e.g. from Andronix, Anlinux, etc) or official rootfs provided by Ubuntu.

I hope you understand the situatiuon and choose way best suitable for you.

sylirre commented 8 months ago

You may take 22.04 lts from https://github.com/termux/proot-distro/releases/tag/v4.7.0.

Also it is going to be provided as ubuntu-oldlts in PRoot Distro v4.8.0