Bug #119950 mysql-8.4-lts-community repo error
Submitted: 26 Feb 15:15 Modified: 27 Feb 18:10
Reporter: Reginaldo Bray Email Updates:
Status: Open Impact on me:
None 
Category:MySQL Package Repos Severity:S3 (Non-critical)
Version:mysql-8.4-lts-community OS:Linux (AlmaLinux v9.7.0 STANDARD vmware)
Assigned to: CPU Architecture:x86 ( x86_64)
Tags: data, error, inconsistency, LENGTH, metadata, repository

[26 Feb 15:15] Reginaldo Bray
Description:
When running yum update, the following error appears:

Downloading Packages:
[MIRROR] mysql84-community-release-el9-2.noarch.rpm: Interrupted by header callback: Inconsistent server data, reported file Content-Length: 14805, repository metadata states file length: 14556 (please report to repository maintainer)
[MIRROR] mysql84-community-release-el9-2.noarch.rpm: Interrupted by header callback: Inconsistent server data, reported file Content-Length: 14805, repository metadata states file length: 14556 (please report to repository maintainer)
[MIRROR] mysql84-community-release-el9-2.noarch.rpm: Interrupted by header callback: Inconsistent server data, reported file Content-Length: 14805, repository metadata states file length: 14556 (please report to repository maintainer)
[MIRROR] mysql84-community-release-el9-2.noarch.rpm: Interrupted by header callback: Inconsistent server data, reported file Content-Length: 14805, repository metadata states file length: 14556 (please report to repository maintainer)
[FAILED] mysql84-community-release-el9-2.noarch.rpm: No more mirrors to try - All mirrors were already tried without success

How to repeat:
Running yum update -y command

Suggested fix:
The error reads: please report to repository maintainer. So i'm trying to make the report.
[26 Feb 16:34] Balasubramanian Kandasamy
Thanks for the bug report.

Please could you clear the cached metadata and retry:

$ sudo dnf clean all
$ sudo rm -rf /var/cache/dnf
$ sudo dnf --refresh makecache

Expected md5sum for the MySQL el9 repo setup rpm:

$ md5sum mysql84-community-release-el9-2.noarch.rpm
c2d69768fc3f6aaf1e035715e54e1bb4  mysql84-community-release-el9-2.noarch.rpm
[26 Feb 16:50] Reginaldo Bray
Hi, Balasubramanian.
I did what you suggested but nothing, the same error appears:

[MIRROR] mysql84-community-release-el9-2.noarch.rpm: Interrupted by header callb                                                                                                                                                             ack: Inconsistent server data, reported file Content-Length: 14805, repository m                                                                                                                                                             etadata states file length: 14556 (please report to repository maintainer)
[MIRROR] mysql84-community-release-el9-2.noarch.rpm: Interrupted by header callb                                                                                                                                                             ack: Inconsistent server data, reported file Content-Length: 14805, repository m                                                                                                                                                             etadata states file length: 14556 (please report to repository maintainer)
[MIRROR] mysql84-community-release-el9-2.noarch.rpm: Interrupted by header callb                                                                                                                                                             ack: Inconsistent server data, reported file Content-Length: 14805, repository m                                                                                                                                                             etadata states file length: 14556 (please report to repository maintainer)
[MIRROR] mysql84-community-release-el9-2.noarch.rpm: Interrupted by header callb                                                                                                                                                             ack: Inconsistent server data, reported file Content-Length: 14805, repository m                                                                                                                                                             etadata states file length: 14556 (please report to repository maintainer)
[FAILED] mysql84-community-release-el9-2.noarch.rpm: No more mirrors to try - Al                                                                                                                                                             l mirrors were already tried without success

Regards,

Reginaldo Bray
[27 Feb 17:58] Balasubramanian Kandasamy
We have published the new EL9 repo setup rpm. Please could you re-try now.
[27 Feb 18:10] Reginaldo Bray
Thank you Balasubramanian,

After clearing the cached metatada and trying again, it worked.

Thanks for your help.

Best regards,

Reginaldo Bray