Dear all,
May I know how to resolve this error?
I cannot find any related info when google it.
Thank you.
[root@viewer yum.repos.d]# dnf update
AlmaLinux 8 - BaseOS 15 kB/s | 11 kB 00:00
Error: Failed to download metadata for repo 'baseos': repomd.xml parser error: Parse error at line: 8 (Specification mandates value for attribute crossorigin
)
[root@viewer yum.repos.d]# cat /etc/redhat-release
AlmaLinux release 8.10 (Cerulean Leopard)
[root@viewer yum.repos.d]# cat almalinux.repo
# almalinux.repo
[baseos]
name=AlmaLinux $releasever - BaseOS
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/baseos
# baseurl=https://repo.almalinux.org/almalinux/$releasever/BaseOS/$basearch/os/
enabled=1
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
[appstream]
name=AlmaLinux $releasever - AppStream
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/appstream
# baseurl=https://repo.almalinux.org/almalinux/$releasever/AppStream/$basearch/os/
enabled=1
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
...still some more....