Having issue with dnf and 10.1

hello -

i tried updating mariadb, ran into trouble, but now i see this error:

Error: Failed to download metadata for repo ‘extras’: Cannot prepare internal mirrorlist: No URLs in mirrorlist

so after researching, it sounded like the suggestion was to go into /etc/yum.repos.d/rocky.repo and comment out all mirrorlist lines and UNCOMMENT out all baseurl lines.

Unfortunately, this did not solve the issue.

and i have run dnf clean all && dnf makecache --refresh ; multiple times as well.

does anybody have any suggestions?

note: this is on a test server, but i want to know what to do in case this happens on a production server.

Define “ran into trouble” and what you did to solve this “trouble” since that’s likely what made dnf stop working as expected.

i was trying to upgrade mariadb 10.x to 11.4 but was getting an error (forgot what it said).

strangely, i went to my backup server and am now seeing the same error. this is on google-VM.

for fun i just created a new google-VM and it does NOT have the issue.

EDIT: problem seems to have magically resolved itself. maybe some temporary issue with google-VM connectivity or something bizarre like that?

EDIT: this looks more like an issue with MariaDB. i just attempted installing mariadb 11.4 and now get this error message:

Errors during downloading metadata for repository ‘mariadb-maxscale’:

Status code: 404 for https://dlm.mariadb.com/repo/maxscale/latest/yum/rhel/10/x86_64/repodata/repomd.xml (IP: 104.17.191.14)
Error: Failed to download metadata for repo ‘mariadb-maxscale’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

then i deleted the /etc/yum.repos.d/mariadb.repo file, and was successfully able to do dnf -y update; so i have posted this question to the mariadb slack page.

You could just edit the mariadb.repo file and set enabled = 0 so that it doesn’t use it, or:

dnf config-manager --set-disabled mariadb-maxscale

it seems to be problems on their mirror - probably some files corrupted or something.

1 Like