gooofy / zamia-speech

Open tools and data for cloudless automatic speech recognition
GNU Lesser General Public License v3.0
443 stars 86 forks source link

When trying to following instruction ,I am getting "signatures were invalid "error #85

Open WilliamVJacob opened 4 years ago

WilliamVJacob commented 4 years ago

Hi, I am trying to install zamia speech but when do the third step it shows "signature were invalid error" . I have shared the logs below sudo -i apt-get update Get:1 http://goofy.zamia.org/repo-ai/raspbian/stretch/armhf ./ InRelease [1,353 B]
Err:1 http://goofy.zamia.org/repo-ai/raspbian/stretch/armhf ./ InRelease
The following signatures were invalid: EXPKEYSIG 5E5823F5B4F0DEA9 Guenter Bartsch guenter@zamia.org Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:3 http://archive.raspberrypi.org/debian buster InRelease
Reading package lists... Done
W: GPG error: http://goofy.zamia.org/repo-ai/raspbian/stretch/armhf ./ InRelease: The following signatures were invalid: EXPKEYSIG 5E5823F5B4F0DEA9 Guenter Bartsch guenter@zamia.org E: The repository 'http://goofy.zamia.org/repo-ai/raspbian/stretch/armhf ./ 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.

gooofy commented 4 years ago

Don't think it is a good idea to install stretch packages on buster, but if you want to try that anyway: have you imported the repo's key via apt-key ?

WilliamVJacob commented 4 years ago

Yes I added key via apt-key But I still faced the issue

edbir1 commented 4 years ago

Anything on this issue? I am receiving the same error. I tried Stretch, Buster and an ubuntu18 vm. and received the same error. W: GPG error: http://goofy.zamia.org/repo-ai/raspbian/stretch/armhf ./ InRelease: The following signatures were invalid: EXPKEYSIG 5E5823F5B4F0DEA9 Guenter Bartsch <guenter@zamia.org> W: The repository 'http://goofy.zamia.org/repo-ai/raspbian/stretch/armhf ./ InRelease' is not signed. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.

edbir1 commented 4 years ago

The problem is that your signing key expired on 16 Dec 2019. It was only valid for 2 years.

pub rsa2048 2017-12-16 [SC] [expired: 2019-12-16] 6531 47DE 36A3 659B A814 BDC3 5E58 23F5 B4F0 DEA9 uid [ expired] Guenter Bartsch guenter@zamia.org

ppvastar commented 4 years ago

Same issue here. Any way to solve it?

consde commented 4 years ago

Any help is highly appreciated. Same problem here.

ppvastar commented 4 years ago

@consde I found out the solution

Instead of running the following commands following the manual which causes failure,

apt-get update apt-get install kaldi-chain-zamia-speech-de kaldi-chain-zamia-speech-en python-kaldiasr python-nltools pulseaudio-utils pulseaudio

One can manually download and install the above mentioned deb packages here, except pulseaudio-utils and pulseaudio which can be installed from official raspbian sources.

https://goofy.zamia.org/repo-ai/

Especailly, for raspberry pi 4 armhf, all the packages are available here : https://goofy.zamia.org/repo-ai/raspbian/stretch/armhf/

edbir1 commented 4 years ago

Can someone who knows Gunter contact him to update the signing key? I don't think anyone can really update or install the packages until he does.

franck-exceenis commented 4 years ago

If you want to download all the debian packages from this repository, you can do:

curl 'https://goofy.zamia.org/repo-ai/raspbian/stretch/armhf/' | grep -E 'href="[^"]*\.deb"' | sed 's#^.*href="\([^"]*\.deb\)".*$#\1#' | while read LINE; do wget "https://goofy.zamia.org/repo-ai/raspbian/stretch/armhf/$LINE"; done

and then install manually the package you want using sudo dpkg -i <package>.