Problems encountered by many peoples in kali nethunter in termux rootless

Issue:
I installed Kali Linux Rootless on Termux, but I encountered several issues:

  1. Chroot Problem: After installation, I am getting a chroot-related error.

  2. dpkg Error (Error Code 1): When running apt upgrade, I receive a dpkg error with exit code (1).

  3. APT Becomes Completely Useless: After the dpkg error, APT stops working entirely—I can’t install any packages, and apt --fix-broken install also fails.

Because of this, Kali NetHunter becomes unusable on Termux. I have tried dpkg --configure -a and reinstalling dpkg, but nothing works. Is there any fix for this issue, or is it a known bug in the latest NetHunter Rootless release?