Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation not working - inconsistent with latest termux? #417

Open
clemmrich opened this issue Jan 12, 2023 · 5 comments
Open

Installation not working - inconsistent with latest termux? #417

clemmrich opened this issue Jan 12, 2023 · 5 comments

Comments

@clemmrich
Copy link

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?

@paolorafael
Copy link

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

@davidpiano
Copy link

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
Copy link

Ultra980 commented Jul 16, 2023

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

@davidpiano
Copy link

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
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants