Closed arm-on closed 3 years ago
Just try again, probably the wget command failed.
On Fri, Jan 22, 2021 at 8:03 PM Arman Malekzadeh notifications@github.com wrote:
I am trying to install Kaldi on Ubuntu 20.04.1. I am now at this directory: /kaldi/tools/extras. I tried to run the following command:
sudo ./install_mkl.sh
And the result is:
./install_mkl.sh: Your system is using debian-style package management.
- apt-get update Hit:1 http://ir.archive.ubuntu.com/ubuntu focal InRelease Hit:2 http://ir.archive.ubuntu.com/ubuntu focal-updates InRelease Hit:3 http://ir.archive.ubuntu.com/ubuntu focal-backports InRelease Hit:4 http://ir.archive.ubuntu.com/ubuntu focal-security InRelease Reading package lists... Done
- apt-get install -y wget apt-transport-https ca-certificates gnupg Reading package lists... Done Building dependency tree Reading state information... Done gnupg is already the newest version (2.2.19-3ubuntu2). wget is already the newest version (1.20.3-1ubuntu1). ca-certificates is already the newest version (20201027ubuntu0.20.04.1). apt-transport-https is already the newest version (2.0.4). 0 upgraded, 0 newly installed, 0 to remove and 85 not upgraded.
- wget -qO- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
- apt-key --keyring /usr/share/keyrings/intel-sw-products.gpg add - gpg: no valid OpenPGP data found. ./install_mkl.sh: MKL package intel-mkl-64bit-2020.0-088 installation FAILED.
Please open an issue with us at https://github.com/kaldi-asr/kaldi/ if you believe this is a bug.
What's the problem and how should I proceed to solve it?
Note: I've seen some similar posts. But none of them exactly are the same mine.
Thanks in advance.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kaldi-asr/kaldi/issues/4431, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZFLO2ZG7MMPSXVVDCIBN3S3FSQXANCNFSM4WOMIGGQ .
I tried many times. Can it be for the sanctions against Iran (We know that Intel respects the sanctions)? I am asking this because I tried this command:
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
And the result is:
--2021-01-22 22:45:34-- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
Resolving apt.repos.intel.com (apt.repos.intel.com)... 184.87.31.244, 2a02:26f0:cc00:293::4b23, 2a02:26f0:cc00:295::4b23
Connecting to apt.repos.intel.com (apt.repos.intel.com)|184.87.31.244|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://software.intel.com/sites/common/403_compliance.htm [following]
--2021-01-22 22:45:36-- https://software.intel.com/sites/common/403_compliance.htm
Resolving software.intel.com (software.intel.com)... 184.87.16.37, 2a02:26f0:cc00:2a1::b, 2a02:26f0:cc00:28c::b, ...
Connecting to software.intel.com (software.intel.com)|184.87.16.37|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.intel.com/content/www/us/en/request-denied.html [following]
--2021-01-22 22:45:36-- https://www.intel.com/content/www/us/en/request-denied.html
Resolving www.intel.com (www.intel.com)... 184.87.16.37, 2a02:26f0:cc00:289::b, 2a02:26f0:cc00:28c::b, ...
Connecting to www.intel.com (www.intel.com)|184.87.16.37|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2021-01-22 22:45:37 ERROR 403: Forbidden.
mm probably
On Fri, Jan 22, 2021 at 8:31 PM Arman Malekzadeh notifications@github.com wrote:
I tried many times. Can it be for the sanctions against Iran (We know that Intel respects the sanctions)? I am asking this because I tried this command:
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
And the result is:
--2021-01-22 22:45:34-- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB Resolving apt.repos.intel.com (apt.repos.intel.com)... 184.87.31.244, 2a02:26f0:cc00:293::4b23, 2a02:26f0:cc00:295::4b23 Connecting to apt.repos.intel.com (apt.repos.intel.com)|184.87.31.244|:443... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://software.intel.com/sites/common/403_compliance.htm [following] --2021-01-22 22:45:36-- https://software.intel.com/sites/common/403_compliance.htm Resolving software.intel.com (software.intel.com)... 184.87.16.37, 2a02:26f0:cc00:2a1::b, 2a02:26f0:cc00:28c::b, ... Connecting to software.intel.com (software.intel.com)|184.87.16.37|:443... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://www.intel.com/content/www/us/en/request-denied.html [following] --2021-01-22 22:45:36-- https://www.intel.com/content/www/us/en/request-denied.html Resolving www.intel.com (www.intel.com)... 184.87.16.37, 2a02:26f0:cc00:289::b, 2a02:26f0:cc00:28c::b, ... Connecting to www.intel.com (www.intel.com)|184.87.16.37|:443... connected. HTTP request sent, awaiting response... 403 Forbidden 2021-01-22 22:45:37 ERROR 403: Forbidden.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kaldi-asr/kaldi/issues/4431#issuecomment-765365622, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZFLO237RJ3RNPR2562P23S3FV37ANCNFSM4WOMIGGQ .
Update: I used this command: sudo apt-get install intel-mkl-full
and it worked like a charm!
This issue has been automatically marked as stale by a bot solely because it has not had recent activity. Please add any comment (simply 'ping' is enough) to prevent the issue from being closed for 60 more days if you believe it should be kept open.
Looks like this is no longer an issue.
I am closing this issue for now. If you believe that your issue has not been addressed, please feel free to ping me, and I'll reopen it. @-mention me for a faster response!
I meet this problem today. And I think the below codes contains some problem:
( set -x;
apt-get update &&
apt-get install -y wget apt-transport-https ca-certificates gnupg &&
wget -qO- $intel_key_url | apt-key --keyring $keyring add - &&
echo "deb [signed-by=${keyring}] $apt_repo all main" \
> "$sources_d/intel-mkl.list" ) || return 1
I commented out these few codes, and make these commands beforehand in terminal.
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
sudo vim /etc/apt/sources.list.d/intel-mkl.list
And the file should be modified as follow:
deb https://apt.repos.intel.com/mkl all main
Only deb https://apt.repos.intel.com/mkl all main
should be written in this file.
After these processing, and commented the codes in extras/install_mkl.sh, everything seems fine.
Cheers.
@hshi-speech, this implies that the signing key is somehow already set up on your system. Type apt-key list
or apt-key finger
. Intel signing keys are all RSA 2048, and the fingerprints are
52AB D6E8 7E42 1793 9718 73FF ACFA 9FC5 7E6C 5DBE
E1BA 4ECE FB06 56C6 1BF9 7949 36B9 569B 3F1A 1BC7
6113 D313 62A0 D280 FC02 5AAB 6407 3642 7872 A220
I would be surprised if you won't see them among your trusted keys.
I think MKL is signed with one of the first two; the third is for pre-release beta testing packages.
Thank you for your comments! I will check them!
Best, H. Shi
kkm000 @.***> 于2021年6月6日周日 下午8:40写道:
@hshi-speech https://github.com/hshi-speech, this implies that the signing key is somehow already set up on your system. Type apt-key list or apt-key finger. Intel signing keys are all RSA 2048, and the fingerprints are
52AB D6E8 7E42 1793 9718 73FF ACFA 9FC5 7E6C 5DBE E1BA 4ECE FB06 56C6 1BF9 7949 36B9 569B 3F1A 1BC7 6113 D313 62A0 D280 FC02 5AAB 6407 3642 7872 A220
I would be surprised if you won't see them among your trusted keys.
I think MKL is signed with one of the first two; the third is for pre-release beta testing packages.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kaldi-asr/kaldi/issues/4431#issuecomment-855392952, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANK7OAN6VQLMNJMASUJOBFLTRNUCBANCNFSM4WOMIGGQ .
-- Hao Shi Speech and Audio Processing Lab, Kyoto University
I think this is definitely still an issue ... I'm on 20.04, building Kaldi on a new workstation. From $KALDI_ROOT/tools
I ran into this after ./extra/check_dependencies.sh
reported that I needed to do ./extras/install_mkl.sh
The above workaround of sudo apt-get install intel-mkl-full
INSTEAD of ./extras/install_mkl.sh
worked for me and re-running ./extra/check_dependencies.sh
gave me the OK 👍 🚀 and I've just finished building everything in /src
👏
I didn't understand much about the Intel key signing, ca-certificates or keyrings, so I was happy that there was a more direct solution
I am trying to install Kaldi on Ubuntu 20.04.1. I am now at this directory:
/kaldi/tools/extras
. I tried to run the following command:sudo ./install_mkl.sh
And the result is:
What's the problem and how should I proceed to solve it?
Note: I've seen some similar posts. But none of them exactly are the same as mine.
Thanks in advance.