Bug 4511 - [Anolis 23 Nightly][aarch64/x86]python3-requests 缺依赖导致升级失败
Summary: [Anolis 23 Nightly][aarch64/x86]python3-requests 缺依赖导致升级失败
Status: RESOLVED FIXED
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 23.0
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: mgb01105731
QA Contact: bolong_tbl
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-14 14:43 UTC by yunmeng365524
Modified: 2023-03-15 09:39 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yunmeng365524 2023-03-14 14:43:01 UTC
Description of problem:
python3-requests 缺依赖导致升级失败

Version-Release number of selected component (if applicable):
[root@iZbp1b3q91t7fog9z072ivZ devel_toolchains]# 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@iZbp1b3q91t7fog9z072ivZ devel_toolchains]# uname -a
Linux iZbp1b3q91t7fog9z072ivZ 5.10.134-12.1.an23.aarch64 #1 SMP Thu Oct 13 11:31:15 CST 2022 aarch64 GNU/Linux

[root@iZbp11mcx562amm7xlb42eZ ~]# yum info python3-requests
Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 2:04:10 ago on Tue Mar 14 12:36:06 2023.
Installed Packages
Name         : python3-requests
Version      : 2.28.1
Release      : 1.an23
Architecture : noarch
Size         : 348 k
Source       : python-requests-2.28.1-1.an23.src.rpm
Repository   : @System
Summary      : HTTP library, written in Python, for human beings
URL          : https://pypi.io/project/requests
License      : ASL 2.0
Description  : Most existing Python modules for sending HTTP requests are extremely verbose and
             : cumbersome. Python’s built-in urllib2 module provides most of the HTTP
             : capabilities you should need, but the API is thoroughly broken. This library is
             : designed to make HTTP requests easy for developers.

Available Packages
Name         : python3-requests
Version      : 2.28.2
Release      : 1.an23
Architecture : noarch
Size         : 102 k
Source       : python-requests-2.28.2-1.an23.src.rpm
Repository   : BaseOS-Test
Summary      : HTTP library, written in Python, for human beings
URL          : https://pypi.io/project/requests
License      : ASL 2.0
Description  : Most existing Python modules for sending HTTP requests are extremely verbose and
             : cumbersome. Python’s built-in urllib2 module provides most of the HTTP
             : capabilities you should need, but the API is thoroughly broken. This library is
             : designed to make HTTP requests easy for developers.

How reproducible:
[root@iZbp11mcx562amm7xlb42eZ ~]# yum install python3-requests
Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 2:02:59 ago on Tue Mar 14 12:36:06 2023.
Package python3-requests-2.28.1-1.an23.noarch is already installed.
Error:
 Problem: cannot install the best candidate for the job
  - nothing provides python3.10dist(certifi) >= 2017.4.17 needed by python3-requests-2.28.2-1.an23.noarch
(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:
NA
Comment 1 mgb01105731 2023-03-15 09:39:04 UTC
新增python3-requests的依赖python3-certifi,然后继续升级即可成功。