AnLinux-App
AnLinux-App copied to clipboard
Installation not working - inconsistent with latest termux?
I tried to install a version of Ubuntu, but the scripts provided by the app seem to be incompatible with termux.
- first a minor bug: The app shows a command to install wget, but this is not copied, so the naive installation fails because no wget installed.
- after manually installing wget, the copied command did download a shell script, however, this is not working either:
- various "no such file or directory" messages, no file structure is created, the vncserver-start command does not exist ....
- when looking at the downloaded script, the first errors already occur at the 4th line of the script: it contains apt-get install xfce4 xfce4-terminal tightvncserver dbus-x11 -y, however tightvncserver and dbus-x11 do not exist in the repositories
- same with next line: apt-get install xfe -y
- the line wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Apt/Xfce4/vncserver-start --no-check-certificate -P /usr/local/bin/ does not create any directory, instead giving error "no such file or directory" ...
Are there any preparationary steps needed, which are not documented, e.g. installing additional packages or repositories?
Can confirm, I'm experiencing the same errors as you do on an amlogic s905x4 and a Huawei matepad 11.
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.
I think you might need to add the x11 repo for those packages, with pkg install x11-repo
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.
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.