aliyun / plugsched

Live upgrade Linux kernel scheduler subsystem
BSD 3-Clause "New" or "Revised" License
81 stars 23 forks source link

照着步骤搞不出来,相关包缺失,需要添加 yum 源么 #197

Open daishengdong opened 1 year ago

daishengdong commented 1 year ago

image

$ yum install yum-utils podman kernel-debuginfo-$(uname -r) kernel-devel-$(uname -r) --enablerepo=Plus-debuginfo --enablerepo=Plus -y Last metadata expiration check: 0:17:57 ago on Mon 24 Apr 2023 02:47:14 PM CST. Package yum-utils-4.0.21-11.an8.noarch is already installed. No match for argument: kernel-debuginfo-4.19.91-26.6.an8.x86_64 <<<<<<<<<<<<<<<<<<<<<<<<<< Package kernel-devel-4.19.91-26.6.an8.x86_64 is already installed.
Error: Unable to find a match: kernel-debuginfo-4.19.91-26.6.an8.x86_64 <<<<<<<<<<<<<<<<<<<<<<<

$ yumdownloader --source kernel-$(uname -r) --enablerepo=Plus enabling AppStream-source repository
enabling BaseOS-source repository
enabling Plus-source repository
enabling PowerTools-source repository
enabling epel-source repository
enabling epel-modular-source repository Last metadata expiration check: 0:09:10 ago on Mon 24 Apr 2023 02:56:24 PM CST. No package kernel-4.19.91-26.6.an8.x86_64 available. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Exiting due to strict setting. Error: No package kernel-4.19.91-26.6.an8.x86_64 available. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

ampresent commented 1 year ago

你好,感谢关注,抱歉使用体验出现问题。

该问题的原因是 AnolisOS 8.6 的软件包的链接出了些问题,暂时无法通过 yum install 和 yumdownload 来下载安装。该问题已经汇报,并在解决中。可以先临时先尝试使用 rpm 包 url 替代试试

yum install -y https://mirrors.aliyun.com/anolis/8.6/Plus/x86_64/debug/Packages/kernel-debuginfo-4.19.91-26.6.an8.x86_64.rpm https://mirrors.aliyun.com/anolis/8.6/Plus/x86_64/debug/Packages/kernel-debuginfo-common-x86_64-4.19.91-26.6.an8.x86_64.rpm

wget https://mirrors.aliyun.com/anolis/8.6/Plus/source/Packages/kernel-4.19.91-26.6.an8.src.rpm