Solved: Termux Repository Under Maintenance or Down | by OsChannel

Поделиться
HTML-код
  • Опубликовано: 19 ноя 2024

Комментарии • 71

  • @killab5952
    @killab5952 3 года назад +5

    So the sources list entry how do you put them on termux?

    • @OschannelDotCom
      @OschannelDotCom  3 года назад

      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 🙂

    • @QoMarun-qm8rh
      @QoMarun-qm8rh 10 месяцев назад

      I only have 2 options, mirror group and single mirror? What should I choose??

  • @jbl443
    @jbl443 3 года назад +10

    Finally someone who actually knows how to fix this problem,thanks!

  • @FitnessTrainer101
    @FitnessTrainer101 2 года назад +3

    Finally..no nonsense video...point blank to the point and explaining clearly. Thanks.

  • @wanilsonmiranda3048
    @wanilsonmiranda3048 2 года назад +1

    Thank you VERY MUCH for this hint, buddy!!
    It did resolved my issue here.

  • @margaretdallas4973
    @margaretdallas4973 2 года назад

    I love this. It fixed my issue in less than a minute. Good work sir!

  • @retoscholly5538
    @retoscholly5538 Год назад +1

    Thank you, friend, you have helped me out a lot here!

  •  Год назад

    It works fine here. Thank you so much!

  • @fasolplanetarium
    @fasolplanetarium Год назад

    This worked for me. Thank you.

  • @blackhat3050
    @blackhat3050 2 года назад +2

    It's really working thanks.

  • @SkywereProductions
    @SkywereProductions 2 года назад

    What a legend! thanks for the fix bro

  • @jwc6797
    @jwc6797 2 года назад

    man thank you, awesome and easy fix! appreciate it.

  • @alireza0536
    @alireza0536 Год назад

    کار کرد عالی بود ممنون

  • @imsteven3044
    @imsteven3044 2 года назад +1

    i want to install pandas but i couldn't, I tried what you did but now the problem is "unable to locate package pandas"

    • @OschannelDotCom
      @OschannelDotCom  2 года назад

      I may be able to help.. Are you able to install any other packages using apt?

    • @OschannelDotCom
      @OschannelDotCom  2 года назад

      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.

    • @imsteven3044
      @imsteven3044 2 года назад

      @@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

  • @diegocaples5602
    @diegocaples5602 2 года назад +1

    thanks so much! i was really stuck on this

  • @elmehdioubouhouch
    @elmehdioubouhouch Год назад

    Thank you really fix the problem

  • @loannguyen-nr1mp
    @loannguyen-nr1mp 2 года назад +1

    tks, i fixed it with your instruction

  • @ctoid
    @ctoid 2 года назад +2

    Thanks! It works!!

  • @nirbhaykumarchaubey8777
    @nirbhaykumarchaubey8777 2 года назад +1

    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/
    $

    • @OschannelDotCom
      @OschannelDotCom  2 года назад

      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.

  • @adrianpabloalvarez2523
    @adrianpabloalvarez2523 Год назад

    it worked. Thank you very much

  • @shawntewis1489
    @shawntewis1489 2 года назад +1

    Perfect, thanks!

  • @raforedebe
    @raforedebe 3 года назад +2

    Sir, how to change MTU in non rooted android using termux?

    • @OschannelDotCom
      @OschannelDotCom  3 года назад +1

      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'

    • @raforedebe
      @raforedebe 3 года назад

      @@OschannelDotCom what about permanent then?

    • @OschannelDotCom
      @OschannelDotCom  3 года назад

      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 😉.

  • @firelion98
    @firelion98 2 года назад +1

    Thanks helped me!

  • @СергейИванов-б6о1д
    @СергейИванов-б6о1д 2 года назад +2

    THX MAN U ARE RLY FUCKING BEST, U ARE ONLY ONE GUY WHO FIXED MY PROBLEM
    THANK U VERY MUCH

  • @angiek1925
    @angiek1925 2 года назад +1

    thank you soo much. appreciate u

  • @karthiknaga3374
    @karthiknaga3374 2 года назад +1

    It worked.. thanks

  • @anonymousgame-beats3591
    @anonymousgame-beats3591 2 года назад +1

    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

  • @superzazzaful
    @superzazzaful 2 года назад +2

    thanks! it worked!

  • @sashuk_keshuk9292
    @sashuk_keshuk9292 2 года назад +2

    THAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANK YOOOOOOOOOOOOOOOOOOOOOUUUUUUUUUUUUUUUU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    • @OschannelDotCom
      @OschannelDotCom  2 года назад

      YOUUUUUUUUUUUUUU AREEEEEEEE WELCOMEEEEEEEEEEEE...... DO SUBSCRIBEEEEEEEEEEEEEEE

  • @Red-pw1kh
    @Red-pw1kh 2 года назад +2

    Thanks!

  • @robinhood8302
    @robinhood8302 2 года назад

    Thank you very much

  • @xavierxavier1232
    @xavierxavier1232 Год назад

    Thank you!!

  • @e.m.451
    @e.m.451 2 года назад +1

    Thx!!

  • @JuanPablo-yf2go
    @JuanPablo-yf2go 2 года назад +1

    ty 💖

  • @slayeratomjr169
    @slayeratomjr169 2 года назад +2

    Thanks

  • @professorinfinity7075
    @professorinfinity7075 2 года назад +1

    Thanks you 👍🏻so much

  • @Deepak_19kr
    @Deepak_19kr 2 года назад +2

    termux-change-repo is not working
    Is there any alternative for this command

    • @OschannelDotCom
      @OschannelDotCom  2 года назад

      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 🙂

  • @lordsonmateleddi5481
    @lordsonmateleddi5481 2 года назад +1

    works

  • @penipaul
    @penipaul 2 года назад +2

    Thanks bro

  • @prithvirajsingh8537
    @prithvirajsingh8537 2 года назад +1

    Thanks alot 🥳🥳😍😍

  • @yahayahudu1745
    @yahayahudu1745 2 года назад +1

    Thanks man ,,☺️

  • @asimhafeez54
    @asimhafeez54 2 года назад +1

    thanks bro

  • @Xecked_com
    @Xecked_com 2 года назад +1

    U save myself bro

  • @kemmantchriff5279
    @kemmantchriff5279 2 года назад +1

    thanks

  • @psevdonim_yt
    @psevdonim_yt 2 года назад

    Thanks 👍

  • @sasikumar2189
    @sasikumar2189 Год назад

    thank you bro

  • @moe36
    @moe36 2 года назад

    thanks