Manjaro-Linux-on-Android
Manjaro-Linux-on-Android copied to clipboard
An error occurred (2). Please try again.
Hello.
I have tried to use your script to install Manjaro on my tablet, but I get the error:
An error occurred (2). Please try again.
Hi, I have tested the script it working fine. What is architecture of your device?
Lenovo tap P11 Pro (TB-J706F) uname shows next info: Linux localhost 4.14.117-perf+ #1 SMP PREEMPT Fri Apr 30 15:52:26 CST 2021 aarch64 Android
same bug on my device too Galaxy S10 Snapdragon
Without physical devices it is hard to debug the error. I have tested it locally on all Android devices and it working. I may find more about error after testing more devices.
@deniscerri @Ojigrande Use termux wakelock and keep screen lock Because in background download stop so it is giving error.
@deniscerri @Ojigrande Use termux wakelock and keep screen lock Because in background download stop so it is giving error.
still it's give the same error
it also may be due to this error
CANNOT LINK EXECUTABLE "curl": library "libssl.so.1.1" not found: needed by /data/data/com.termux/files/usr/lib/libssh2.so in namespace (default)
Run the following in termux. It will solve the error.
pkg update
pkg upgrade
Run the following in termux. It will solve the error.
pkg update pkg upgrade
noo use I have already done that also I reinstall the app and script but still shows that error
I think we should close this issue because I have resolved the problem by upgrading all the packages.
What do you meant? I also upgraded everything using pkg upgrade && pkg update, but that doesn't change anything. I have a Galaxy Note 9
Do the following steps it will solve your issue:
- uninstall the current version of termux
- download the app from f-droid. now install and run it
- run the following command
pkg update && pkg upgrade -y && exit 0
- now relaunch the app and run
pkg install curl wget git -y
- after installing those packages clone the repository
wget https://raw.githubusercontent.com/krmanik/Manjaro-Linux-on-Android/master/manjaro.sh
chmod +x manjaro.sh
./manjaro.sh
- now select install and then point it to the directory you want to install
- if its installation starts then good but if you're prompt with the same error again which is
An error occurred (2). Please try again.
then cancel the installing and exit termux - now force stop and clean cache and relaunch
- after relaunching run those commands again to fix broken packages
pkg update --fix-missing
pkg upgrade -y
pkg full-upgrade -y
- now relaunch the manjaro script
./manjaro.sh
- this will solve your error of installing manjaro on termux using the script.
hope it will work
I did everything, still doesn't work.
I did everything, still doesn't work.
It should work on all the device, I don't know why it's not working on your device. Just paste the following code and paste that log here
termux-info > log.md
What fixed it for me, was removing termux completely and updating the packages before trying to install it. Also make sure you are using the fdroid one, not the play store version
I did everything, still doesn't work.
give me some time I will make a video on it so that you can see that steps for installing manjaro
@krmanik I think this may be a bug because when I'm using my cell network then its works perfectly but as soon as I shift my network to any Wi-Fi connection then it give me error. So this is my theory that may be @Ojigrande or I'm using Wi-Fi then its not allowing me to download it. @Ojigrande can you tell me what kind of network your using while installing because I'm using my own cellular network to install Manjaro on my termux this will be really helpful to identify the problem.
I think it may be/may be not the reason. Because I have just installed it over Wi-Fi.
The possible reason will be termux version and update of pkg.
@krmanik I agree with your point but I also got the same error while I'm trying to install it on the Wi-Fi network after following all the steps I have mentioned above. I tried changing 2-3 Wi-Fi and got the same error so it is the problem of the network in my case.
Getting this error as well newly installed termux from F-droid.
Done above attempts with pkg and no effect either.
$ termux-info
Termux Variables:
TERMUX_API_VERSION=0.50.1
TERMUX_APK_RELEASE=F_DROID
TERMUX_APP_PID=15747
TERMUX_IS_DEBUGGABLE_BUILD=0
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://termux.librehat.com/apt/termux-main/ stable main
# root-repo (sources.list.d/root.list)
deb https://packages.termux.org/apt/termux-root root stable
# x11-repo (sources.list.d/x11.list)
deb https://packages.termux.org/apt/termux-x11 x11 main
Updatable packages: All packages up to date
Android version:
10
Kernel build information: Linux localhost 4.4.205-perf+ #1 SMP PREEMPT Thu Oct 29 21:25:04 CST 2020 aarch64 Android
Device manufacturer:
OnePlus Device model: ONEPLUS A5010
solved it, manually installing proot, pv and pulseaudio
pkg install -y proot pv pulseaudio
allow you to continue to install.
I had same issue, and it resolved absolutely randomly and without any reason (i just re-ran manjaro.sh a few times). woo
same issue here...