CentOS8安装libgdiplus失败解决方法

CentOS8安装libgdiplus 依赖  执行

sudo yum install libgdiplus

报错

[root@ecs-87157 wwwroot]# sudo yum install libgdiplus
Repository extras is listed more than once in the configuration
Last metadata expiration check: 2:43:55 ago on Thu 21 Jul 2022 10:23:37 AM CST.
Dependencies resolved.
============================================================================================================================================================================================================================================================
 Package                                             Architecture                                   Version                                                           Repository                                                                       Size
============================================================================================================================================================================================================================================================
Installing:
 libgdiplus0                                         x86_64                                         6.0.5-0.xamarin.1.epel8                                           download.mono-project.com_repo_centos8_                                         638 k
Installing dependencies:
 giflib                                              x86_64                                         5.1.4-3.el8                                                       appstream                                                                        51 k
 libexif                                             x86_64                                         0.6.22-5.el8_3                                                    appstream                                                                       431 k

Transaction Summary
============================================================================================================================================================================================================================================================
Install  3 Packages

Total size: 1.1 M
Installed size: 3.1 M
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] giflib-5.1.4-3.el8.x86_64.rpm: Already downloaded                                                                                                                                                                                                
[SKIPPED] libexif-0.6.22-5.el8_3.x86_64.rpm: Already downloaded                                                                                                                                                                                            
[SKIPPED] libgdiplus0-6.0.5-0.xamarin.1.epel8.x86_64.rpm: Already downloaded                                                                                                                                                                               
Public key for libgdiplus0-6.0.5-0.xamarin.1.epel8.x86_64.rpm is not installed
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
Error: GPG check FAILED

网上找了好多解决方案各种离线安装 都没有用  直到看到 在结尾加上 --nogpgcheck 成功解决 

执行代码

yum/dnf install packagemame --nogpgcheck

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值