Magisk-Modules-Alt-Repo / chroot-distro

install linux distributions on android
GNU General Public License v3.0
147 stars 11 forks source link

Multiples download link are no longer valid #41

Open vince06fr opened 1 month ago

vince06fr commented 1 month ago

Kali Linux

Connecting to kali.download (104.17.253.239:80)
wget: server returned error: HTTP/1.1 404 Not Found
Failed to download the Kali Linux Rootfs.
rm: cannot remove '/data/local/chroot-distro/.rootfs/kali.tar.xz': No such file or directory

Actual Kali Linux rootfs can be found at :

Alpine Linux #8

Connecting to dl-cdn.alpinelinux.org (151.101.194.132:80)
wget: server returned error: HTTP/1.1 404 Not Found
Failed to download the Alpine Rootfs.
rm: cannot remove '/data/local/chroot-distro/.rootfs/alpine.tar.xz': No such file or directory

Actual Alpine minirootfs can be found at

Void Linux

Connecting to repo-default.voidlinux.org (135.181.160.58:443)
wget: note: TLS certificate validation not implemented
wget: server returned error: HTTP/1.1 404 Not Found
Failed to download the Void Linux Rootfs.
rm: cannot remove '/data/local/chroot-distro/.rootfs/void.tar.xz': No such file or directory

Actual Void rootfs link can be found at

As stated in #8, the problem is that the link is no longer valid due to mirror updates. Since the links are hardcoded in the chroot-distro release it is necessary to publish a new release with working links In the meantime, the user can manually download the rootfs version, rename it and install it in the directory corresponding to the distribution for chroot-distro.

exemple for alpine:

$ tsu
.../files/home # cd /data/local/chroot-distro/.rootfs/
.../chroot-distro/.rootfs # uname -m
aarch64
.../chroot-distro/.rootfs # wget https://dl-cdn.alpinelinux.org/alpine/v3.20/releases/aarch64/alpine-minirootfs-3.20.3-aarch64.tar.gz
Connecting to dl-cdn.alpinelinux.org (151.101.66.132:443)
wget: note: TLS certificate validation not implemented
saving to 'alpine-minirootfs-3.20.3-aarch64.tar.gz'
alpine-minirootfs-3. 100% |********************************************************| 3855k  0:00:00 ETA
'alpine-minirootfs-3.20.3-aarch64.tar.gz' saved
.../chroot-distro/.rootfs # mv alpine-minirootfs-3.20.3-aarch64.tar.gz alpine.tar.xz
.../chroot-distro/.rootfs # chroot-distro install alpine
localhost:~# apk update
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz
v3.20.3-82-ge412022add8 [https://dl-cdn.alpinelinux.org/alpine/v3.20/main]
v3.20.3-85-ge19c1188ff3 [https://dl-cdn.alpinelinux.org/alpine/v3.20/community]
OK: 24040 distinct packages available
jjkola commented 1 month ago

Thanks for the bug report. We will address this as soon as possible, but at least for me, it most likely will be next weekend.

jjkola commented 4 weeks ago

Sorry, I haven't been able to address this one as I have been working on other issues (mostly #33) whenever I have had time. This should be the next issue I will tackle.