TermuxBlack icon indicating copy to clipboard operation
TermuxBlack copied to clipboard

Warning: apt-key is deprecated

Open Dmitri3v opened this issue 2 years ago • 5 comments

[?] Do you want TermuxBlack Custom PS1? [Y/n] y Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). OK W: https://hax4us.github.io/TermuxBlack/dists/termuxblack/InRelease: Key is stored in legacy trusted.gpg keyring (/data/data/com.termux/files/usr/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. W: GPG error: https://hax4us.github.io/TermuxBlack termuxblack InRelease: The following signatures were invalid: EXPKEYSIG 4BEE22F9F994D6C4 lokesh pandey [email protected] E: The repository 'https://hax4us.github.io/TermuxBlack termuxblack InRelease' is not signed.

Is this normal in the installation, how can I fix it?

Dmitri3v avatar Aug 15 '22 12:08 Dmitri3v

I have a same problem. Did you tried change repositories?

TomKursaciQ avatar Sep 17 '22 07:09 TomKursaciQ

If you have to change repo what's the point

Sirius-RJ avatar Dec 10 '22 06:12 Sirius-RJ

Same problem?

wakeUPslow avatar Jan 02 '23 11:01 wakeUPslow

Same problem

Lithi0 avatar Sep 20 '23 13:09 Lithi0

The same.

I found a way to force package installation:

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

Jccs09 avatar Oct 21 '23 14:10 Jccs09