Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The repository 'http://ppa.launchpad.net/rmescandon/yq/ubuntu xenial InRelease' is not signed. #217

Closed
neutron92 opened this issue Mar 8, 2019 · 11 comments
Assignees

Comments

@neutron92
Copy link

root@s:~# sudo add-apt-repository ppa:rmescandon/yq
 yq is a portable command line processor created by Mike Farah

See code at:
https://github.com/mikefarah/yq
 More info: https://launchpad.net/~rmescandon/+archive/ubuntu/yq
Press [ENTER] to continue or ctrl-c to cancel adding it


gpg: keyring `/tmp/tmp1pkwgj4v/secring.gpg' created
gpg: keyring `/tmp/tmp1pkwgj4v/pubring.gpg' created
gpg: requesting key CC86BB64 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp1pkwgj4v/trustdb.gpg: trustdb created
gpg: key CC86BB64: public key "Launchpad PPA for Roberto Mier Escandn \xee\x83\xbf" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
'ascii' codec can't decode byte 0xc3 in position 108: ordinal not in range(128)

root@s:~# sudo apt update
Hit:1 http://archive.canonical.com/ubuntu xenial InRelease
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Hit:3 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:4 http://ppa.launchpad.net/jonathonf/ffmpeg-4/ubuntu xenial InRelease [18.0 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:6 http://ppa.launchpad.net/rmescandon/yq/ubuntu xenial InRelease [18.0 kB]
Get:7 https://ubuntu.bigbluebutton.org/xenial-200 bigbluebutton-xenial InRelease [2522 B]
Err:6 http://ppa.launchpad.net/rmescandon/yq/ubuntu xenial InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6657DBE0CC86BB64
Get:8 https://ubuntu.bigbluebutton.org/xenial-200 bigbluebutton-xenial/main amd64 Packages [42.8 kB]
Get:9 http://ppa.launchpad.net/jonathonf/ffmpeg-4/ubuntu xenial/main amd64 Packages [12.1 kB]
Get:10 http://ppa.launchpad.net/jonathonf/ffmpeg-4/ubuntu xenial/main Translation-en [7252 B]
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net/rmescandon/yq/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6657DBE0CC86BB64
E: The repository 'http://ppa.launchpad.net/rmescandon/yq/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.
root@s:~# sudo apt install yq -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  yq
0 upgraded, 1 newly installed, 0 to remove and 143 not upgraded.
Need to get 1410 kB of archives.
After this operation, 5431 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  yq
E: There were unauthenticated packages and -y was used without --allow-unauthenticated
@satyaakam
Copy link

i saw the same error used snap to install yq for now

@rmescandon
Copy link
Contributor

Seems that the key is not added to your local store. Try this:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6657DBE0CC86BB64
sudo apt update
sudo apt install -y yq

@rmescandon
Copy link
Contributor

@satyaakam Can you please paste more information about the snap installation?. AFAIK This signing key is only used for the .deb, so looks weird to me that same error happens with snap version

@satyaakam
Copy link

satyaakam commented Mar 31, 2019

@rmescandon following are the steps did to install yq first tried adding the repo it failed then did a install using Snap

add-apt-repository ppa:rmescandon/yq -y

gpg: keyring /tmp/tmps54vvbhc/secring.gpg' created gpg: keyring /tmp/tmps54vvbhc/pubring.gpg' created
gpg: requesting key CC86BB64 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmps54vvbhc/trustdb.gpg: trustdb created
gpg: key CC86BB64: public key "Launchpad PPA for Roberto Mier Escand�n \xee\x83\xbf" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
'ascii' codec can't decode byte 0xc3 in position 108: ordinal not in range(128)
~# snap install yq
yq 2.3.0 from 'mikefarah' installed

@satyaakam
Copy link

satyaakam commented Mar 31, 2019

Seems that the key is not added to your local store. Try this:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6657DBE0CC86BB64
sudo apt update
sudo apt install -y yq

i tried this method it works

@lyzhang1999
Copy link

Seems that the key is not added to your local store. Try this:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6657DBE0CC86BB64
sudo apt update
sudo apt install -y yq

it work for me in ubuntu

@tmaior
Copy link

tmaior commented Oct 5, 2019

not working in Debian 9

root@c04dcf6da872:/# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.8 (stretch)
Release: 9.8
Codename: stretch

@mafrosis
Copy link

Looks like the python code for add-apt-repository is not handling UTF8 properly in the string "Launchpad PPA for Roberto Mier Escand�n \xee\x83\xbf".

@rmescandon If you can rename the PPA to include just ascii chars this problem will likely go away.

@mafrosis
Copy link

Another alternative install:

curl -L https://github.com/mikefarah/yq/releases/download/2.4.0/yq_linux_amd64 -o /usr/local/bin/yq
chmod +x /usr/local/bin/yq

@rahulosp
Copy link

rahulosp commented Jan 2, 2020

LC_ALL=C.UTF-8 add-apt-repository ppa:rmescandon/yq -y

The above works for me for Dockerfile as well as ubuntu 16.04

@rmescandon
Copy link
Contributor

Hey guys. Forgot to attend this. Just updated my launchpad display name for not including any non-ascii char on my name. Please, give it a go.

Besides, there are newer versions of the debian packages, matching last releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants