linux-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]
在安装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-fedora-x86_64 [Couldn't open file /e tc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64]的更多相关文章
- (转)Linux curl命令参数详解
Linux curl命令参数详解 命令:curl在Linux中curl是一个利用URL规则在命令行下工作的文件传输工具,可以说是一款很强大的http命令行工具.它支持文件的上传和下载,是综合传输工具, ...
- linux curl 命令详解,以及实例
linux curl是一个利用URL规则在命令行下工作的文件传输工具.它支持文件的上传和下载,所以是综合传输工具,但按传统,习惯称url为下载工具. 一,curl命令参数,有好多我没有用过,也不知道翻 ...
- Linux Curl常用命令使用【转】
Curl是Linux下一个很强大的http命令行工具,其功能十分强大. 1)读取网页 $ curl linuxidc.com">http://www.linuxidc.com 2)保存 ...
- [转载] Linux curl命令详解
转载自http://www.linuxdiyf.com/linux/2800.html 命令:curl在Linux中curl是一个利用URL规则在命令行下工作的文件传输工具,可以说是一款很强大的htt ...
- Linux: curl
[user@localhost ~]$ curl -h Usage: curl [options...] <url> Options: (H) means HTTP/HTTPS only, ...
- Linux curl命令使用代理、以及代理种类介绍(转)
Linux curl命令使用代理.以及代理种类介绍 本文转自http://aiezu.com/article/linux_curl_proxy_http_socks.html,感谢作者 有时出于个 ...
- Linux——curl(转)
先介绍curl工具的使用,在其他文章中介绍如何使用curl发送Identity API linux curl是一个利用URL规则在命令行下工作的文件传输工具.它支持文件的上传和下载,所以是综合传输工具 ...
- Linux curl 命令下载文件
引用自http://blog.csdn.net/wh211212/article/details/54285921 命令:curl 在Linux中curl是一个利用URL规则在命令行下工作的文件传输工 ...
- Linux curl命令参数详解(6/23)
linux curl是通过url语法在命令行下上传或下载文件的工具软件,它支持http,https,ftp,ftps,telnet等多种协议,常被用来抓取网页和监控Web服务器状态. 在Linux中c ...
随机推荐
- SpringCloud(二)笔记之Eureka
Eureka包含两个组件:Eureka Server和Eureka Client Eureka Server:提供服务注册服务,各个节点启动后,会在Eureka Server中进行注册 Eureka ...
- react: typescript interface useState issue
define interface: interface ILoginState { imageId: string; imageSrc: string; username: string; passw ...
- 单线程下实现IO切换
1.Greenlet greenlet可以实现两个任务之间的来回切换,但遇到IO会阻塞,不会切(使用这个模块之前需要在电脑命令提示符中输入 pip3 install greenlet 进行安装) 例如 ...
- Flutter Weekly Issue 53
插件 left-scroll-actions A useful left scroll actions widget like WeChat.一款仿微信效果的 Flutter 左滑菜单插件.现在支持i ...
- discuz修改禁止性别保密选项
第一步找到source/function/function_profile.php 第二步 注释下面的代码 else { $html .= '<option value="0&quo ...
- apollo 项目配置中心开源框架部署
apollo 于我带来的好处 1. 项目之前的配置信息全部都在 resources 目录下,当然这里我使用的是 Spring Boot 搭建的项目.使用 apollo 后,配置信息全部转移到 apol ...
- js 之 object
js之object 对象 ECMA-262 把对象(object)定义为“属性的无序集合,每个属性存放一个原始值.对象或函数”.严格来说,这意味着对象是无特定顺序的值的数组. 尽管 ECMAScrip ...
- javascript SDK开发之webpack中eslint的配置
eslint的好处就不多说了.代码检查,代码报错, 智能提示,让开发人员更规范的撸代码等等. 1.安装依赖 npm install --save-dev eslint eslint-friendly- ...
- Ethtool工具源码剖析
Ethtool工具源码剖析 ethool是一个实用的工具,用来给系统管理员以大量的控制网络接口的操作.可以用来控制接口参数,速度,介质类型,双工模式,DMA环设置,硬件校验和,LAN唤醒操作等.本人经 ...
- 云时代 • 新契机:2017届中国SaaS产业大会圆满落幕
2017年5-6日,由拓普会展携手中国云体系产业创新战略联盟主办,江苏省企业信息化协会,浙江省企业信息化促进会,广东省首席信息官协会,CIO时代学院,IDC点评网协办以及上海市网购商会,中国信息化推进 ...