pchain-org / pchain

Pchain client-in-Go
https://plian.org
GNU General Public License v3.0
24 stars 12 forks source link

Unable to install from Ubuntu PPA #39

Closed bertux closed 5 years ago

bertux commented 5 years ago
ubuntu@ip-172-31-30-28:~$ sudo add-apt-repository -y ppa:pchainorg/pchain
gpg: keyring `/tmp/tmps4q4fvku/secring.gpg' created
gpg: keyring `/tmp/tmps4q4fvku/pubring.gpg' created
gpg: requesting key 61FF97F3 from hkp server keyserver.ubuntu.com
gpgkeys: key 4A7475E191AC1BC3161559E53F26A26C61FF97F3 not found on keyserver
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
gpg: keyserver communications error: key not found
gpg: keyserver communications error: bad public key
gpg: keyserver receive failed: bad public key
Failed to add key.
ubuntu@ip-172-31-30-28:~$ sudo apt update
Hit:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease                          
Hit:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease                        
Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease                                                                
Get:5 http://ppa.launchpad.net/pchainorg/pchain/ubuntu xenial InRelease [18.0 kB]
Err:5 http://ppa.launchpad.net/pchainorg/pchain/ubuntu xenial InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3F26A26C61FF97F3
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net/pchainorg/pchain/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3F26A26C61FF97F3
E: The repository 'http://ppa.launchpad.net/pchainorg/pchain/ubuntu xenial InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
ubuntu@ip-172-31-30-28:~$ sudo apt install pchain
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package pchain
bertux commented 5 years ago

While waiting for the GPG key it can be downloaded by wget : wget https://launchpad.net/~pchainorg/+archive/ubuntu/pchain/+files/pchain_0.0.1.8_amd64.deb and install by dpkg : sudo dpkg -i pchain_0.0.1.8_amd64.deb

skykingit commented 5 years ago

before you run ''sudo add-apt-repository -y ppa:pchainorg/pchain you need to run ''sudo apt update,sudo apt upgrade"

bertux commented 5 years ago

That's what I have done and these apt commands don't retrieve the GOG key so it seems you don't have understood the error :-(

bertux commented 5 years ago

Can you show me where your public GPG key is available ?

fanbsb commented 5 years ago

Hi bertux,

while I execute the command sudo add-apt-repository -y ppa:pchainorg/pchain, I got the following output seems like working well

ubuntu@ip-172-31-12-155:~$ sudo add-apt-repository -y ppa:pchainorg/pchain
gpg: keyring `/tmp/tmpweqjyjcu/secring.gpg' created
gpg: keyring `/tmp/tmpweqjyjcu/pubring.gpg' created
gpg: requesting key 61FF97F3 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpweqjyjcu/trustdb.gpg: trustdb created
gpg: key 61FF97F3: public key "Launchpad PPA for pchainorg" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK
ubuntu@ip-172-31-12-155:~$
bertux commented 5 years ago

I have retried multiple times and now It finally works for me :-)