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

dnf doesn't support $ARCH in mirror list reply #5

Open
Marc-marc-marc opened this issue Apr 29, 2023 · 0 comments
Open

dnf doesn't support $ARCH in mirror list reply #5

Marc-marc-marc opened this issue Apr 29, 2023 · 0 comments

Comments

@Marc-marc-marc
Copy link

mirror list from http://mirrorlist.repoforge.org/el7/mirrors-rpmforge have $ARCH in stead of $arch
yum is ok with that but not dfn

partial workarround at client side :
wget http://mirrorlist.repoforge.org/el7/mirrors-rpmforge -O - | sed "s/ARCH/arch/g" > /etc/yum.repos.d/mirrors-rpmforge wget http://mirrorlist.repoforge.org/el7/mirrors-rpmforge-extras -O - | sed "s/ARCH/arch/g" > /etc/yum.repos.d/mirrors-rpmforge-extras
and edit /etc/yum.repos.d/rpmforge.repo to use local mirror file (and maybe a cron to rebuild the mirror file from time to time

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

No branches or pull requests

1 participant