ERROR LOAD REPO ROCKY LINUX
Warning: failed loading '/etc/yum.repos.d/Rocky-AppStream.repo', skipping.
Warning: failed loading '/etc/yum.repos.d/Rocky-BaseOS.repo', skipping.
[root@jack ~]# cat /etc/yum.repos.d/Rocky-AppStream1.repo
# Rocky-AppStream.repo
#
# The mirrorlist system uses the connecting IP address of the client and the
# update status of each mirror to pick current mirrors that are geographically
# close to the client. You should use this for Rocky updates unless you are
# manually picking other mirrors.
#
# If the mirrorlist does not work for you, you can try the commented out
# baseurl line instead.
#
# fix by jang @2021/09/02 from KIEC
[appstream]
name=Rocky Linux $releasever - AppStream
#mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=AppStream-$releasever
baseurl=http://ftp.kh.edu.tw/Linux/RockyLinux/$releasever/AppStream/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial
[root@jack ~]# cat /etc/yum.repos.d/Rocky-BaseOS1.repo
[rocky-baseos-9]
name=Rocky Linux 9 - BaseOS
baseurl=http://dl.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os/
gpgcheck=1
enabled=1
countme=1
metadata_expire=6h
gpgkey=https://dl.rockylinux.org/pub/rocky/RPM-GPG-KEY-Rocky-9
No comments:
Post a Comment