Unable to locate package openssh server termux

Mengoperasikan termux adalah hal yang mengasikkan. Tetapi kadang juga menjengkelkan ketika kita menemukan error. Salah satu error yang paling sering muncul adalah unable to locate package.

Error tersebut muncul ketika kita akan menginstal package dan module termux.

Saya juga mengalaminya.

Ketika memasukkan perintah pkg install python, yang muncul adalah kesalahan unable to locate package python.

Unable to locate package openssh server termux

Selain itu, error ini juga muncul ketika kita salah menulis nama package.

Contoh: ingin menginstal git, tapi perintahnya pkg install gir. Maka hasilnya muncul notif unable to locate package gir.

Unable to locate package openssh server termux

Nah, pada postingan ini saya akan membagikan cara untuk mengatasi error unable to locate package di aplikasi termux.

So, simak dengan baik ya.

Perintah Untuk Mengatasi Unable To Locate Package Termux

Jadi untuk mengatasi error ini, kita cukup memasukkan perintah ke termux.

Saya menemukan trik ini secara tidak sengaja. Awalnya saya ketik di google “cara mengatasi error unable to locate package termux”. Tetapi hasilnya nihil, hanya ada panduan untuk Ubuntu dan Linux.

Kemudian saya coba baca-baca artikelnya. Alasannya karena termux juga termasuk lingkungan Linux.

Disini saya mulai menemukan kuncinya, yaitu update. Jadi saya coba melakukan update package di termux. Hasilnya, sukses! Kini error unable to locate package sudah hilang.

Ini hasil screenshotnya.

Unable to locate package openssh server termux

Kamu bisa lihat. Ketika saya memasukkan perintah pkg install, tidak muncul error apapun.

Dan berikut adalah perintah untuk mengatasi unable to locate package termux:

apt update && apt upgrade -y

Setelah memasukkan perintah tersebut, termux akan memperbarui packet dan modul. Tunggu saja prosesnya sampai 100%.

Saat proses pengupdatetan, akan muncul pilihan opsi. Ketik saja N untuk melewati secara default.

Unable to locate package openssh server termux

Tips:
Pilihan opsi muncul 2 – 3 kali. Jadi ketik N lalu enter lalu tunggu sampai muncul pilihan opsi kedua. Setelah itu ketik lagi N dan enter.

Nah, jika semuanya selesai, maka error sudah diperbaiki. Sekarang kamu bisa memasukkan lagi perintah pkg install.

Apakah Menghapus Data Termux Bisa Mengatasi Unable To Locate Package?

Jelas bisa. Tetapi semua tools yang sudah terinstall akan ikut terhapus. Ini artinya kamu harus memulainya dari awal.

Sebaiknya hindari cara ini. Karena kita harus menginstal ulang semua package dan module dasar. Contohnya seperti python, php, request, git, dan masih banyak lagi.

Selain memakan waktu, proses install ulang juga akan menguras kuota internet.

Kesimpulan

Nah, demikian cara yang bisa kamu gunakan untuk melewati error unable to locate package. Jadi intinya hanya perlu memasukkan perintah. Sama seperti cara untuk mengatasi error permission denied termux.

If, yes, then i think you’re stuck with this error called “Unable To Locate Package” if you trouble with that then here I have a 99% working solution for you.

Yeah, if you’re using termux or if you’re thinking to install packages on your termux terminal or getting this error then definitely you should follow my steps to fix unable to locate package in termux easily with some simple commands.

So to fix this error we need to set up our storage first, and then we can fix this error, so let’s jump into our main topic and setup our termux storage location and fix the error.

How To Download Termux for Windows 10 – Mac OS?

Steps To Fix Unable To Locate Package in Termux App Android or Pc

First open your terminal and place thise codes:

apt update

Now you ned to do Upgrade your terminal after updating:

apt upgrade

Now its time to place the command to setup your internal storage for package location:

termux-setup-storage

Now you will get a popup message to “allow or deny” so just click on the “Allow” button to get access to your internal storage.

Now when you click on “Allow” then its time to check is it worked or not? so to check this just write another command called.

ls

Then you need to place another command:

cd storage

Now this is the last command to check all folders of your storage to final checking:

ls

That’s set, if you see your internal storage folders are over here then you’re completely set up your location to your internal storage, and now it’s time to install your package to see if the “unable to locate package” error has or not?

I’m dammed sure that, if you successfully follow all the commands then you will didn’t get any error on your terminal, and now you can install anything on your termux app.

Bottom Line

So, it’s time to leave, because i will complete practically showed you the exact way of how to fix unable to locate package error of termux app? and now it’s your turn to follow my all commands and fix your issue.

Also, in return, if you found anything helpful from this article then please do share on your social media or leave a good comment below to motivate me and that’s why I will create for you latest articles related to termux terminal.

Why Termux is not installing packages?

The cause of this error is Termux build you've installed from the Playstore is no longer supported. Termux officially provides its latest version on Github and F-droid. However, it is listed on the Playstore with an older version ( v0. 101 ), which is not recommended.

How do I find my Termux package?

The main Termux repository is accessible through https://packages.termux.org/apt/termux-main/.

How to setup Termux on Android?

How to install Termux on Android.
Step 1: Download Termux Emulator. To begin with, you will need to download the applications from the application marketplace. ... .
Step 2: Install the required packages. ... .
Step 3: Upgrade the packages. ... .
Step 4: Setup Local storage access..

Where are Termux packages installed?

The default directory is: /data/data/com. termux/files/home .