| Summary: | mageia-repos(&-cauldron) commented out examples of mirror definitions are often wrong | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Morgan Leijström <fri> |
| Component: | RPM Packages | Assignee: | Neal Gompa <ngompa13> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://github.com/rpm-software-management/libdnf/issues/170 | ||
| Whiteboard: | |||
| Source RPM: | mageia-repos-6-0.0.11.mga6.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Morgan Leijström
2017-05-25 11:06:22 CEST
BTW, it is very tedious to edit all instances in all files in order to point to a specific mirror, i.e my urpmi-proxy... Idea: could the part now spelled baseurl=https://mirrors.kernel.org/mageia/distrib/ be a variable, defined maybe in ... dnf.conf? so we only need to change that to point at the mirror we want. Even better if we also somehow would not need to uncommment and comment many lines as per https://wiki.mageia.org/en/Using_DNF#Install_and_Setup We = who want a specific good mirror or local mirror or urpmi-proxy
Rémi Verschelde
2017-05-25 18:02:08 CEST
Assignee:
bugsquad =>
ngompa13 Unfortunately, at the moment, there's no supported variable for that. That being said, I do need to fix the errors in the examples. Status:
NEW =>
ASSIGNED You shouldn't need to comment out the mirrorlist directive, as the baseurl should supersede it. That said, I've fixed the commented out URLs in mageia-repos-6-0.1.1.mga6. The custom variable that could be used to define a urlbase (e.g. urlbase=https://mirrors.kernel.org/mageia/distrib/) is a known upstream issue. I'm marking this as fixed as I've resolved the key issue, but added a link to the upstream issue for custom vars support for the other thing. Feel free to comment in the upstream issue in regards to that. Status:
ASSIGNED =>
RESOLVED Thanks I will try them later. Thanks for fixing :) Tested using "dnf makechache": I *do* need to comment out the mirrorlist= lines or else it do not use my urpmi-proxy i defined in the baseurl= lines. Editing that and the baseurl is pretty easy using a multifile editor capeable of multi replace, like kate (if not a wizard on scripting) |