I hate how youtube formats comments so here's the same answer better formatted: gist.github.com/oschannel/cdcdc16b7ef1b57b61913b582a039333 I may have probably not understood your question - but from what I understand here are the steps: The `termux-change-repo` command will automatically edit the entries in `sources.list` and `sources.list.d/*` files if you follow the steps from the video tuorial. This 'termux-change-repo' command comes from the `termux-tools` package, which according to my exp comes pre-installed. You can check if its available using command `dpkg -l | grep termux-tools`. If for some reason you are not able to fix the issue using `termux-change-repo` command you can try to manually edit the file at `$PREFIX/etc/apt/sources.list` ($PREFIX is /data/data/com.termux/files/usr on my phone). Make sure you copy/backup the file outside the apt directory before editing it. Now, to edit the `$PREFIX/etc/apt/sources.list` you can use vim/nano editor and simply replace the line for main repo with corresponding one from the mirros list. (Mirrors list: github.com/termux/termux-packages/wiki/Mirrors) Worst case scenario, if you do not have vim/nano installed you can simply echo the line corresponding to one of the mirrors using echo command. Example: `echo "deb termux.mentality.rip/termux-main stable main" > $PREFIX/etc/apt/sources.list` Similarly follow the steps for editing other repos in `$PREFIX/etc/apt/sources.list.d/*` (ie: backup and edit) Hope this answers your question and fixes your issue 🙂
FOUND SOLUTION TO YOUR PROBLEM... Try 'pip install pandas' for python2 or 'pip3 install pandas' for python3 ---- that should get you pandas installed inside termux.. If you don't have python you can simply install it using 'apt install python3' and that should also install pip3 for you along with python.
@@OschannelDotCom I tried both options but i got an error "dlopen failed: library libgfortran.so.5 not found needed by /data/data/com.termux/files/usr/lib/... i also install libgfortan but i got the same error
It is showing something like this, please help [*] Running apt update Reading package lists... Done E: Could not get lock /data/data/com.termux/files/usr/var/lib/apt/lists/lock - open (11: Try again) E: Unable to lock directory /data/data/com.termux/files/usr/var/lib/apt/lists/ $
Can you try troubleshooting using these methods: itsfoss.com/could-not-get-lock-error/ If this doesn't work, let me know.. I can provide more solutions.
You need root privileges to change the MTU. Its not possible to do it without rooting AFAIK. If rooted you can try to change it temporarily using this command: 'ifconfig mtu up'
Probably edit the "/sys/class/net/$DEVICE/mtu" Not 100% sure. Haven't tested this since I don't have a rooted device with TERMUX right now. I'll come back to this in a few days for sure when I root my old android phone 😉.
bro I was watching same solutions for like last 10 vids and none of them told me that I have to select from space bard not enter and I realised that I was just trying to use same repository every time and not really changing it Some times minor details matters for a dum like me
Hey buddy, may I know what problem you are facing? If you can eloborate, I may be able to help. The `termux-change-repo` command will automatically edit the entries in `sources.list` and `sources.list.d/*` files if you follow the steps from the video tuorial. This 'termux-change-repo' command comes from the `termux-tools` package, which according to my exp comes pre-installed. You can check if its available using command `dpkg -l | grep termux-tools`. If for some reason you are not able to fix the issue using `termux-change-repo` command you can try to manually edit the file at `$PREFIX/etc/apt/sources.list` ($PREFIX is /data/data/com.termux/files/usr on my phone). Make sure you copy/backup the file(s) outside the apt directory before editing it. Now, to edit the `$PREFIX/etc/apt/sources.list` you can use vim/nano editor and simply replace the line for main repo with corresponding one from the mirros list. (Mirrors list: github.com/termux/termux-packages/wiki/Mirrors) Worst case scenario, if you do not have vim/nano installed you can simply echo the line corresponding repo line of one of the mirrors using echo command. Example: `echo "deb termux.mentality.rip/termux-main stable main" > $PREFIX/etc/apt/sources.list` Similarly follow the steps for editing other repos in `$PREFIX/etc/apt/sources.list.d/*` (ie: backup and edit) Hope this answers your question and fixes your issue 🙂
So the sources list entry how do you put them on termux?
I hate how youtube formats comments so here's the same answer better formatted: gist.github.com/oschannel/cdcdc16b7ef1b57b61913b582a039333
I may have probably not understood your question - but from what I understand here are the steps:
The `termux-change-repo` command will automatically edit the entries in `sources.list` and `sources.list.d/*` files if you follow the steps from the video tuorial.
This 'termux-change-repo' command comes from the `termux-tools` package, which according to my exp comes pre-installed.
You can check if its available using command `dpkg -l | grep termux-tools`.
If for some reason you are not able to fix the issue using `termux-change-repo` command you can try to manually edit the file at `$PREFIX/etc/apt/sources.list` ($PREFIX is /data/data/com.termux/files/usr on my phone). Make sure you copy/backup the file outside the apt directory before editing it.
Now, to edit the `$PREFIX/etc/apt/sources.list` you can use vim/nano editor and simply replace the line for main repo with corresponding one from the mirros list. (Mirrors list: github.com/termux/termux-packages/wiki/Mirrors)
Worst case scenario, if you do not have vim/nano installed you can simply echo the line corresponding to one of the mirrors using echo command.
Example:
`echo "deb termux.mentality.rip/termux-main stable main" > $PREFIX/etc/apt/sources.list`
Similarly follow the steps for editing other repos in `$PREFIX/etc/apt/sources.list.d/*` (ie: backup and edit)
Hope this answers your question and fixes your issue 🙂
I only have 2 options, mirror group and single mirror? What should I choose??
Finally someone who actually knows how to fix this problem,thanks!
Happy to help 😉🙂
Finally..no nonsense video...point blank to the point and explaining clearly. Thanks.
Thank you VERY MUCH for this hint, buddy!!
It did resolved my issue here.
I love this. It fixed my issue in less than a minute. Good work sir!
Thank you, friend, you have helped me out a lot here!
It works fine here. Thank you so much!
This worked for me. Thank you.
It's really working thanks.
You're Welcome :)
What a legend! thanks for the fix bro
man thank you, awesome and easy fix! appreciate it.
کار کرد عالی بود ممنون
i want to install pandas but i couldn't, I tried what you did but now the problem is "unable to locate package pandas"
I may be able to help.. Are you able to install any other packages using apt?
FOUND SOLUTION TO YOUR PROBLEM... Try 'pip install pandas' for python2 or 'pip3 install pandas' for python3 ---- that should get you pandas installed inside termux.. If you don't have python you can simply install it using 'apt install python3' and that should also install pip3 for you along with python.
@@OschannelDotCom I tried both options but i got an error "dlopen failed: library libgfortran.so.5 not found needed by /data/data/com.termux/files/usr/lib/... i also install libgfortan but i got the same error
thanks so much! i was really stuck on this
Glad it helped!
Thank you really fix the problem
tks, i fixed it with your instruction
Thanks! It works!!
It is showing something like this, please help
[*] Running apt update Reading package lists... Done E: Could not get lock /data/data/com.termux/files/usr/var/lib/apt/lists/lock - open (11: Try again)
E: Unable to lock directory /data/data/com.termux/files/usr/var/lib/apt/lists/
$
Can you try troubleshooting using these methods:
itsfoss.com/could-not-get-lock-error/
If this doesn't work, let me know.. I can provide more solutions.
it worked. Thank you very much
Perfect, thanks!
Glad it helped!
Sir, how to change MTU in non rooted android using termux?
You need root privileges to change the MTU. Its not possible to do it without rooting AFAIK.
If rooted you can try to change it temporarily using this command:
'ifconfig mtu up'
@@OschannelDotCom what about permanent then?
Probably edit the "/sys/class/net/$DEVICE/mtu" Not 100% sure. Haven't tested this since I don't have a rooted device with TERMUX right now. I'll come back to this in a few days for sure when I root my old android phone 😉.
Thanks helped me!
THX MAN U ARE RLY FUCKING BEST, U ARE ONLY ONE GUY WHO FIXED MY PROBLEM
THANK U VERY MUCH
thank you soo much. appreciate u
Happy to help!
It worked.. thanks
bro I was watching same solutions for like last 10 vids and none of them told me that I have to select from space bard not enter and I realised that I was just trying to use same repository every time and not really changing it
Some times minor details matters for a dum like me
thanks! it worked!
Happy it helped! 🙂
THAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANK YOOOOOOOOOOOOOOOOOOOOOUUUUUUUUUUUUUUUU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
YOUUUUUUUUUUUUUU AREEEEEEEE WELCOMEEEEEEEEEEEE...... DO SUBSCRIBEEEEEEEEEEEEEEE
Thanks!
Thank you very much
Thank you!!
Thx!!
ty 💖
You're Welcome :) Keep watching
Thanks
Thanks you 👍🏻so much
Welcome 😊
termux-change-repo is not working
Is there any alternative for this command
Hey buddy, may I know what problem you are facing? If you can eloborate, I may be able to help.
The `termux-change-repo` command will automatically edit the entries in `sources.list` and `sources.list.d/*` files if you follow the steps from the video tuorial.
This 'termux-change-repo' command comes from the `termux-tools` package, which according to my exp comes pre-installed.
You can check if its available using command `dpkg -l | grep termux-tools`.
If for some reason you are not able to fix the issue using `termux-change-repo` command you can try to manually edit the file at `$PREFIX/etc/apt/sources.list` ($PREFIX is /data/data/com.termux/files/usr on my phone). Make sure you copy/backup the file(s) outside the apt directory before editing it.
Now, to edit the `$PREFIX/etc/apt/sources.list` you can use vim/nano editor and simply replace the line for main repo with corresponding one from the mirros list. (Mirrors list: github.com/termux/termux-packages/wiki/Mirrors)
Worst case scenario, if you do not have vim/nano installed you can simply echo the line corresponding repo line of one of the mirrors using echo command.
Example:
`echo "deb termux.mentality.rip/termux-main stable main" > $PREFIX/etc/apt/sources.list`
Similarly follow the steps for editing other repos in `$PREFIX/etc/apt/sources.list.d/*` (ie: backup and edit)
Hope this answers your question and fixes your issue 🙂
works
Thanks bro
You're Welcome 🙂
Thanks alot 🥳🥳😍😍
You're welcome 😊
Thanks man ,,☺️
Welcome 👍
thanks bro
Welcome
U save myself bro
thanks
You're welcome!
Thanks 👍
Welcome 👍
thank you bro
thanks