[MDEV-31405] CentOS 6 MariaDB 10.3 archive repo broke again Created: 2023-06-05 Updated: 2023-06-09 Resolved: 2023-06-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging |
| Affects Version/s: | 10.3.39 |
| Fix Version/s: | 10.3.39 |
| Type: | Bug | Priority: | Major |
| Reporter: | Hans Borresen | Assignee: | Daniel Bartholomew |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
See It looks like on May 8th, the RPMS in https://archive.mariadb.org/mariadb-10.3/yum/centos/6/x86_64/ were updated (or just re-signed?), but the repodata was not updated. This causes yum failures for anyone attempting to install MariaDB 10.3 on CloudLinux 6 or other RHEL6 like operating systems (which have extended support from the OS vendor, despite CentOS 6 being EOL).
I think the rpm changes happened due to the latest 10.3 minor version update – since 10.3 is now EOL, this particular problem shouldn't re-occur in the future. |
| Comments |
| Comment by Daniel Bartholomew [ 2023-06-07 ] |
|
I have restored the previous versions of the rpm files from a backup and uploaded them. Can you verify that they work? I don't have a working CentOS 6 install to test with. |
| Comment by Hans Borresen [ 2023-06-08 ] |
|
I can confirm that it works now. Thanks very much. |
| Comment by j [ 2023-06-08 ] |
|
I'm having the same issue with aarch64 in the Centos7 parts of the repo... and have confirmed the files aren't there but also..... I'm getting similar for every version of mariadb i try to install, eg: https://dlm.mariadb.com/repo/mariadb-server/10.9.7/yum/rhel/7/aarch64/rpms/MariaDB-common-10.9.2-1.el7.centos.aarch64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=mariadb-main clean metadata running updated AWS linux 2, with ./mariadb_repo_setup --os-type=rhel --os-version=7 --mariadb-server-version=10.9 i've tried 10.6, 10.6.41, 10.9, 10.9.7... all give me nice yum.d configs, and I get good-looking aspirational yum installation intents, and then the error above (for each MariaDB package) after i confirm. Trust me when i say i've run those clean commands many times, and even started over with fresh instances, just in case i missed something thoughts? thanks |
| Comment by Daniel Black [ 2023-06-09 ] |
|
https://access.redhat.com/support/policy/updates/errata#Overview "Red Hat does not offer Extended Update Support or Extended Life cycle Support for version 7 of Red Hat Enterprise Linux for ARM" As such aarch64 EOL occurred at the beginning of 2022. Its EOL was announced in the 10.9.1 release notes (and others in the May 2022 timeframe). While Centos 7 didn't announce it, there have been compiler/packaging problems that did occur, and Centos7 didn't fix them. They are just as unmaintained as RHEL7 for non-x86_64. |
| Comment by Hans Borresen [ 2023-06-09 ] |
|
j – if you are sure you want aarch64 and not x86_64, you might be able to work around the problem if you skip the repo setup and instead feed yum the list of urls for the specific rpms you want to install. IE, "yum install MariaDB-common" may fail, but "yum install https://dlm.mariadb.com/repo/mariadb-server/10.9.7/yum/rhel/7/aarch64/rpms/MariaDB-common-10.9.2-1.el7.centos.aarch64.rpm" will probably work for you The downside of not having the repo configured is that you won't get updates – but it seems that with aarch64 you won't be getting updates anyhow so it's not like that will be a problem for you. You'd also need to give it the full list of all of the urls you need at the same time. They should all be in the error output from the previous command you tried though. |