This will help you install metasploit 6 in your termux without root && without any error in it.
Go to code any just install the tool and run it in termux it will install metasploit 6 in termux witout error.
For installing metasploit successfully copy and paste this code in termux:
CODE:-
pkg update && pkg upgrade -y
pkg install python && pkg install python2 && pkg install git
git clone https://github.com/Adia12528/Metasploit-Framework_6.git
ls
cd Metasploit-Framework_6
ls
// Now copy codes one by one as given down and your metasploit will get installed.
chmod +x Metasploit-Framework_2022_full_version.py
python Metasploit-Framework_2022_full_version.py
Wait for 20-25 min for installation to be done.
Install with ZERO error.