Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@epcim
Created October 20, 2015 08:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save epcim/0a85d9e3543326783a8b to your computer and use it in GitHub Desktop.
Save epcim/0a85d9e3543326783a8b to your computer and use it in GitHub Desktop.

Ubuntu apt / PPA, add repository examplesetc...

this is a common problem with Launchpad PPAs. Common enough that I've copied these commands to use when I reinstall or add new Launchpad PPAs.

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys  
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys YOURKEYNUMBERHERE  
sudo add-apt-repository ppa:stebbins/handbrake-releases
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"

add, fetch repo key

apt-key adv --fetch-keys http://www.4pane.co.uk/4Pane.asc
or
wget -O - http://www.4pane.co.uk/4Pane.asc | sudo apt-key add -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment