Hax4us/TermuxBlack

Unable to locate package

Lithi0 opened this issue · 3 comments

termuxblack > apt install beef-xss
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package beef-xss
termuxblack > apt install trape
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package trape

Pls help, idk how to fix it.

Samme HAHAHHAHAH

Jccs09 commented

It is because apt repository key expired...

To force the installation of a package you can:
1- Uninstall previous installed
rm -f $PREFIX$PREFIX/etc/apt/sources.list.d/termuxblack.list && mv $PREFIX/etc/bash.bashrc.bk $PREFIX/etc/bash.bashrc && rm -f ~/.termux/colors.properties

2- Remove repository records
rm $PREFIX/var/lib/apt/lists/*hax4us*

3- Add repository entry
echo "deb https://hax4us.github.io/TermuxBlack/ termuxblack main" | tee $PREFIX/etc/apt/sources.list.d/termuxblack.list

4- Try to update
apt -o Acquire::AllowInsecureRepositories=true
-o Acquire::AllowDowngradeToInsecureRepositories=true
update

5- Install required package
apt-get -o APT::Get::AllowUnauthenticated=true install pdfcrack

6- Then uninstalling again
rm -f $PREFIX$PREFIX/etc/apt/sources.list.d/termuxblack.list