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

[Bug]: the public key is not available #4243

Open
jinde98 opened this issue Nov 4, 2024 · 3 comments
Open

[Bug]: the public key is not available #4243

jinde98 opened this issue Nov 4, 2024 · 3 comments

Comments

@jinde98
Copy link

jinde98 commented Nov 4, 2024

Problem description

$ pkg update
Hit:2 https://packages-cf.termux.dev/termux-main-21 stable InRelease
Err:1 https://termux.dev/game-packages-21-bin games InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B0076E490B71616B
Err:3 https://termux.dev/science-packages-21-bin science InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B0076E490B71616B
Reading package lists... Done
W: GPG error: https://termux.dev/game-packages-21-bin games InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B0076E490B71616B
E: The repository 'https://termux.org/game-packages-21-bin games InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: https://termux.dev/science-packages-21-bin science InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B0076E490B71616B
E: The repository 'https://termux.org/science-packages-21-bin science InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Steps to reproduce the behavior.

Unable to update and install packages

What is the expected behavior?

No response

System information

  • Termux application version: termux-app_v0.119.0-beta.1+apt-android-5-github-debug_arm64-v8a.apk
  • Android OS version: 6.0.1
  • Device model: coo1
@Biswa96
Copy link
Member

Biswa96 commented Nov 4, 2024

Packages are not updated for older Android 5 and 6 repository.

@sylirre
Copy link
Member

sylirre commented Nov 4, 2024

Try editing $PREFIX/etc/apt/sources.list: append [trusted=yes] after "deb" token.

Example:

  • Before: deb https://packages-cf.termux.dev/termux-main-21/ stable main

  • After: deb [trusted=yes] https://packages-cf.termux.dev/termux-main-21/ stable main

Android 5/6 package repository is archived and doesn't receive updates. It is few years as outdated.

@jinde98
Copy link
Author

jinde98 commented Nov 5, 2024

Good. Thank you very much for your replies, I am going to upgrade my old phone in android version

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

No branches or pull requests

3 participants