EXALAB / AnLinux-App

AnLinux allow you to run Linux on Android without root access.
Apache License 2.0
1.6k stars 236 forks source link

Installation not working - inconsistent with latest termux? #417

Open clemmrich opened 1 year ago

clemmrich commented 1 year ago

I tried to install a version of Ubuntu, but the scripts provided by the app seem to be incompatible with termux.

Are there any preparationary steps needed, which are not documented, e.g. installing additional packages or repositories?

paolorafael commented 1 year ago

Can confirm, I'm experiencing the same errors as you do on an amlogic s905x4 and a Huawei matepad 11.

davidpiano commented 1 year ago

The scripts don't check for errors (or they don't check well enough). Therefore, if a download fails or an install command doesn't work, the script blindly goes ahead as if everything is good. For example, when an important component isn't in the repo anymore, the script pretends it got installed, and performs the next step - even though the next step has become impossible.

I'm sure on the day they were written the scripts worked fine, but without built-in error checking they will soon cause confusing problems like this one.

Ultra980 commented 12 months ago

I think you might need to add the x11 repo for those packages, with pkg install x11-repo

davidpiano commented 8 months ago

Not true. The issue is with packages that literally don't exist because they were intentionally removed from the repo. The AnLinux install script doesn't check whether downloads have been successful - if downloads fail, the installer just keeps going, pretending to work on files that don't exist.

exalab999 commented 8 months ago

Screenshot_2023-11-18-09-09-07-988_com.termux.jpg

Screenshot_2023-11-18-09-10-01-442_com.termux.jpg

Just tested out with the latest Termux fresh install and everything is working flawlessly.

If its not working for you, probably try reinstall Termux, or check if your internet provider or firewall block connection to the Termux mirrors.