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/"