Bug 3487 - [Anolis 8.8][loongarch64]yum install php失败,缺少httpd-mmn依赖包和安装httpd包所需的相关包和文件
Summary: [Anolis 8.8][loongarch64]yum install php失败,缺少httpd-mmn依赖包和安装httpd包所需的相关包和文件
Status: CLOSED WORKSFORME
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: BaseOS Modules (show other bugs) BaseOS Modules
Version: 8.8
Hardware: loongarch Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: geliwei-ali
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-15 19:23 UTC by liqianwen
Modified: 2022-12-29 19:59 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description liqianwen loongson_group 2022-12-15 19:23:40 UTC
Description of problem:
yum install php失败,缺少httpd-mmn依赖包和安装httpd包所需的相关包和文件

Version-Release number of selected component (if applicable):
内核版本:4.19.190-6.5.an8.loongarch64
系统版本:Anolis OS release 8.8

iso下载:
https://build.openanolis.cn/kojifiles/output/product/an-8-8-loongarch64-Beta/compose/BaseOS/loongarch64/iso/anolis-8-loongarch64-dvd1-20221210.0.iso
源配置:
http://build.openanolis.cn/kojifiles/output/product/an-8-8-loongarch64-Beta/compose/

How reproducible:100%


Steps to Reproduce:
1.安装启动anolis 8.8 loongarch架构iso
2.yum install php


Actual results:
yum install php
上次元数据过期检查:0:38:37 前,执行于 2022年12月15日 星期四 16时45分53秒。
错误:
 问题: 软件包 php-7.2.24-1.0.1.module+an8.7.0+10936+6a2381d2.loongarch64 需要 httpd-mmn = 20120211loongarch64,但没有提供者可以被安装
  - 无法为该任务安装最佳候选
  - 没有东西可提供 /etc/mime.types(httpd-2.4.37-47.0.1.module+an8.7.0+10879+020f8869.2.loongarch64 需要)
  - 没有东西可提供 system-logos-httpd(httpd-2.4.37-47.0.1.module+an8.7.0+10879+020f8869.2.loongarch64 需要)
(尝试添加 '--skip-broken' 来跳过无法安装的软件包 或 '--nobest' 来不只使用软件包的最佳候选)


Expected results:
php可正常安装
Comment 1 葛立伟 alibaba_cloud_group 2022-12-21 18:31:19 UTC
我测试了一下 无法重现,我的安装没有问题
[root@192 ~]# dnf install php
上次元数据过期检查:0:00:17 前,执行于 2022年12月21日 星期三 16时11分53秒。
依赖关系解决。
==================================================================================================================================
 软件包                      架构                 版本                                                   仓库                大小
==================================================================================================================================
安装:
 php                         loongarch64          7.2.24-1.0.1.module+an8.7.0+10936+6a2381d2             AppStream          1.4 M
安装依赖关系:
 anolis-logos-httpd          noarch               8.0-7.an8                                              BaseOS             9.7 k
 apr                         loongarch64          1.6.3-12.0.1.an8                                       AppStream          127 k
 apr-util                    loongarch64          1.6.1-6.0.1.an8                                        AppStream           95 k
 httpd                       loongarch64          2.4.37-47.0.1.module+an8.7.0+10879+020f8869.2          AppStream          1.4 M
 httpd-filesystem            noarch               2.4.37-47.0.1.module+an8.7.0+10879+020f8869.2          AppStream           40 k
 httpd-tools                 loongarch64          2.4.37-47.0.1.module+an8.7.0+10879+020f8869.2          AppStream          106 k
 mailcap                     noarch               2.1.48-3.el8                                           BaseOS              38 k
 mod_http2                   loongarch64          1.15.7-5.module+an8.7.0+10879+020f8869                 AppStream          146 k
 nginx-filesystem            noarch               1:1.14.1-9.0.2.module+an8.7.0+10880+b751b443           AppStream           23 k
 php-cli                     loongarch64          7.2.24-1.0.1.module+an8.7.0+10936+6a2381d2             AppStream          2.8 M
 php-common                  loongarch64          7.2.24-1.0.1.module+an8.7.0+10936+6a2381d2             AppStream          641 k
安装弱的依赖:
 apr-util-bdb                loongarch64          1.6.1-6.0.1.an8                                        AppStream           22 k
 apr-util-openssl            loongarch64          1.6.1-6.0.1.an8                                        AppStream           24 k
 php-fpm                     loongarch64          7.2.24-1.0.1.module+an8.7.0+10936+6a2381d2             AppStream          1.5 M
启用模块流:
 httpd                                            2.4                                                                            
 nginx                                            1.14                                                                           
 php                                              7.2                                                                            

事务概要
==================================================================================================================================
安装  15 软件包

总下载:8.3 M
安装大小:33 M
确定吗?[y/N]: y
下载软件包:
(1/15): apr-util-1.6.1-6.0.1.an8.loongarch64.rpm                                                  255 kB/s |  95 kB     00:00    
(2/15): apr-1.6.3-12.0.1.an8.loongarch64.rpm                                                      297 kB/s | 127 kB     00:00    
(3/15): apr-util-bdb-1.6.1-6.0.1.an8.loongarch64.rpm                                               52 kB/s |  22 kB     00:00    
(4/15): apr-util-openssl-1.6.1-6.0.1.an8.loongarch64.rpm                                          169 kB/s |  24 kB     00:00    
(5/15): httpd-filesystem-2.4.37-47.0.1.module+an8.7.0+10879+020f8869.2.noarch.rpm                 251 kB/s |  40 kB     00:00    
(6/15): httpd-tools-2.4.37-47.0.1.module+an8.7.0+10879+020f8869.2.loongarch64.rpm                 408 kB/s | 106 kB     00:00    
(7/15): nginx-filesystem-1.14.1-9.0.2.module+an8.7.0+10880+b751b443.noarch.rpm                     64 kB/s |  23 kB     00:00    
(8/15): mod_http2-1.15.7-5.module+an8.7.0+10879+020f8869.loongarch64.rpm                          208 kB/s | 146 kB     00:00    
(9/15): httpd-2.4.37-47.0.1.module+an8.7.0+10879+020f8869.2.loongarch64.rpm                       1.4 MB/s | 1.4 MB     00:00    
(10/15): php-common-7.2.24-1.0.1.module+an8.7.0+10936+6a2381d2.loongarch64.rpm                    2.3 MB/s | 641 kB     00:00    
(11/15): php-cli-7.2.24-1.0.1.module+an8.7.0+10936+6a2381d2.loongarch64.rpm                       3.6 MB/s | 2.8 MB     00:00    
(12/15): php-fpm-7.2.24-1.0.1.module+an8.7.0+10936+6a2381d2.loongarch64.rpm                       3.3 MB/s | 1.5 MB     00:00    
(13/15): php-7.2.24-1.0.1.module+an8.7.0+10936+6a2381d2.loongarch64.rpm                           1.4 MB/s | 1.4 MB     00:00    
(14/15): anolis-logos-httpd-8.0-7.an8.noarch.rpm                                                   55 kB/s | 9.7 kB     00:00    
(15/15): mailcap-2.1.48-3.el8.noarch.rpm                                                          210 kB/s |  38 kB     00:00    
----------------------------------------------------------------------------------------------------------------------------------
总计                                                                                              3.6 MB/s | 8.3 MB     00:02     
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
  准备中  :                                                                                                                   1/1 
  安装    : php-common-7.2.24-1.0.1.module+an8.7.0+10936+6a2381d2.loongarch64                                                1/15 
  运行脚本: httpd-filesystem-2.4.37-47.0.1.module+an8.7.0+10879+020f8869.2.noarch                                            2/15 
  安装    : httpd-filesystem-2.4.37-47.0.1.module+an8.7.0+10879+020f8869.2.noarch                                            2/15 
  安装    : apr-1.6.3-12.0.1.an8.loongarch64                                                                                 3/15 
  运行脚本: apr-1.6.3-12.0.1.an8.loongarch64                                                                                 3/15 
  安装    : apr-util-bdb-1.6.1-6.0.1.an8.loongarch64                                                                         4/15 
  安装    : apr-util-openssl-1.6.1-6.0.1.an8.loongarch64                                                                     5/15 
  安装    : apr-util-1.6.1-6.0.1.an8.loongarch64                                                                             6/15 
  运行脚本: apr-util-1.6.1-6.0.1.an8.loongarch64                                                                             6/15 
  安装    : httpd-tools-2.4.37-47.0.1.module+an8.7.0+10879+020f8869.2.loongarch64                                            7/15 
  安装    : php-cli-7.2.24-1.0.1.module+an8.7.0+10936+6a2381d2.loongarch64                                                   8/15 
  安装    : mailcap-2.1.48-3.el8.noarch                                                                                      9/15 
  安装    : anolis-logos-httpd-8.0-7.an8.noarch                                                                             10/15 
  安装    : mod_http2-1.15.7-5.module+an8.7.0+10879+020f8869.loongarch64                                                    11/15 
  安装    : httpd-2.4.37-47.0.1.module+an8.7.0+10879+020f8869.2.loongarch64                                                 12/15 
  运行脚本: httpd-2.4.37-47.0.1.module+an8.7.0+10879+020f8869.2.loongarch64                                                 12/15 
  运行脚本: nginx-filesystem-1:1.14.1-9.0.2.module+an8.7.0+10880+b751b443.noarch                                            13/15 
  安装    : nginx-filesystem-1:1.14.1-9.0.2.module+an8.7.0+10880+b751b443.noarch                                            13/15 
  安装    : php-fpm-7.2.24-1.0.1.module+an8.7.0+10936+6a2381d2.loongarch64                                                  14/15 
  运行脚本: php-fpm-7.2.24-1.0.1.module+an8.7.0+10936+6a2381d2.loongarch64                                                  14/15 
  安装    : php-7.2.24-1.0.1.module+an8.7.0+10936+6a2381d2.loongarch64                                                      15/15 
  运行脚本: httpd-2.4.37-47.0.1.module+an8.7.0+10879+020f8869.2.loongarch64                                                 15/15 
  运行脚本: php-7.2.24-1.0.1.module+an8.7.0+10936+6a2381d2.loongarch64                                                      15/15 
  运行脚本: php-fpm-7.2.24-1.0.1.module+an8.7.0+10936+6a2381d2.loongarch64                                                  15/15 
  验证    : apr-1.6.3-12.0.1.an8.loongarch64                                                                                 1/15 
  验证    : apr-util-1.6.1-6.0.1.an8.loongarch64                                                                             2/15 
  验证    : apr-util-bdb-1.6.1-6.0.1.an8.loongarch64                                                                         3/15 
  验证    : apr-util-openssl-1.6.1-6.0.1.an8.loongarch64                                                                     4/15 
  验证    : httpd-2.4.37-47.0.1.module+an8.7.0+10879+020f8869.2.loongarch64                                                  5/15 
  验证    : httpd-filesystem-2.4.37-47.0.1.module+an8.7.0+10879+020f8869.2.noarch                                            6/15 
  验证    : httpd-tools-2.4.37-47.0.1.module+an8.7.0+10879+020f8869.2.loongarch64                                            7/15 
  验证    : mod_http2-1.15.7-5.module+an8.7.0+10879+020f8869.loongarch64                                                     8/15 
  验证    : nginx-filesystem-1:1.14.1-9.0.2.module+an8.7.0+10880+b751b443.noarch                                             9/15 
  验证    : php-7.2.24-1.0.1.module+an8.7.0+10936+6a2381d2.loongarch64                                                      10/15 
  验证    : php-cli-7.2.24-1.0.1.module+an8.7.0+10936+6a2381d2.loongarch64                                                  11/15 
  验证    : php-common-7.2.24-1.0.1.module+an8.7.0+10936+6a2381d2.loongarch64                                               12/15 
  验证    : php-fpm-7.2.24-1.0.1.module+an8.7.0+10936+6a2381d2.loongarch64                                                  13/15 
  验证    : anolis-logos-httpd-8.0-7.an8.noarch                                                                             14/15 
  验证    : mailcap-2.1.48-3.el8.noarch                                                                                     15/15 

已安装:
  anolis-logos-httpd-8.0-7.an8.noarch                                                                                             
  apr-1.6.3-12.0.1.an8.loongarch64                                                                                                
  apr-util-1.6.1-6.0.1.an8.loongarch64                                                                                            
  apr-util-bdb-1.6.1-6.0.1.an8.loongarch64                                                                                        
  apr-util-openssl-1.6.1-6.0.1.an8.loongarch64                                                                                    
  httpd-2.4.37-47.0.1.module+an8.7.0+10879+020f8869.2.loongarch64                                                                 
  httpd-filesystem-2.4.37-47.0.1.module+an8.7.0+10879+020f8869.2.noarch                                                           
  httpd-tools-2.4.37-47.0.1.module+an8.7.0+10879+020f8869.2.loongarch64                                                           
  mailcap-2.1.48-3.el8.noarch                                                                                                     
  mod_http2-1.15.7-5.module+an8.7.0+10879+020f8869.loongarch64                                                                    
  nginx-filesystem-1:1.14.1-9.0.2.module+an8.7.0+10880+b751b443.noarch                                                            
  php-7.2.24-1.0.1.module+an8.7.0+10936+6a2381d2.loongarch64                                                                      
  php-cli-7.2.24-1.0.1.module+an8.7.0+10936+6a2381d2.loongarch64                                                                  
  php-common-7.2.24-1.0.1.module+an8.7.0+10936+6a2381d2.loongarch64                                                               
  php-fpm-7.2.24-1.0.1.module+an8.7.0+10936+6a2381d2.loongarch64                                                                  

完毕!
[root@192 ~]#
[root@192 ~]# dnf -v repolist
加载插件:builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync
DNF version: 4.7.0
cachedir: /var/cache/dnf
上次元数据过期检查:2:18:54 前,执行于 2022年12月21日 星期三 16时11分53秒。
仓库ID            : AppStream
仓库名称          : AnolisOS-8 - AppStream
Repo-revision      : 1670646169
Repo-updated       : 2022年12月10日 星期六 12时22分49秒
Repo-pkgs          : 4,682
Repo-available-pkgs: 3,662
Repo-size          : 4.5 G
Repo-baseurl       : http://build.openanolis.cn/kojifiles/output/product/an-8-8-loongarch64-Beta/compose/AppStream/loongarch64/os/
Repo-expire        : 172,800 秒 (最近 2022年12月21日 星期三 16时11分53秒)
仓库文件名      : /etc/yum.repos.d/AnolisOS-AppStream.repo

仓库ID            : BaseOS
仓库名称          : AnolisOS-8 - BaseOS
Repo-revision      : 1670646131
Repo-updated       : 2022年12月10日 星期六 12时22分11秒
Repo-pkgs          : 1,227
Repo-available-pkgs: 1,225
Repo-size          : 927 M
Repo-baseurl       : http://build.openanolis.cn/kojifiles/output/product/an-8-8-loongarch64-Beta/compose/BaseOS/loongarch64/os/
Repo-expire        : 172,800 秒 (最近 2022年12月21日 星期三 16时08分57秒)
仓库文件名      : /etc/yum.repos.d/AnolisOS-BaseOS.repo
软件包总数:5,909
Comment 2 liqianwen loongson_group 2022-12-29 19:59:55 UTC
已验证,目前可正常安装php软件包
注释:之前因源配置有误,导致php包安装失败