Friday, June 22, 2018

How to add get keys for ubuntu repo in another distribution


deb [trusted=yes] trusty universe

to /etc/apt/sources.list

do apt-get update

It will complain about non existing public key. Take not of the PUB_KEY and now execute following,

apt-key adv --keyserver --recv-keys <PUB_KEY>

This should add the key for the said repository.

Now you can execute following at it should work without any errors.

sudo apt-get update

No comments:

Post a Comment