Showing posts with label install packages from ubuntu repository. Show all posts
Showing posts with label install packages from ubuntu repository. Show all posts

Friday, June 22, 2018

How to add get keys for ubuntu repo in another distribution

add

deb [trusted=yes] http://archive.ubuntu.com/ubuntu 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 keyserver.ubuntu.com --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