Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: apt-key is deprecated #92

Open
Dmitri3v opened this issue Aug 15, 2022 · 5 comments
Open

Warning: apt-key is deprecated #92

Dmitri3v opened this issue Aug 15, 2022 · 5 comments

Comments

@Dmitri3v
Copy link

[?] 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?

@TomKursaciQ
Copy link

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

@Sirius-RJ
Copy link

If you have to change repo what's the point

@wakeUPslow
Copy link

Same problem?

@Lithi0
Copy link

Lithi0 commented Sep 20, 2023

Same problem

@Jccs09
Copy link

Jccs09 commented Oct 21, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants