Join the community today
Register Now

AlmaLinux Messed up my YUM settings or database

Discussion in 'System Administration' started by ElChorizo, Sep 27, 2025.

Tags:
  1. ElChorizo

    ElChorizo Member

    79
    10
    8
    Apr 29, 2021
    Ratings:
    +18
    Local Time:
    10:40 PM
    1.19.10
    10.3.28
    I installed an app on one of our CentminMod Alma 9.5 servers. Now, anytime I run centmin.sh and exit, there are never any yum updates available. I can't remember what app I installed but it changed some Yum settings... I know there are updates available because I've updated other servers with AlmaLinux 9.5 and they've had multiple updates and this one hasn't. The centmin code base will update just fine...


    What settings should I check or copy from my other working servers to fix this?
     
  2. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    1:40 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    First steps would be share what app you I installed, the steps and commands and link to apps documentation

    For clues type in SSH session
    Code (Text):
    history


    Should give you a date timestamped log of all commands you ran

    Also run
    Code (Text):
    yum history list


    You don't want to share your history fully on public forums though, just gives you an idea of what you ran and can share sanitised excerpts
     
  3. ElChorizo

    ElChorizo Member

    79
    10
    8
    Apr 29, 2021
    Ratings:
    +18
    Local Time:
    10:40 PM
    1.19.10
    10.3.28
    It was this app: exosphere - A CLI / TUI for aggregated patch reporting & system status monitoring via SSH. - Terminal Trove

    It is a TUI to manage multiple servers and yum packages on those servers. There was a refresh yum database and once I ran that it started doing some updates and it's never worked after that. I have no idea what it could have done.

    I installed it on my workstation but added the server to the config, so it doesn't actually install anything on the server, but it did change the config somewhow or broke something in the centmin/yum config.
     
  4. ElChorizo

    ElChorizo Member

    79
    10
    8
    Apr 29, 2021
    Ratings:
    +18
    Local Time:
    10:40 PM
    1.19.10
    10.3.28
    Update. Looks like I found it. It was a broken repo from trying to play with OpenSearch --- I removed the broken repo and it seems good now.
     
  5. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    1:40 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Interesting app - seems would be useful along the lines of using Ansible
    Ah glad you found the issue. In future you probably could of found this issue running
    Code (Text):
    yum clean all
    yum repolist all
    

    that would force to sync and check all repos again where problematic ones would probably chuck an error