Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong guide for rpmfusion (rhel9) #15

Open
Artoria2e5 opened this issue Jun 17, 2024 · 0 comments · May be fixed by #16
Open

wrong guide for rpmfusion (rhel9) #15

Artoria2e5 opened this issue Jun 17, 2024 · 0 comments · May be fixed by #16

Comments

@Artoria2e5
Copy link

Artoria2e5 commented Jun 17, 2024

on rhel9, rpmfusion-free-release-9.noarch.rpm decompresses to:

[rpmfusion-free-updates]
name=RPM Fusion for EL 9 - Free - Updates
#baseurl=http://download1.rpmfusion.org/free/el/updates/9/$basearch/
metalink=http://mirrors.rpmfusion.org/metalink?repo=free-el-updates-released-9&arch=$basearch
enabled=1
gpgcheck=1
repo_gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-el-9

[rpmfusion-free-updates-debuginfo]
name=RPM Fusion for EL 9 - Free - Updates Debug
#baseurl=http://download1.rpmfusion.org/free/el/updates/9/$basearch/debug/
metalink=http://mirrors.rpmfusion.org/metalink?repo=free-el-updates-released-debug-9&arch=$basearch
enabled=0
type=rpm-md
gpgcheck=1
repo_gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-el-9

[rpmfusion-free-updates-source]
name=RPM Fusion for EL 9 - Free - Updates Source
#baseurl=http://download1.rpmfusion.org/free/el/updates/9/SRPMS/
metalink=http://mirrors.rpmfusion.org/metalink?repo=free-el-updates-released-source-9&arch=$basearch
enabled=0
type=rpm-md
gpgcheck=1
repo_gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-el-9

Some sed stuff similar to tuna/issues#687 (comment) will be needed.

sed -e 's!^metalink=!#metalink=!g' \
    -e 's!^#baseurl=!baseurl=!g' \
    -e 's!https\?://download1\.rpmfusion\.org/!https://mirrors.tuna.tsinghua.edu.cn/rpmfusion/!g' \
    -i.bak /etc/yum.repos.d/rpmfusion*.repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant