PC & IT SUPPORT MADE EASY FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Fix Public Key Parrot OS Update Error

Go down

Fix Public Key Parrot OS Update Error Empty Fix Public Key Parrot OS Update Error

Post by jamied_uk 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
jamied_uk
jamied_uk
Admin

Posts : 3053
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Fix Public Key Parrot OS Update Error Empty Re: Fix Public Key Parrot OS Update Error

Post by jamied_uk 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!!!
jamied_uk
jamied_uk
Admin

Posts : 3053
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Back to top

- Similar topics

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