| Summary: | dnf gets broken when upgrading from Mageia 7 to Cauldron | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Kristoffer Grundström <lovaren> |
| Component: | RPM Packages | Assignee: | Neal Gompa <ngompa13> |
| Status: | REOPENED --- | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | lovaren, ouaurelien, thierry.vignaud |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | dnf-4.2.6-1.mga7.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Kristoffer Grundström
2019-11-30 01:43:46 CET
Kristoffer Grundström
2019-11-30 01:44:35 CET
CC:
(none) =>
hamnisdude This looks more like a manipulation gone wrong than a fault in DNF. Assigning to Neal as active dnf maintainer, CC Thierry for repo advice. Assignee:
bugsquad =>
ngompa13 I know what causes this quirk, and I'm preparing an update to DNF to resolve this. Status:
NEW =>
ASSIGNED This should be fixed with the update to dnf-4.2.17-4.mga8 in Cauldron. Resolution:
(none) =>
FIXED (In reply to Neal Gompa from comment #3) > This should be fixed with the update to dnf-4.2.17-4.mga8 in Cauldron. I got the update and installed it, but the error still remains. Error: Failed to download metadata for repo 'mageia-x86_64': Cannot prepare internal mirrorlist: No URLs in mirrorlist And I got this as well: Errors during downloading metadata for repository 'cauldron-updates-x86_64': - Status code: 404 for http://ftp.acc.umu.se/mirror/mageia/distrib/cauldron/x86_64/media/core/updates/repodata/repomd.xml (IP: 194.71.11.173) - Curl error (78): Remote file not found for ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/cauldron/x86_64/media/core/updates/repodata/repomd.xml [RETR response: 550] - Status code: 404 for http://ftp.nluug.nl/pub/os/Linux/distr/mageia/distrib/cauldron/x86_64/media/core/updates/repodata/repomd.xml (IP: 145.220.21.40) - Curl error (78): Remote file not found for ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/cauldron/x86_64/media/core/updates/repodata/repomd.xml [RETR response: 550] - Curl error (78): Remote file not found for ftp://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/cauldron/x86_64/media/core/updates/repodata/repomd.xml [RETR response: 550] Error: Failed to download metadata for repo 'cauldron-updates-x86_64': repomd.xml parser error: Parse error at line: 6 (Opening and ending tag mismatch: hr line 0 and body )
Thierry Vignaud
2019-12-10 13:43:07 CET
Status:
RESOLVED =>
REOPENED (In reply to Kristoffer Grundström from comment #4) > (In reply to Neal Gompa from comment #3) > > This should be fixed with the update to dnf-4.2.17-4.mga8 in Cauldron. > > I got the update and installed it, but the error still remains. > > Error: Failed to download metadata for repo 'mageia-x86_64': Cannot prepare > internal mirrorlist: No URLs in mirrorlist Hmm, so an empty mirrorlist file now causes an error instead of making it skip the repo, that's annoying... Hi, issue is still present in Mageia 8 alpha 1 freshly installed with classic ISO installer. When DNF refreshes, sudo journalctl -f output is like this: dnf[2901]: détermination du miroir le plus rapide (3 hôtes).. done. juil. 05 22:34:59 mageia-2 dnf[2901]: Mageia Cauldron - x86_64 2.2 kB/s | 2.5 kB 00:01 juil. 05 22:35:00 mageia-2 dnf[2901]: détermination du miroir le plus rapide (4 hôtes).. done. juil. 05 22:35:03 mageia-2 dnf[2901]: Mageia Cauldron - x86_64 15 MB/s | 47 MB 00:03 juil. 05 22:35:14 mageia-2 dnf[2901]: Mageia Cauldron - x86_64 - Updates 931 B/s | 1.5 kB 00:01 juil. 05 22:35:14 mageia-2 dnf[2901]: Mageia 8 - x86_64 483 B/s | 51 B 00:00 juil. 05 22:35:14 mageia-2 dnf[2901]: Error: Failed to download metadata for repo 'mageia-x86_64': Cannot prepare internal mirrorlist: No URLs in mirrorlist juil. 05 22:35:14 mageia-2 dnf[2901]: Mageia 8 - x86_64 - Updates 494 B/s | 51 B 00:00 juil. 05 22:35:14 mageia-2 dnf[2901]: Error: Failed to download metadata for repo 'updates-x86_64': Cannot prepare internal mirrorlist: No URLs in mirrorlist juil. 05 22:35:14 mageia-2 dnf[2901]: Dépôts ignorés : mageia-x86_64, updates-x86_64 juil. 05 22:35:15 mageia-2 dnf[2901]: Cache des métadonnées créé. juil. 05 22:35:15 mageia-2 systemd[1]: dnf-makecache.service: Succeeded. juil. 05 22:35:15 mageia-2 systemd[1]: Finished dnf makecache. juil. 05 22:35:15 mageia-2 systemd[1]: dnf-makecache.service: Consumed 11.443s CPU time. So, repo in DNF are set as this: # dnf repolist cauldron-updates-x86_64 Mageia Cauldron - x86_64 - Updates cauldron-x86_64 Mageia Cauldron - x86_64 mageia-x86_64 Mageia 8 - x86_64 updates-x86_64 Mageia 8 - x86_64 - Updates Therefore, mageia 8 repos get these errors. If cauldron is active system, DNF shouldn't look for mageia 8 repositories. These repos could be inactivated before release date and a script should activate them on release date? CC:
(none) =>
ouaurelien |