[Starlingx-discuss] Problems downloading mirror in centos8 environment
Hi StarlingX team I’m upgrading starlingx to centos8 and have a question to ask for help. problem: I cannot download the specified version of srpm through the dnf download --source command. Eg: About two weeks ago, I was able to download the bash-4.4.19-7.el8.src.rpm file through the “dnf download --source bash-4.4.19-7.el8” command in centos8. But now I cannot download the bash-4.4.19-7.el8.src.rpm file with this command, even if I can download it at http://vault.centos.org/8.0.1905/BaseOS/Source/SPackages/ . Error info: No package bash-4.4.19-7.el8.src available. Exiting due to strict setting. Error: No package bash-4.4.19-7.el8.src available. please contact me, If you have any good suggestions. Thank you Best Regards Wish you happy everyday! -------------------------------- Yong.Fu- Neusoft --------------------------------------------------------------------------------------------------- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful.If you have received this communication in error,please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. ---------------------------------------------------------------------------------------------------
I am not familiar with those dnf commands. Normally the steps are: 1) Update the lst file in https://opendev.org/starlingx/tools that corresponds to the component you want to update. In your case, it sounds like changing the src rpm (and rpm) lines in: https://opendev.org/starlingx/tools/src/branch/master/centos-mirror-tools/rp... 2) Perform a mirror update. This might be those dnf commands, but mainly you need to get that src rpm downloaded. In my env, it downloads to a mirror called /import/mirror/starlingx 3) Link the updated mirror files to your build env. This is what processes the lst files to know that you are using the newer bash src rpm, since the older version may also exist in your mirror folder. I think that is these steps: https://docs.starlingx.io/contributor/build_guide.html#build-the-centos-mirr... I typically run these 2 commands: $MY_REPO_ROOT_DIR/stx-tools/toCOPY/generate-cgcs-centos-repo.sh /import/mirrors/starlingx $MY_REPO_ROOT_DIR/stx-tools/toCOPY/populate_downloads.sh /import/mirrors/starlingx 4) Now you are ready to adjust the contents of the https://opendev.org/starlingx/compile/src/branch/master/languages/bash/cento... 5) Probably the existing patches and metapatches we have for bash are invalid. You can try “build-srpms –edit bash” . If it does work, there is likely ‘fuzz’ in the patches that will need to be cleaned up. Al From: 付勇 [mailto:fuyong@neusoft.com] Sent: Wednesday, November 27, 2019 10:41 PM To: starlingx-discuss@lists.starlingx.io Cc: zhaos@neusoft.com; lilong-neu; cindy.xie@intel.com; shuicheng.lin@intel.com; austin.sun@intel.com; '张志国' Subject: [Starlingx-discuss] Problems downloading mirror in centos8 environment Hi StarlingX team I’m upgrading starlingx to centos8 and have a question to ask for help. problem: I cannot download the specified version of srpm through the dnf download --source command. Eg: About two weeks ago, I was able to download the bash-4.4.19-7.el8.src.rpm file through the “dnf download --source bash-4.4.19-7.el8” command in centos8. But now I cannot download the bash-4.4.19-7.el8.src.rpm file with this command, even if I can download it at http://vault.centos.org/8.0.1905/BaseOS/Source/SPackages/ . Error info: No package bash-4.4.19-7.el8.src available. Exiting due to strict setting. Error: No package bash-4.4.19-7.el8.src available. please contact me, If you have any good suggestions. Thank you Best Regards Wish you happy everyday! -------------------------------- Yong.Fu- Neusoft --------------------------------------------------------------------------------------------------- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful.If you have received this communication in error,please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. ---------------------------------------------------------------------------------------------------
Hi, I'm not familiar with the centos upgrade procedure, but as I understand you are running dnf from a CentOS 8 system right? In that case, then it seems to be a problem with the repository cache or probably a .repo file in /etc/yum.repos.d/ is missing. Check if you have the correct .repo file pointing to vault.centos.org. Is this the only package with problems for you? -Erich On Thu, 2019-11-28 at 11:40 +0800, 付勇 wrote:
Hi StarlingX team I’m upgrading starlingx to centos8 and have a question to ask for help.
problem: I cannot download the specified version of srpm through the dnf download --source command.
Eg: About two weeks ago, I was able to download the bash-4.4.19- 7.el8.src.rpm file through the “dnf download --source bash-4.4.19- 7.el8” command in centos8. But now I cannot download the bash-4.4.19-7.el8.src.rpm file with this command, even if I can download it at http://vault.centos.org/8.0.1905/BaseOS/Source/SPackages/ .
Error info: No package bash-4.4.19-7.el8.src available. Exiting due to strict setting. Error: No package bash-4.4.19-7.el8.src available.
please contact me, If you have any good suggestions. Thank you Best Regards Wish you happy everyday! -------------------------------- Yong.Fu- Neusoft
------------------------------------------------------------------- -------------------------------- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful.If you have received this communication in error,please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. ------------------------------------------------------------------- --------------------------------
_______________________________________________ Starlingx-discuss mailing list Starlingx-discuss@lists.starlingx.io http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
participants (3)
-
Bailey, Henry Albert (Al)
-
Cordoba Malibran, Erich
-
付勇