RohitVerma882 / termux-miunlock

A program that can be used to retrieve the bootloader unlock token for Xiaomi devices. (and unlock the bootloader) using Termux
Apache License 2.0
440 stars 74 forks source link

GPG key invalid on repo | mi-fastboot doesn't install #39

Closed coffee100percnt closed 6 months ago

coffee100percnt commented 6 months ago

apt output:


Hit:2 https://packages-cf.termux.dev/apt/termux-main stable InRelease
Err:1 https://rohitverma882.github.io termux InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 98B41BFB7ED7F825
Reading package lists... Done
W: GPG error: https://rohitverma882.github.io termux InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 98B41BFB7ED7F825
E: The repository 'https://rohitverma882.github.io termux InRelease' is not signed.
N: Metadata integrity can't be verified, repository is disabled now.
N: Possible causes: unstable or tampered Internet connection, wrong sources.list, outdated keyring or host is down currently.
N: Please note that all hosting problems or other serious issues we announce on our social media pages.
N: Use termux-change-repo for switching to a mirror.
[...]```
RohitVerma882 commented 6 months ago

Clear termux app data and try again

coffee100percnt commented 6 months ago

didn't work

RohitVerma882 commented 6 months ago

Download .deb package aarch64 or arm and install mi-fastboot manually using command.

dpkg -i <deb-pkg-file>
coffee100percnt commented 6 months ago

it worked, thanks