Fix Public Key Parrot OS Update Error

Go down

Fix Public Key Parrot OS Update Error

Post by jamied_uk on 23rd May 2018, 09:56



Get:1 http://mirrordirector.archive.parrotsec.org/parrot stable InRelease [14.6 kB]
Err:1 http://mirrordirector.archive.parrotsec.org/parrot stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ED05F7B2EC3C9224


Fix command line:


Code:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ED05F7B2EC3C9224


Notice the Key and should be same as in your error!

then

Code:
sudo apt update --fix-missing





Code:
sudo apt update -y && sudo apt upgrade -y




Or

Code:
sudo apt update -y && sudo apt full-upgrade -y --allow-downgrades
avatar
jamied_uk
Admin

Posts : 2427
Join date : 2010-05-09
Age : 35
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: Fix Public Key Parrot OS Update Error

Post by jamied_uk on 23rd May 2018, 10:41



Bashrc Function


Code:
function updatekey(){
# Usage: ./fix.sh "Key"
#
# Setups:
var=$1
#
#
# See if args are missing!.....
if [ $# -lt 1 ]; then
  echo "Enter Public Key To Add"
  read var
fi
#
#
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $var
}




put above into your bashrc file!!!
avatar
jamied_uk
Admin

Posts : 2427
Join date : 2010-05-09
Age : 35
Location : UK

http://address-shortner.co.uk

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum