linux-Curl error (37): Couldn't read a file:// file for file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedo

Posted 正霜霜儿

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux-Curl error (37): Couldn't read a file:// file for file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedo相关的知识,希望对你有一定的参考价值。

在安装Python3-pip 的时候遇到

[root@localhost rpm-gpg]# yum install python3-pip
Fedora 31 - x86_64 - Updates - aliyun 382 kB/s | 8.1 kB 00:00
Fedora 31 - x86_64 - aliyun 472 kB/s | 6.1 kB 00:00
Dependencies resolved.
==========================================================================================================================
Package Architecture Version Repository Size
==========================================================================================================================
Installing:
python3-pip noarch 19.1.1-7.fc31 updates 1.6 M
Installing weak dependencies:
libxcrypt-compat x86_64 4.4.10-1.fc31 fedora 100 k

Transaction Summary
==========================================================================================================================
Install 2 Packages

Total download size: 1.7 M
Installed size: 7.8 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): libxcrypt-compat-4.4.10-1.fc31.x86_64.rpm 340 kB/s | 100 kB 00:00
(2/2): python3-pip-19.1.1-7.fc31.noarch.rpm 2.1 MB/s | 1.6 MB 00:00
--------------------------------------------------------------------------------------------------------------------------
Total 2.2 MB/s | 1.7 MB 00:00
warning: /var/cache/dnf/updates-d1e8ff90ae0cb6fb/packages/python3-pip-19.1.1-7.fc31.noarch.rpm: Header V3 RSA/SHA256 Signa ture, key ID 3c3359c4: NOKEY
Fedora 31 - x86_64 - Updates - aliyun 0.0 B/s | 0 B 00:00
Curl error (37): Couldn‘t read a file:// file for file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64 [Couldn‘t open file /e tc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64]
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing ‘dnf clean packages‘.

-->[root@localhost rpm-gpg]# rpmkeys --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-31-x86_64

问题解决啦

[root@localhost rpm-gpg]# yum install python3-pip
Fedora 31 - x86_64 - Updates - aliyun 347 kB/s | 8.1 kB 00:00
Fedora 31 - x86_64 - aliyun 366 kB/s | 6.1 kB 00:00
Dependencies resolved.
==========================================================================================================================
Package Architecture Version Repository Size
==========================================================================================================================
Installing:
python3-pip noarch 19.1.1-7.fc31 updates 1.6 M
Installing weak dependencies:
libxcrypt-compat x86_64 4.4.10-1.fc31 fedora 100 k

Transaction Summary
==========================================================================================================================
Install 2 Packages

Total size: 1.7 M
Installed size: 7.8 M
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] python3-pip-19.1.1-7.fc31.noarch.rpm: Already downloaded
[SKIPPED] libxcrypt-compat-4.4.10-1.fc31.x86_64.rpm: Already downloaded
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : libxcrypt-compat-4.4.10-1.fc31.x86_64 1/2
Installing : python3-pip-19.1.1-7.fc31.noarch 2/2
Running scriptlet: python3-pip-19.1.1-7.fc31.noarch 2/2
Verifying : python3-pip-19.1.1-7.fc31.noarch 1/2
Verifying : libxcrypt-compat-4.4.10-1.fc31.x86_64 2/2

Installed:
python3-pip-19.1.1-7.fc31.noarch libxcrypt-compat-4.4.10-1.fc31.x86_64

Complete!

 

以上是关于linux-Curl error (37): Couldn't read a file:// file for file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedo的主要内容,如果未能解决你的问题,请参考以下文章

error: https://packages.elastic.co/GPG-KEY-elasticsearch: import read failed.

python 来自http://community.thefoundry.co.uk/discussion/topic.aspx?f=37&t=26551

Pig ERROR 0:Scalar在输出中有多行

TBB error Set TBB_PREVIEW_CONCURRENT_ORDERED_CONTAINERS to include concurrent_set.h

struts2启动报错:ERROR com.opensymphony.xwork2.conversion.impl.DefaultConversionPropertiesProcessor - Co

docker nginx 代理宿主机服务