Dear All,
Trying to update a rocky (Rocky Linux 10.1 (Red Quartz) (Build 6.12.0-124.21.1.el10_1.x86_64) , but it fails to update.
What could be causing this please?
Cleaned packages (dnf clean all) & tested network on wifi & wired all fine. Cropped some attached images please.
God bless thank you - Happy New Year !
You successfully cropped the actual command line you used that generated that output.
Assuming it was “dnf upgrade”, then it’s not clear yet if the problem you’re encountering is something with regard to mariadb or a corrupted rpm database.
First, try a simpler command to upgrade one package:
dnf upgrade poppler
Did it work?
Yes: then your problem is related to the mariadb update.
No: Then your problem is that your rpm database is corrupted and you need to rebuild it.
1 Like
Dear FrankCox,
Appreciate your reply, people are so helpful on this forum, apologies, i used dnf upgrade -y
Thus i need to rebuild all with:
by deleting rm -f /var/lib/rpm/__db* , then rebuild with rpm --rebuilddb ?
Cheers 
Did you try the test that I suggested above? What was the result?
Not yet, i am at a different location, I will test the update command soon and reply soon.
Cheers 
That confirms that the problem here is a corrupted rpm database.
1 Like
Fixed now, appreciate the support.
Cheers 