Bug 7845 - [Anolis23.1][RC1]accel-config-doc.noarch缺少依赖导致安装失败
Summary: [Anolis23.1][RC1]accel-config-doc.noarch缺少依赖导致安装失败
Status: CLOSED FIXED
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 23.1
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: happy_orange
QA Contact: bolong_tbl
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-08 21:23 UTC by yunmeng365524
Modified: 2024-05-22 10:29 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 yunmeng365524 2024-01-08 21:23:21 UTC
Description of problem:
accel-config-doc.noarch缺少依赖导致安装失败

Version-Release number of selected component (if applicable):
[root@iZbp1fyrevlmv7ziekfwprZ ~]# 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/"

[root@iZbp1fyrevlmv7ziekfwprZ ~]# uname -a
Linux iZbp1fyrevlmv7ziekfwprZ 5.10.134-16.2_rc1.an23.aarch64 #1 SMP Tue Jan 2 09:58:42 CST 2024 aarch64 GNU/Linux

[root@iZbp1fyrevlmv7ziekfwprZ ~]# yum repoinfo os
Last metadata expiration check: 2:58:29 ago on Mon 08 Jan 2024 12:25:54 PM CST.
Repo-id            : os
Repo-name          : AnolisOS-23 - os
Repo-status        : enabled
Repo-revision      : 1704908709
Repo-updated       : Wed 03 Jan 2024 02:13:36 PM CST
Repo-pkgs          : 13,810
Repo-available-pkgs: 13,810
Repo-size          : 13 G
Repo-baseurl       : https://mirrors.openanolis.cn/anolis/23/Nightly/os/aarch64/os/
Repo-expire        : 172,800 second(s) (last: Mon 08 Jan 2024 12:25:54 PM CST)
Repo-filename      : /etc/yum.repos.d/AnolisOS.repo

How reproducible:
[root@iZbp1fyrevlmv7ziekfwprZ ~]# yum install accel-config-doc.noarch
Last metadata expiration check: 0:33:15 ago on Mon 08 Jan 2024 08:46:54 PM CST.
Error:
 Problem: conflicting requests
  - nothing provides accel-config = 3.5.1-4.an23 needed by accel-config-doc-3.5.1-4.an23.noarch from updates
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@iZbp1fyrevlmv7ziekfwprZ ~]# yum info accel-config
Last metadata expiration check: 0:33:23 ago on Mon 08 Jan 2024 08:46:54 PM CST.
Error: No matching Packages to list
[root@iZbp1fyrevlmv7ziekfwprZ ~]# yum search accel-config
Last metadata expiration check: 0:33:28 ago on Mon 08 Jan 2024 08:46:54 PM CST.
============================= Name & Summary Matched: accel-config ==============================
accel-config-doc.noarch : Documentation files for accel-config


缺少accel-config 导致安装失败

Steps to Reproduce:
如上

Actual results:
如上

Expected results:
能正常安装

Additional info:
Comment 1 gaochang alibaba_cloud_group 2024-01-11 16:11:51 UTC
请问测试所使用的源是哪些源?麻烦补充一下。目前并未复现该问题
Comment 2 gaochang alibaba_cloud_group 2024-01-20 14:22:51 UTC
无法复现,可能与仅有 os 无 updates 源有关
Comment 3 yunmeng365524 2024-05-22 10:29:32 UTC
最新repo回归通过
[root@localhost ~]# yum install accel-config-doc.noarch
Last metadata expiration check: 2:31:41 ago on Wed May 22 07:57:27 2024.
Dependencies resolved.
======================================================================================================================================================================================================
 Package                                               Architecture                               Version                                           Repository                                   Size
======================================================================================================================================================================================================
Installing:
 accel-config-doc                                      noarch                                     3.5.1-4.an23                                      updates                                      21 k
Installing dependencies:
 accel-config                                          x86_64                                     3.5.1-4.an23                                      os                                           81 k
 accel-config-libs                                     x86_64                                     3.5.1-4.an23                                      os                                           48 k

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

Total download size: 150 k
Installed size: 611 k
Is this ok [y/N]: y
Downloading Packages:
(1/3): accel-config-doc-3.5.1-4.an23.noarch.rpm                                                                                                                       131 kB/s |  21 kB     00:00
(2/3): accel-config-libs-3.5.1-4.an23.x86_64.rpm                                                                                                                      250 kB/s |  48 kB     00:00
(3/3): accel-config-3.5.1-4.an23.x86_64.rpm                                                                                                                           395 kB/s |  81 kB     00:00
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                 727 kB/s | 150 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                              1/1
  Installing       : accel-config-libs-3.5.1-4.an23.x86_64                                                                                                                                        1/3
  Installing       : accel-config-3.5.1-4.an23.x86_64                                                                                                                                             2/3
  Installing       : accel-config-doc-3.5.1-4.an23.noarch                                                                                                                                         3/3
  Running scriptlet: accel-config-doc-3.5.1-4.an23.noarch                                                                                                                                         3/3
  Verifying        : accel-config-3.5.1-4.an23.x86_64                                                                                                                                             1/3
  Verifying        : accel-config-libs-3.5.1-4.an23.x86_64                                                                                                                                        2/3
  Verifying        : accel-config-doc-3.5.1-4.an23.noarch                                                                                                                                         3/3

Installed:
  accel-config-3.5.1-4.an23.x86_64                              accel-config-doc-3.5.1-4.an23.noarch                              accel-config-libs-3.5.1-4.an23.x86_64

Complete!