Description of problem: ai repo的netcdf相关软件包因缺少依赖安装失败 Version-Release number of selected component (if applicable): [root@iZbp1eypdp3hunewckvjqvZ ~]# cat /etc/os-release NAME="Anolis OS" VERSION="23" ID="anolis" VERSION_ID="23" PLATFORM_ID="platform:an23" PRETTY_NAME="Anolis OS 23" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" BUG_REPORT_URL="https://bugzilla.openanolis.cn/" How reproducible: [root@iZbp1eypdp3hunewckvjqvZ ~]# yum install -y netcdf-mpich-devel.x86_64 Failed to set locale, defaulting to C.UTF-8 Last metadata expiration check: 0:11:29 ago on Thu Jun 29 13:44:44 2023. Error: Problem: conflicting requests - nothing provides pkgconfig(x86-64) needed by netcdf-mpich-devel-4.8.1-1.an23.x86_64 from AppStream-AI (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) [root@iZbp1eypdp3hunewckvjqvZ ~]# yum install -y netcdf-mpich-static.x86_64 Failed to set locale, defaulting to C.UTF-8 Last metadata expiration check: 0:11:41 ago on Thu Jun 29 13:44:44 2023. Error: Problem: package netcdf-mpich-static-4.8.1-1.an23.x86_64 from AppStream-AI requires netcdf-mpich-devel(x86-64) = 4.8.1-1.an23, but none of the providers can be installed - conflicting requests - nothing provides pkgconfig(x86-64) needed by netcdf-mpich-devel-4.8.1-1.an23.x86_64 from AppStream-AI (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) [root@iZbp1eypdp3hunewckvjqvZ ~]# yum install -y netcdf-openmpi-devel.x86_64 Failed to set locale, defaulting to C.UTF-8 Last metadata expiration check: 0:11:56 ago on Thu Jun 29 13:44:44 2023. Error: Problem: conflicting requests - nothing provides pkgconfig(x86-64) needed by netcdf-openmpi-devel-4.8.1-1.an23.x86_64 from AppStream-AI (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) [root@iZbp1eypdp3hunewckvjqvZ ~]# yum install -y netcdf-openmpi-static.x86_64 Failed to set locale, defaulting to C.UTF-8 Last metadata expiration check: 0:12:07 ago on Thu Jun 29 13:44:44 2023. Error: Problem: package netcdf-openmpi-static-4.8.1-1.an23.x86_64 from AppStream-AI requires netcdf-openmpi-devel(x86-64) = 4.8.1-1.an23, but none of the providers can be installed - conflicting requests - nothing provides pkgconfig(x86-64) needed by netcdf-openmpi-devel-4.8.1-1.an23.x86_64 from AppStream-AI (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) Steps to Reproduce: 同上 Actual results: 安装失败 Expected results: 安装成功 Additional info:
netcdf 的安装已经解决。 root@iZbp1gmbng4di4cw992erkZ ~]# yum install netcdf Failed to set locale, defaulting to C.UTF-8 Last metadata expiration check: 0:24:25 ago on Fri Jun 30 13:47:11 2023. Dependencies resolved. ==================================================================================================================================== Package Architecture Version Repository Size ==================================================================================================================================== Installing: netcdf x86_64 4.8.1-2.an23 epao 727 k Installing dependencies: hdf5 x86_64 1.12.1-1.an23 epao 2.3 M libaec x86_64 1.0.6-1.an23 epao 38 k Transaction Summary ==================================================================================================================================== Install 3 Packages Total download size: 3.0 M Installed size: 11 M Is this ok [y/N]: n
[root@iZbp1eypdp3hunewckvjqvZ ~]# yum install -y netcdf-mpich-devel netcdf-mpich-static netcdf-openmpi-devel netcdf-openmpi-static Failed to set locale, defaulting to C.UTF-8 Last metadata expiration check: 1:21:17 ago on Mon Jul 3 14:54:23 2023. Dependencies resolved. ============================================================================================================================= Package Architecture Version Repository Size ============================================================================================================================= Installing: netcdf-mpich-devel x86_64 4.8.1-2.an23 AppStream-AI 74 k netcdf-mpich-static x86_64 4.8.1-2.an23 AppStream-AI 591 k netcdf-openmpi-devel x86_64 4.8.1-2.an23 AppStream-AI 74 k netcdf-openmpi-static x86_64 4.8.1-2.an23 AppStream-AI 594 k Installing dependencies: hdf5-mpich x86_64 1.12.1-1.an23 AppStream-AI 2.1 M hdf5-mpich-devel x86_64 1.12.1-1.an23 AppStream-AI 1.3 M hdf5-openmpi x86_64 1.12.1-1.an23 AppStream-AI 2.1 M hdf5-openmpi-devel x86_64 1.12.1-1.an23 AppStream-AI 1.3 M libaec-devel x86_64 1.0.6-1.an23 AppStream-AI 11 k libcurl-devel x86_64 8.1.1-1.an23 AppStream-Test 873 k netcdf-mpich x86_64 4.8.1-2.an23 AppStream-AI 719 k netcdf-openmpi x86_64 4.8.1-2.an23 AppStream-AI 720 k Transaction Summary ============================================================================================================================= Install 12 Packages Total download size: 10 M Installed size: 37 M Downloading Packages: (1/12): hdf5-mpich-devel-1.12.1-1.an23.x86_64.rpm 4.8 MB/s | 1.3 MB 00:00 (2/12): libcurl-devel-8.1.1-1.an23.x86_64.rpm 3.1 MB/s | 873 kB 00:00 (3/12): hdf5-mpich-1.12.1-1.an23.x86_64.rpm 6.9 MB/s | 2.1 MB 00:00 (4/12): libaec-devel-1.0.6-1.an23.x86_64.rpm 82 kB/s | 11 kB 00:00 (5/12): hdf5-openmpi-devel-1.12.1-1.an23.x86_64.rpm 6.9 MB/s | 1.3 MB 00:00 (6/12): hdf5-openmpi-1.12.1-1.an23.x86_64.rpm 9.6 MB/s | 2.1 MB 00:00 (7/12): netcdf-mpich-devel-4.8.1-2.an23.x86_64.rpm 493 kB/s | 74 kB 00:00 (8/12): netcdf-mpich-4.8.1-2.an23.x86_64.rpm 3.2 MB/s | 719 kB 00:00 (9/12): netcdf-mpich-static-4.8.1-2.an23.x86_64.rpm 3.0 MB/s | 591 kB 00:00 (10/12): netcdf-openmpi-4.8.1-2.an23.x86_64.rpm 3.7 MB/s | 720 kB 00:00 (11/12): netcdf-openmpi-devel-4.8.1-2.an23.x86_64.rpm 557 kB/s | 74 kB 00:00 (12/12): netcdf-openmpi-static-4.8.1-2.an23.x86_64.rpm 2.7 MB/s | 594 kB 00:00 ----------------------------------------------------------------------------------------------------------------------------- Total 12 MB/s | 10 MB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : hdf5-openmpi-1.12.1-1.an23.x86_64 1/12 Installing : hdf5-mpich-1.12.1-1.an23.x86_64 2/12 Installing : libaec-devel-1.0.6-1.an23.x86_64 3/12 Installing : libcurl-devel-8.1.1-1.an23.x86_64 4/12 Installing : hdf5-mpich-devel-1.12.1-1.an23.x86_64 5/12 Installing : hdf5-openmpi-devel-1.12.1-1.an23.x86_64 6/12 Installing : netcdf-mpich-4.8.1-2.an23.x86_64 7/12 Installing : netcdf-mpich-devel-4.8.1-2.an23.x86_64 8/12 Installing : netcdf-openmpi-4.8.1-2.an23.x86_64 9/12 Installing : netcdf-openmpi-devel-4.8.1-2.an23.x86_64 10/12 Installing : netcdf-openmpi-static-4.8.1-2.an23.x86_64 11/12 Installing : netcdf-mpich-static-4.8.1-2.an23.x86_64 12/12 Running scriptlet: netcdf-mpich-static-4.8.1-2.an23.x86_64 12/12 Verifying : libcurl-devel-8.1.1-1.an23.x86_64 1/12 Verifying : hdf5-mpich-1.12.1-1.an23.x86_64 2/12 Verifying : hdf5-mpich-devel-1.12.1-1.an23.x86_64 3/12 Verifying : hdf5-openmpi-1.12.1-1.an23.x86_64 4/12 Verifying : hdf5-openmpi-devel-1.12.1-1.an23.x86_64 5/12 Verifying : libaec-devel-1.0.6-1.an23.x86_64 6/12 Verifying : netcdf-mpich-4.8.1-2.an23.x86_64 7/12 Verifying : netcdf-mpich-devel-4.8.1-2.an23.x86_64 8/12 Verifying : netcdf-mpich-static-4.8.1-2.an23.x86_64 9/12 Verifying : netcdf-openmpi-4.8.1-2.an23.x86_64 10/12 Verifying : netcdf-openmpi-devel-4.8.1-2.an23.x86_64 11/12 Verifying : netcdf-openmpi-static-4.8.1-2.an23.x86_64 12/12 Installed: hdf5-mpich-1.12.1-1.an23.x86_64 hdf5-mpich-devel-1.12.1-1.an23.x86_64 hdf5-openmpi-1.12.1-1.an23.x86_64 hdf5-openmpi-devel-1.12.1-1.an23.x86_64 libaec-devel-1.0.6-1.an23.x86_64 libcurl-devel-8.1.1-1.an23.x86_64 netcdf-mpich-4.8.1-2.an23.x86_64 netcdf-mpich-devel-4.8.1-2.an23.x86_64 netcdf-mpich-static-4.8.1-2.an23.x86_64 netcdf-openmpi-4.8.1-2.an23.x86_64 netcdf-openmpi-devel-4.8.1-2.an23.x86_64 netcdf-openmpi-static-4.8.1-2.an23.x86_64 Complete!