Bug 2467 - [Anolis 8][arm]createrepo命令中中带不带-S参数,功能没有区别
Summary: [Anolis 8][arm]createrepo命令中中带不带-S参数,功能没有区别
Status: NEW
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: Others (show other bugs) Others
Version: 8.6
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Jacob
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-20 17:43 UTC by meil_wei
Modified: 2022-10-20 17:49 UTC (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description meil_wei alibaba_cloud_group 2022-10-20 17:43:57 UTC
Description of problem:
createrepo命令中中带不带-S参数,功能没有区别

Steps to Reproduce:
1.在当前目录下创建软连接文件,指向另一个目录下的软件包httpd
2.执行createrepo -S -s sha1 ./(或者createrepo -s sha1 ./)创建本地repo源
3.创建repo源文件
4.yum clean all,yumdownloader  httpd

Actual results:
httpd包无法下载

Expected results:
没有-S时可以下载httpd包,有-S参数时无法下载httpd包

Additional info:
# uname -r
4.19.91-26.an8.aarch64

# cat /etc/os-release
NAME="Anolis OS"
VERSION="8.6"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="8.6"
PLATFORM_ID="platform:an8"
PRETTY_NAME="Anolis OS 8.6"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"