Description of problem: For any 'dnf install package_name' the following error is returned: " Mageia 8 - x86_64 - Nonfree 430 B/s | 51 B 00:00 Error: Failed to download metadata for repo 'mageia-x86_64-nonfree': Cannot prepare internal mirrorlist: No URLs in mirrorlist Mageia 8 - x86_64 - Nonfree - Updates 436 B/s | 51 B 00:00 Error: Failed to download metadata for repo 'updates-x86_64-nonfree': Cannot prepare internal mirrorlist: No URLs in mirrorlist Mageia 8 - x86_64 - Tainted 452 B/s | 51 B 00:00 Error: Failed to download metadata for repo 'mageia-x86_64-tainted': Cannot prepare internal mirrorlist: No URLs in mirrorlist Mageia 8 - x86_64 - Tainted - Updates 452 B/s | 51 B 00:00 Error: Failed to download metadata for repo 'updates-x86_64-tainted': Cannot prepare internal mirrorlist: No URLs in mirrorlist Mageia 8 - x86_64 462 B/s | 51 B 00:00 Error: Failed to download metadata for repo 'mageia-x86_64': Cannot prepare internal mirrorlist: No URLs in mirrorlist Mageia 8 - x86_64 - Updates 473 B/s | 51 B 00:00 Error: Failed to download metadata for repo 'updates-x86_64': Cannot prepare internal mirrorlist: No URLs in mirrorlist " Version-Release number of selected component (if applicable): Mageia 8 beta2 How reproducible: So far, all my laptops and VM exhibit the issue Steps to Reproduce: 1.try to install a package as root with 'dnf install' 2. 3.
Sorry for the angst. I tried: $ LANG=C sudo dnf install grisbi Mageia Cauldron - x86_64 - Updates 9.9 B/s | 136 B 00:13 Errors during downloading metadata for repository 'cauldron-updates-x86_64': - At least one of the zchunk checksums doesn't match in ftp://ftp.free.fr/mirrors/mageia.org/distrib/cauldron/x86_64/media/core/updates/repodata/eb0e1b28d39394c1e512824bb33d07dca6b4451fbdc1584c24974558f067885c-primary.xml.zck Error: Failed to download metadata for repo 'cauldron-updates-x86_64': Checksum error /var/cache/dnf/cauldron-updates-x86_64-7e1fcdfdaf44a85f/repodata/eb0e1b28d39394c1e512824bb33d07dca6b4451fbdc1584c24974558f067885c-primary.xml.zck: Unable to validate zchunk checksums Mageia 8 - x86_64 73 B/s | 51 B 00:00 Error: Failed to download metadata for repo 'mageia-x86_64': Cannot prepare internal mirrorlist: No URLs in mirrorlist Mageia 8 - x86_64 - Updates 29 B/s | 51 B 00:01 Error: Failed to download metadata for repo 'updates-x86_64': Cannot prepare internal mirrorlist: No URLs in mirrorlist Ignoring repositories: cauldron-updates-x86_64, mageia-x86_64, updates-x86_64 Last metadata expiration check: 1:14:38 ago on Fri Jan 22 09:32:43 2021. Dependencies resolved. ============================================================================ Package Architecture Version Repository Size ============================================================================ Installing: grisbi x86_64 1.2.2-2.mga8 cauldron-x86_64 5.8 M which worked because I had added other repos. It also worked without complaint with urpmi, which used an added repo. It is possible that your repos are not correctly defined. Please post the O/P of: $ inxi -r | grep -v yum Mirrorlist is a mystery to me, CC'ing Aurélien who probably knows more. We need to judge whether it is a 'mirror' problem, or DNF.
CC: (none) => lewyssmith, ouaurelien
Hi, FYI, I have not changed anything on the repo list after the install. $ inxi -r | grep -v yum 1: cauldron-x86_64 ~ https://www.mageia.org/mirrorlist/?release=cauldron&arch=x86_64§ion=core&repo=release 2: cauldron-updates_testing-x86_64 ~ https://www.mageia.org/mirrorlist/?release=cauldron&arch=x86_64§ion=core&repo=updates_testing 1: mageia-x86_64-nonfree ~ https://www.mageia.org/mirrorlist/?release=$releasever&arch=x86_64§ion=nonfree&repo=release 1: mageia-x86_64 ~ https://www.mageia.org/mirrorlist/?release=$releasever&arch=x86_64§ion=core&repo=release 2: updates_testing-x86_64 ~ https://www.mageia.org/mirrorlist/?release=$releasever&arch=x86_64§ion=core&repo=updates_testing urpmq repo: http://magie.remi.lu/distrib/8/x86_64/media/core/release 1: Core Release urpmq repo: http://magie.remi.lu/distrib/8/x86_64/media/core/updates 1: Core Updates urpmq repo: http://magie.remi.lu/distrib/8/x86_64/media/nonfree/release 1: Nonfree Release urpmq repo: http://magie.remi.lu/distrib/8/x86_64/media/nonfree/updates 1: Nonfree Updates urpmq repo: http://magie.remi.lu/distrib/8/x86_64/media/debug/tainted/release 1: Tainted Release Debug urpmq repo: http://magie.remi.lu/distrib/8/x86_64/media/tainted/updates 1: Tainted Updates
The issue is in our infra. Directory/file permissions are fcked in main mirror and thus repodata doesn't get updated.
The issue should be fixed now. Please test again in a while after mirrors gets synced.
Thanks Jani for your explanation. @christian : if you find later that the problem has gone, please report back here (& close the bug 'fixed' if you like).
I am trying but without success so far. I will try again tomorrow. Mirrors will have had then the chance to update. I will report and change status.
Hello, After a test this evening, I confirm having the same bug with DNF as Christian. root@localhost ~]# dnf update détermination du miroir le plus rapide (1 hôtes).. done.35 B 00:00 ETA Mageia Cauldron - x86_64 - Updates 6.4 B/s | 136 B 00:21 Errors during downloading metadata for repository 'cauldron-updates-x86_64': - At least one of the zchunk checksums doesn't match in ftp://ftp.free.fr/mirrors/mageia.org/distrib/cauldron/x86_64/media/core/updates/repodata/eb0e1b28d39394c1e512824bb33d07dca6b4451fbdc1584c24974558f067885c-primary.xml.zck Error: Failed to download metadata for repo 'cauldron-updates-x86_64': Checksum error /var/cache/dnf/cauldron-updates-x86_64-7e1fcdfdaf44a85f/repodata/eb0e1b28d39394c1e512824bb33d07dca6b4451fbdc1584c24974558f067885c-primary.xml.zck: Unable to validate zchunk checksums Mageia 8 - x86_64 38 B/s | 51 B 00:01 Error: Failed to download metadata for repo 'mageia-x86_64': Cannot prepare internal mirrorlist: No URLs in mirrorlist Mageia 8 - x86_64 - Updates 48 B/s | 51 B 00:01 Error: Failed to download metadata for repo 'updates-x86_64': Cannot prepare internal mirrorlist: No URLs in mirrorlist Dépôts ignorés : cauldron-updates-x86_64, mageia-x86_64, updates-x86_64 Dernière vérification de l’expiration des métadonnées effectuée il y a 1 day, 0:07:00 le jeu. 21 janv. 2021 20:57:19. Dépendances résolues. Rien à faire. Terminé ! I see that the terminal output shows Cauldron sources, as well as Mageia 8 sources. Reagrds, SB
CC: (none) => vigenmailbox
Hi Just tested. It has improved for nonfree and tainted. However, I still have the issue for 'mageia-x86_64' and 'updates-x86_64'
Ok,just tested and it works now. Thanks!
Status: NEW => RESOLVEDResolution: (none) => FIXED
Hello, Issue are still active, today, after un dnf update: dnf update Mageia Cauldron - x86_64 - Updates 21 kB/s | 30 kB 00:01 Errors during downloading metadata for repository 'cauldron-updates-x86_64': - Zchunk header checksum didn't match expected checksum Error: Failed to download metadata for repo 'cauldron-updates-x86_64': Checksum error /var/cache/dnf/cauldron-updates-x86_64-7e1fcdfdaf44a85f/repodata/eb0e1b28d39394c1e512824bb33d07dca6b4451fbdc1584c24974558f067885c-primary.xml.zck: Unable to read zchunk lead Mageia 8 - x86_64 299 B/s | 51 B 00:00 Error: Failed to download metadata for repo 'mageia-x86_64': Cannot prepare internal mirrorlist: No URLs in mirrorlist Mageia 8 - x86_64 - Updates 323 B/s | 51 B 00:00 Error: Failed to download metadata for repo 'updates-x86_64': Cannot prepare internal mirrorlist: No URLs in mirrorlist Dépôts ignorés : cauldron-updates-x86_64, mageia-x86_64, updates-x86_64 Dernière vérification de l’expiration des métadonnées effectuée il y a 0:41:51 le dim. 24 janv. 2021 10:58:24. Dépendances résolues. Rien à faire. Terminé ! urpmi works fine !! Regards, Sébastien B.
Can you both try say at the end of the month; the mirror problem was apparently still lurking after this bug was closed. If it still persists, please re-open it.
Will do.
Hi Just tried on a fresh install made 1 week ago (with beta2 iso) and up to date with urpmi --auto-update. No more issue on my side.