Errors during downloading metadata for repository ‘base’:
在centos8系统中安装软件出问题;
查看系统版本
[root@compute09 yum.repos.d]# cat /etc/redhat-release
CentOS Linux release 8.2.2004 (Core)
解决方法:
mv /etc/yum.repos.d/CentOS-Base.repo/etc/yum.repos.d/CentOS-Base.repo.backup
wget -O/etc/yum.repos.d/CentOS-Base.repohttps://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo
yum makecache
再次安装
[root@compute09 yum.repos.d]# yum install gcc automake autoconf libtool make
Repository base is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository PowerTools is listed more than once in the configuration
Repository AppStream is listed more than once in the configuration
上次元数据过期检查:0:00:20 前,执行于 2023年07月14日 星期五 14时06分04秒。
依赖关系解决。
================================================================================================================================================================================================================
软件包 架构 版本 仓库 大小
================================================================================================================================================================================================================
安装:
autoconf noarch 2.69-29.el8 AppStream 710 k
automake noarch 1.16.1-7.el8 AppStream 713 k
gcc x86_64 8.5.0-4.el8_5 AppStream 23 M
libtool x86_64 2.4.6-25.el8 AppStream 709 k
make x86_64 1:4.2.1-10.el8 base 498 k
升级:
glibc x86_64 2.28-164.el8 base 3.6 M
glibc-all-langpacks x86_64 2.28-164.el8 base 25 M
glibc-common x86_64 2.28-164.el8 base 1.3 M
libgcc x86_64 8.5.0-4.el8_5 base 79 k
libgomp x86_64 8.5.0-4.el8_5 base 206 k
libxcrypt x86_64 4.1.1-6.el8 base 73 k
安装依赖关系:
cpp x86_64 8.5.0-4.el8_5 AppStream 10 M
glibc-devel x86_64 2.28-164.el8 base 1.0 M
glibc-headers x86_64 2.28-164.el8 base 480 k
isl x86_64 0.16.1-6.el8 AppStream 841 k
kernel-headers x86_64 4.18.0-348.7.1.el8_5 base 8.3 M
libmpc x86_64 1.1.0-9.1.el8 AppStream 61 k
libxcrypt-devel x86_64 4.1.1-6.el8 base 25 k
m4 x86_64 1.4.18-7.el8 base 223 k
perl-Data-Dumper x86_64 2.167-399.el8 base 58 k
perl-Digest noarch 1.17-395.el8 AppStream 27 k
perl-Digest-MD5 x86_64 2.55-396.el8 AppStream 37 k
perl-Encode x86_64 4:2.97-3.el8 base 1.5 M
perl-File-Temp noarch 0.230.600-1.el8 base 63 k
perl-Getopt-Long noarch 1:2.50-4.el8 base 63 k
perl-HTTP-Tiny noarch 0.074-1.el8 base 58 k
perl-MIME-Base64 x86_64 3.15-396.el8 base 31 k
perl-Net-SSLeay x86_64 1.88-1.module_el8.3.0+410+ff426aa3 AppStream 379 k
perl-Pod-Escapes noarch 1:1.07-395.el8 base 20 k
perl-Pod-Perldoc noarch 3.28-396.el8 base 86 k
perl-Pod-Simple noarch 1:3.35-395.el8 base 213 k
perl-Pod-Usage noarch 4:1.69-395.el8 base 34 k
perl-Storable x86_64 1:3.11-3.el8 base 98 k
perl-Term-ANSIColor noarch 4.06-396.el8 base 46 k
perl-Term-Cap noarch 1.17-395.el8 base 23 k
perl-Text-ParseWords noarch 3.30-395.el8 base 18 k
perl-Thread-Queue noarch 3.13-1.el8 AppStream 24 k
perl-Time-Local noarch 1:1.280-1.el8 base 34 k
perl-URI noarch 1.73-3.el8 AppStream 116 k
perl-libnet noarch 3.11-3.el8 AppStream 121 k
perl-podlators noarch 4.11-1.el8 base 118 k
安装弱的依赖:
perl-IO-Socket-IP noarch 0.39-5.el8 AppStream 47 k
perl-IO-Socket-SSL noarch 2.066-4.module_el8.3.0+410+ff426aa3 AppStream 298 k
perl-Mozilla-CA noarch 20160104-7.module_el8.3.0+416+dee7bcef AppStream 15 k
启用模块流:
perl 5.26
perl-IO-Socket-SSL 2.066
perl-libwww-perl 6.34
事务概要
================================================================================================================================================================================================================
安装 38 软件包
升级 6 软件包
总下载:81 M
确定吗?[y/N]: y
下载软件包:
(1/44): glibc-headers-2.28-164.el8.x86_64.rpm 776 kB/s | 480 kB 00:00
(2/44): libxcrypt-devel-4.1.1-6.el8.x86_64.rpm 231 kB/s | 25 kB 00:00
(3/44): m4-1.4.18-7.el8.x86_64.rpm 742 kB/s | 223 kB 00:00
(4/44): glibc-devel-2.28-164.el8.x86_64.rpm 832 kB/s | 1.0 MB 00:01
(5/44): perl-Data-Dumper-2.167-399.el8.x86_64.rpm 452 kB/s | 58 kB 00:00
(6/44): make-4.2.1-10.el8.x86_64.rpm 821 kB/s | 498 kB 00:00
(7/44): perl-File-Temp-0.230.600-1.el8.noarch.rpm 414 kB/s | 63 kB 00:00
(8/44): perl-Getopt-Long-2.50-4.el8.noarch.rpm 366 kB/s | 63 kB 00:00
(9/44): perl-HTTP-Tiny-0.074-1.el8.noarch.rpm 243 kB/s | 58 kB 00:00
(10/44): perl-MIME-Base64-3.15-396.el8.x86_64.rpm 229 kB/s | 31 kB 00:00
(11/44): perl-Pod-Escapes-1.07-395.el8.noarch.rpm 191 kB/s | 20 kB 00:00
(12/44): perl-Pod-Perldoc-3.28-396.el8.noarch.rpm 460 kB/s | 86 kB 00:00
(13/44): perl-Pod-Simple-3.35-395.el8.noarch.rpm 654 kB/s | 213 kB 00:00
(14/44): perl-Encode-2.97-3.el8.x86_64.rpm 914 kB/s | 1.5 MB 00:01
(15/44): perl-Pod-Usage-1.69-395.el8.noarch.rpm 148 kB/s | 34 kB 00:00
(16/44): perl-Storable-3.11-3.el8.x86_64.rpm 507 kB/s | 98 kB 00:00
(17/44): perl-Term-ANSIColor-4.06-396.el8.noarch.rpm 294 kB/s | 46 kB 00:00
(18/44): perl-Term-Cap-1.17-395.el8.noarch.rpm 136 kB/s | 23 kB 00:00
(19/44): perl-Text-ParseWords-3.30-395.el8.noarch.rpm 173 kB/s | 18 kB 00:00
(20/44): perl-Time-Local-1.280-1.el8.noarch.rpm 266 kB/s | 34 kB 00:00
(21/44): perl-podlators-4.11-1.el8.noarch.rpm 477 kB/s | 118 kB 00:00
(22/44): autoconf-2.69-29.el8.noarch.rpm 815 kB/s | 710 kB 00:00
(23/44): automake-1.16.1-7.el8.noarch.rpm 933 kB/s | 713 kB 00:00
(24/44): kernel-headers-4.18.0-348.7.1.el8_5.x86_64.rpm 965 kB/s | 8.3 MB 00:08
(25/44): isl-0.16.1-6.el8.x86_64.rpm 891 kB/s | 841 kB 00:00
(26/44): libmpc-1.1.0-9.1.el8.x86_64.rpm 677 kB/s | 61 kB 00:00
(27/44): libtool-2.4.6-25.el8.x86_64.rpm 815 kB/s | 709 kB 00:00
(28/44): perl-Digest-1.17-395.el8.noarch.rpm 202 kB/s | 27 kB 00:00
(29/44): perl-Digest-MD5-2.55-396.el8.x86_64.rpm 264 kB/s | 37 kB 00:00
(30/44): perl-IO-Socket-IP-0.39-5.el8.noarch.rpm 321 kB/s | 47 kB 00:00
(31/44): perl-IO-Socket-SSL-2.066-4.module_el8.3.0+410+ff426aa3.noarch.rpm 790 kB/s | 298 kB 00:00
(32/44): perl-Mozilla-CA-20160104-7.module_el8.3.0+416+dee7bcef.noarch.rpm 142 kB/s | 15 kB 00:00
(33/44): perl-Net-SSLeay-1.88-1.module_el8.3.0+410+ff426aa3.x86_64.rpm 803 kB/s | 379 kB 00:00
(34/44): perl-Thread-Queue-3.13-1.el8.noarch.rpm 376 kB/s | 24 kB 00:00
(35/44): perl-URI-1.73-3.el8.noarch.rpm 506 kB/s | 116 kB 00:00
(36/44): perl-libnet-3.11-3.el8.noarch.rpm 548 kB/s | 121 kB 00:00
(37/44): cpp-8.5.0-4.el8_5.x86_64.rpm 1.0 MB/s | 10 MB 00:10
(38/44): glibc-2.28-164.el8.x86_64.rpm 1.0 MB/s | 3.6 MB 00:03
(39/44): glibc-common-2.28-164.el8.x86_64.rpm 1.0 MB/s | 1.3 MB 00:01
(40/44): libgcc-8.5.0-4.el8_5.x86_64.rpm 433 kB/s | 79 kB 00:00
(41/44): libgomp-8.5.0-4.el8_5.x86_64.rpm 800 kB/s | 206 kB 00:00
(42/44): libxcrypt-4.1.1-6.el8.x86_64.rpm 805 kB/s | 73 kB 00:00
(43/44): gcc-8.5.0-4.el8_5.x86_64.rpm 914 kB/s | 23 MB 00:26
(44/44): glibc-all-langpacks-2.28-164.el8.x86_64.rpm 1.0 MB/s | 25 MB 00:25
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
总计 2.0 MB/s | 81 MB 00:40
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
准备中 : 1/1
升级 : glibc-all-langpacks-2.28-164.el8.x86_64 1/50
升级 : glibc-common-2.28-164.el8.x86_64 2/50
运行脚本: glibc-2.28-164.el8.x86_64 3/50
升级 : glibc-2.28-164.el8.x86_64 3/50
运行脚本: glibc-2.28-164.el8.x86_64 3/50
安装 : perl-MIME-Base64-3.15-396.el8.x86_64 4/50
安装 : perl-IO-Socket-IP-0.39-5.el8.noarch 5/50
安装 : perl-Text-ParseWords-3.30-395.el8.noarch 6/50
安装 : perl-Data-Dumper-2.167-399.el8.x86_64 7/50
安装 : libmpc-1.1.0-9.1.el8.x86_64 8/50
升级 : libgcc-8.5.0-4.el8_5.x86_64 9/50
运行脚本: libgcc-8.5.0-4.el8_5.x86_64 9/50
安装 : perl-Time-Local-1:1.280-1.el8.noarch 10/50
安装 : cpp-8.5.0-4.el8_5.x86_64 11/50
运行脚本: cpp-8.5.0-4.el8_5.x86_64 11/50
安装 : perl-Digest-1.17-395.el8.noarch 12/50
安装 : perl-Digest-MD5-2.55-396.el8.x86_64 13/50
安装 : perl-Net-SSLeay-1.88-1.module_el8.3.0+410+ff426aa3.x86_64 14/50
安装 : m4-1.4.18-7.el8.x86_64 15/50
运行脚本: m4-1.4.18-7.el8.x86_64 15/50
安装 : perl-Storable-1:3.11-3.el8.x86_64 16/50
安装 : isl-0.16.1-6.el8.x86_64 17/50
运行脚本: isl-0.16.1-6.el8.x86_64 17/50
升级 : libgomp-8.5.0-4.el8_5.x86_64 18/50
运行脚本: libgomp-8.5.0-4.el8_5.x86_64 18/50
升级 : libxcrypt-4.1.1-6.el8.x86_64 19/50
安装 : perl-Thread-Queue-3.13-1.el8.noarch 20/50
安装 : perl-Mozilla-CA-20160104-7.module_el8.3.0+416+dee7bcef.noarch 21/50
安装 : perl-Term-Cap-1.17-395.el8.noarch 22/50
安装 : perl-Term-ANSIColor-4.06-396.el8.noarch 23/50
安装 : perl-Pod-Escapes-1:1.07-395.el8.noarch 24/50
安装 : perl-File-Temp-0.230.600-1.el8.noarch 25/50
安装 : perl-Encode-4:2.97-3.el8.x86_64 26/50
安装 : perl-Pod-Simple-1:3.35-395.el8.noarch 27/50
安装 : perl-Getopt-Long-1:2.50-4.el8.noarch 28/50
安装 : perl-podlators-4.11-1.el8.noarch 29/50
安装 : perl-Pod-Usage-4:1.69-395.el8.noarch 30/50
安装 : perl-Pod-Perldoc-3.28-396.el8.noarch 31/50
安装 : perl-HTTP-Tiny-0.074-1.el8.noarch 32/50
安装 : perl-libnet-3.11-3.el8.noarch 33/50
安装 : perl-URI-1.73-3.el8.noarch 34/50
安装 : perl-IO-Socket-SSL-2.066-4.module_el8.3.0+410+ff426aa3.noarch 35/50
安装 : autoconf-2.69-29.el8.noarch 36/50
运行脚本: autoconf-2.69-29.el8.noarch 36/50
安装 : automake-1.16.1-7.el8.noarch 37/50
安装 : kernel-headers-4.18.0-348.7.1.el8_5.x86_64 38/50
运行脚本: glibc-headers-2.28-164.el8.x86_64 39/50
安装 : glibc-headers-2.28-164.el8.x86_64 39/50
安装 : libxcrypt-devel-4.1.1-6.el8.x86_64 40/50
安装 : glibc-devel-2.28-164.el8.x86_64 41/50
运行脚本: glibc-devel-2.28-164.el8.x86_64 41/50
安装 : gcc-8.5.0-4.el8_5.x86_64 42/50
运行脚本: gcc-8.5.0-4.el8_5.x86_64 42/50
安装 : libtool-2.4.6-25.el8.x86_64 43/50
运行脚本: libtool-2.4.6-25.el8.x86_64 43/50
安装 : make-1:4.2.1-10.el8.x86_64 44/50
运行脚本: make-1:4.2.1-10.el8.x86_64 44/50
运行脚本: libgomp-8.3.1-5.el8.0.2.x86_64 45/50
清理 : libgomp-8.3.1-5.el8.0.2.x86_64 45/50
运行脚本: libgomp-8.3.1-5.el8.0.2.x86_64 45/50
清理 : libxcrypt-4.1.1-4.el8.x86_64 46/50
清理 : glibc-common-2.28-101.el8.x86_64 47/50
清理 : glibc-2.28-101.el8.x86_64 48/50
清理 : glibc-all-langpacks-2.28-101.el8.x86_64 49/50
运行脚本: glibc-all-langpacks-2.28-101.el8.x86_64 49/50
清理 : libgcc-8.3.1-5.el8.0.2.x86_64 50/50
运行脚本: libgcc-8.3.1-5.el8.0.2.x86_64 50/50
运行脚本: glibc-all-langpacks-2.28-164.el8.x86_64 50/50
运行脚本: libgcc-8.3.1-5.el8.0.2.x86_64 50/50
运行脚本: glibc-common-2.28-164.el8.x86_64 50/50
验证 : glibc-devel-2.28-164.el8.x86_64 1/50
验证 : glibc-headers-2.28-164.el8.x86_64 2/50
验证 : kernel-headers-4.18.0-348.7.1.el8_5.x86_64 3/50
验证 : libxcrypt-devel-4.1.1-6.el8.x86_64 4/50
验证 : m4-1.4.18-7.el8.x86_64 5/50
验证 : make-1:4.2.1-10.el8.x86_64 6/50
验证 : perl-Data-Dumper-2.167-399.el8.x86_64 7/50
验证 : perl-Encode-4:2.97-3.el8.x86_64 8/50
验证 : perl-File-Temp-0.230.600-1.el8.noarch 9/50
验证 : perl-Getopt-Long-1:2.50-4.el8.noarch 10/50
验证 : perl-HTTP-Tiny-0.074-1.el8.noarch 11/50
验证 : perl-MIME-Base64-3.15-396.el8.x86_64 12/50
验证 : perl-Pod-Escapes-1:1.07-395.el8.noarch 13/50
验证 : perl-Pod-Perldoc-3.28-396.el8.noarch 14/50
验证 : perl-Pod-Simple-1:3.35-395.el8.noarch 15/50
验证 : perl-Pod-Usage-4:1.69-395.el8.noarch 16/50
验证 : perl-Storable-1:3.11-3.el8.x86_64 17/50
验证 : perl-Term-ANSIColor-4.06-396.el8.noarch 18/50
验证 : perl-Term-Cap-1.17-395.el8.noarch 19/50
验证 : perl-Text-ParseWords-3.30-395.el8.noarch 20/50
验证 : perl-Time-Local-1:1.280-1.el8.noarch 21/50
验证 : perl-podlators-4.11-1.el8.noarch 22/50
验证 : autoconf-2.69-29.el8.noarch 23/50
验证 : automake-1.16.1-7.el8.noarch 24/50
验证 : cpp-8.5.0-4.el8_5.x86_64 25/50
验证 : gcc-8.5.0-4.el8_5.x86_64 26/50
验证 : isl-0.16.1-6.el8.x86_64 27/50
验证 : libmpc-1.1.0-9.1.el8.x86_64 28/50
验证 : libtool-2.4.6-25.el8.x86_64 29/50
验证 : perl-Digest-1.17-395.el8.noarch 30/50
验证 : perl-Digest-MD5-2.55-396.el8.x86_64 31/50
验证 : perl-IO-Socket-IP-0.39-5.el8.noarch 32/50
验证 : perl-IO-Socket-SSL-2.066-4.module_el8.3.0+410+ff426aa3.noarch 33/50
验证 : perl-Mozilla-CA-20160104-7.module_el8.3.0+416+dee7bcef.noarch 34/50
验证 : perl-Net-SSLeay-1.88-1.module_el8.3.0+410+ff426aa3.x86_64 35/50
验证 : perl-Thread-Queue-3.13-1.el8.noarch 36/50
验证 : perl-URI-1.73-3.el8.noarch 37/50
验证 : perl-libnet-3.11-3.el8.noarch 38/50
验证 : glibc-2.28-164.el8.x86_64 39/50
验证 : glibc-2.28-101.el8.x86_64 40/50
验证 : glibc-all-langpacks-2.28-164.el8.x86_64 41/50
验证 : glibc-all-langpacks-2.28-101.el8.x86_64 42/50
验证 : glibc-common-2.28-164.el8.x86_64 43/50
验证 : glibc-common-2.28-101.el8.x86_64 44/50
验证 : libgcc-8.5.0-4.el8_5.x86_64 45/50
验证 : libgcc-8.3.1-5.el8.0.2.x86_64 46/50
验证 : libgomp-8.5.0-4.el8_5.x86_64 47/50
验证 : libgomp-8.3.1-5.el8.0.2.x86_64 48/50
验证 : libxcrypt-4.1.1-6.el8.x86_64 49/50
验证 : libxcrypt-4.1.1-4.el8.x86_64 50/50
已升级:
glibc-2.28-164.el8.x86_64 glibc-all-langpacks-2.28-164.el8.x86_64 glibc-common-2.28-164.el8.x86_64 libgcc-8.5.0-4.el8_5.x86_64 libgomp-8.5.0-4.el8_5.x86_64 libxcrypt-4.1.1-6.el8.x86_64
已安装:
autoconf-2.69-29.el8.noarch automake-1.16.1-7.el8.noarch cpp-8.5.0-4.el8_5.x86_64
gcc-8.5.0-4.el8_5.x86_64 glibc-devel-2.28-164.el8.x86_64 glibc-headers-2.28-164.el8.x86_64
isl-0.16.1-6.el8.x86_64 kernel-headers-4.18.0-348.7.1.el8_5.x86_64 libmpc-1.1.0-9.1.el8.x86_64
libtool-2.4.6-25.el8.x86_64 libxcrypt-devel-4.1.1-6.el8.x86_64 m4-1.4.18-7.el8.x86_64
make-1:4.2.1-10.el8.x86_64 perl-Data-Dumper-2.167-399.el8.x86_64 perl-Digest-1.17-395.el8.noarch
perl-Digest-MD5-2.55-396.el8.x86_64 perl-Encode-4:2.97-3.el8.x86_64 perl-File-Temp-0.230.600-1.el8.noarch
perl-Getopt-Long-1:2.50-4.el8.noarch perl-HTTP-Tiny-0.074-1.el8.noarch perl-IO-Socket-IP-0.39-5.el8.noarch
perl-IO-Socket-SSL-2.066-4.module_el8.3.0+410+ff426aa3.noarch perl-MIME-Base64-3.15-396.el8.x86_64 perl-Mozilla-CA-20160104-7.module_el8.3.0+416+dee7bcef.noarch
perl-Net-SSLeay-1.88-1.module_el8.3.0+410+ff426aa3.x86_64 perl-Pod-Escapes-1:1.07-395.el8.noarch perl-Pod-Perldoc-3.28-396.el8.noarch
perl-Pod-Simple-1:3.35-395.el8.noarch perl-Pod-Usage-4:1.69-395.el8.noarch perl-Storable-1:3.11-3.el8.x86_64
perl-Term-ANSIColor-4.06-396.el8.noarch perl-Term-Cap-1.17-395.el8.noarch perl-Text-ParseWords-3.30-395.el8.noarch
perl-Thread-Queue-3.13-1.el8.noarch perl-Time-Local-1:1.280-1.el8.noarch perl-URI-1.73-3.el8.noarch
perl-libnet-3.11-3.el8.noarch perl-podlators-4.11-1.el8.noarch
完毕!