Skip to main content

A system upgrade was not possible

Comments

4 comments

  • cPRex Jurassic Moderator

    Hey there!  It looks like you have an issue with the RPM database on the machine, so no updates will complete until that is resolved.

    Can you try using the WHM >> Repair RPM Database tool and see if that is able to fix the issue?

    0
  • Paul King

    I've a very similar setup and experiencing the same issues after upgrading MySQL server to MariaDB.

     

    [2025-05-06 20:55:27 +1000] W NOTE: A system upgrade was not possible due to the following blockers:
    [2025-05-06 20:55:27 +1000] W [FATAL] - Your Packaging System does not seem in a sane state at the moment: FAIL: RPM DB error: package glibc is not installed
    [2025-05-06 20:55:27 +1000] W [ (EXIT CODE 1)] -

    Try

    To help you further, I did some research and found resource(s) that will guide you; please review the following third-party pages:
     
    Unable to detect release version
     
    Almalinux 8 | Unable to detect release version

    This will help, however doesn't completely fix issue

     

    0
  • sibony88

    hi, 

    You need to take the correct RPM file from a backup and extract it to a folder then run rpm --rebuilddb

    from backup directory: system\dirs\_var_lib_rpm.tar.gz 

     

    0
  • cPRex Jurassic Moderator

    Paul King - I'd recommend the same RPM repair process to you that I did in my previous reply.  Can you try that and see how that goes?

    0

Please sign in to leave a comment.