Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save souhaiebtar/b5cc87e0a3d6fcd6afe29f5161835ffa to your computer and use it in GitHub Desktop.
Save souhaiebtar/b5cc87e0a3d6fcd6afe29f5161835ffa to your computer and use it in GitHub Desktop.
[debian ignore-skip signature-key-verification-check] debian ignore-skip signature-key-verification-check #debian #skip #check
# source: https://askubuntu.com/questions/74345/how-do-i-bypass-ignore-the-gpg-signature-checks-of-apt #link-check-available 4/25/2025
sudo apt -o Acquire::AllowInsecureRepositories=true \
-o Acquire::AllowDowngradeToInsecureRepositories=true \
update
sudo apt -o Acquire::AllowInsecureRepositories=true \
-o Acquire::AllowDowngradeToInsecureRepositories=true \
-y upgrade
apt-get -o APT::Get::AllowUnauthenticated=true install repo-keyring-pkgname
# if error for key XXXXXYYYYZZZZ try this before
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys XXXXXYYYYZZZZ
# you can also add to `/etc/apt/apt.conf` # source: https://superuser.com/questions/1816010/cannot-bypass-gpg-check-to-reinstall-packages-update-on-debian-7 #link-ckeck-available 4/25/2025
APT::AllowInsecureRepositories "true";
Acquire::AllowInsecureRepositories "true";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment