Installation of Nextcloud client on PureOS fails: no valid OpenPGP data found

Getting this when trying to install the Nextcloud desktop client from this PPA on PureOS:

jan@Rechenknecht:~$ sudo add-apt-repository ppa:nextcloud-devs/client
 The Nextcloud desktop client compiled for Ubuntu
 More info: https://launchpad.net/~nextcloud-devs/+archive/ubuntu/client
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keybox '/tmp/tmpkw4izpp7/pubring.gpg' created
gpg: /tmp/tmpkw4izpp7/trustdb.gpg: trustdb created
gpg: key 60EE47FBAD3DD469: public key "Launchpad PPA for Nextcloud development" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: no valid OpenPGP data found.
jan@Rechenknecht:~$ sudo apt-get update
Hit:1 http://repo.puri.sm/pureos green InRelease
Get:2 http://ppa.launchpad.net/nextcloud-devs/client/ubuntu artful InRelease [15.9 kB]
Err:2 http://ppa.launchpad.net/nextcloud-devs/client/ubuntu artful InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 60EE47FBAD3DD469
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net/nextcloud-devs/client/ubuntu artful InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 60EE47FBAD3DD469
E: The repository 'http://ppa.launchpad.net/nextcloud-devs/client/ubuntu artful 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.

I was told that PureOS needs to ship the keys for that repo? Would be cool if we can get that fixed so people can use Nextcloud. :slight_smile:

1 Like

I don’t know if this will help (I am new to Linux) but I got NextCloud on my Librem 13 by entering this command in Terminal:

sudo apt -y install owncloud-client

Then find the ‘Online Accounts’ app from the search bar and select ‘Owncloud’ and enter your credentials.

1 Like

No. The key import fails. You can import it manually:

At the https://launchpad.net/~nextcloud-devs/+archive/ubuntu/client under Technical details about this PPA you have the link to the key: http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x60EE47FBAD3DD469

Save the key (everything from -----BEGIN PGP PUBLIC KEY BLOCK----- to -----END PGP PUBLIC KEY BLOCK-----) including those lines to a text file with gpg extension. Then start program Software & Updates go to Authentication tab and import the key. You should be able to sudo apt update without problems now.

2 Likes

Hello mladen,
with my new ibrem13 [now finally shipped (thanks for your support!)] I had the same Problem trying to install nextcloud-client.
I followed your advice and copied the PGP-Block in a gpg-file as shown in the Picture and added this file to the trusted software.
As result I unfortunately got the error, that the file might probably not be a gpg, or broken!

Where is my fault, or is it the link http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x60EE47FBAD3DD469 which is out of date?

I think i need the client because the pureos included webdav-Solution for Nextcloud is not suitable to compile tex-files with i.e. texmaker or gummy

Thank you in advance!

Have you updated, upgraded and full-upgraded your system?

Thanks for the info beFree, but your hint did not have any efect…

The named error is the same. Any further Ideas?

I’d love to help you more but for now I don’t have access to the computer running pureOS so I can’t help you much here.
Considering that some people succeeded installing and running this software, let’s make sure you ran these exact commands in this exact order:
sudo apt update
sudo apt upgrade
sudo apt full-upgrade

If these won’t help, unfortunately I won’t be able to help you for now. Maybe someone else could.

I did everything as you told.
I even tried different Browser and Editors to copy/paste and store the gpg-file, but the problem/error is the same…

Will a new installation of pureOS help?