4

I'm fairly new to Linux. I have Ubuntu, and now I want to install the Pantheon desktop, but as soon I run the command

sudo add-apt-repository ppa:elementary-os/daily

I get an error message saying:

gpg: keyserver receive failed: No keyserver available

I have tried looking up a solution to the problem online, but I couldn't find any solution that worked for me. How do I solve this problem?

MPi
  • 2,201
ALEX
  • 63
  • 1
  • 1
  • 6

2 Answers2

2

Try the manual way,

  1. Open terminal and open sources list:

    sudo gedit /etc/apt/sources.list
    
  2. Add the lines: Look your ubuntu version and change zesty to yours.

    deb http://ppa.launchpad.net/elementary-os/daily/ubuntu zesty main 
    deb-src http://ppa.launchpad.net/elementary-os/daily/ubuntu zesty main
    
  3. Add key:

     sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4E1F8A59
    
  4. Run command:

    sudo apt-get update
    

Now you can install packages from this repo.

This is a template to add any repository from ppa.

PPA manual repository installation

d a i s y
  • 5,551
Grisotto
  • 261
-1

I experienced the same issue. I am not behind a firewall, but need to use a HTTP proxy. It seems gpg does not honour these settings, at least not when invoked through add-apt-repository. So, the solution for me was to get on a network without need for a proxy; of course, that may not be possible for everybody.

MPi
  • 2,201