Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
258 views
in Others by
retagged by

I am trying to install previous version of ubuntu, i.e. 3.0. I am giving below command

$echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list

After that I am giving command

$sudo apt-get update

It throws below error.

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY

Kindly help.

1 Answer

0 like 0 dislike
by The go-to Tester (181 points)

Solution given below helped me.

Execute the following commands in terminal

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <PUBKEY>

where <PUBKEY> is your missing public key for repository, e.g. 8BAF9A6F.

Then update

sudo apt-get update

 


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...