Try to use only the first part of the command: wget -O - http://harmattan.openrepos.net/openrepos.key Do you get the public key printed on screen? If not, it may be a connectivity issue, as the 'gpg: no valid OpenPGP data found' error happens when apt-get key didn't get anything to process.