I'm bumping this thread because there is still an issue here. I had the exact smame problem installing on AlmaLinux 9.2 a little while ago.
This is what I did and the installation went perfect after the 2 failed initial attempts with the exact same issues as the OP describes.
If anyone else has this issue then I hope this will help you to quickly get BrainyCP installed 
 
 
Installing BrainyCP on AlmaLinux 9.2
          
1. Install rpm nanually with wget - If the rpm gets updated you will have to find the update if this rpm is replaced!
                                                
Код: Выделить всё
$ sudo  wget http://31.42.190.125/repo/alma-brainy-repo-v3-9.0-2.el9.noarch.rpm
      If you get bash error for wget then you probably don't have wget installed so install wget
         
          
          2. Install alma-brainy-repo
         
Код: Выделить всё
 $ sudo dnf localinstall -y <alma-brainy-repo-file-replace-here>
             Alternately, the newer command "install" could also be used
           
Код: Выделить всё
$ sudo dnf install -y <alma-brainy-repo-file-replace-here>
 Change to root Directory and remove rpm download
          copy alma-brainy-repo download ad to <alma-brainy-repo> below
         
           alternately if you don't need to look up the file name then you can probably just do somethig likr this:
           
           4. Install virt-what this should also take care of any dmidecode issues as well 
           
           5. Run update
           
           6. You should reboot while you may get away with not rebooting it's a good idea to to so.
            
           7. Install BrainyCP with the BrainyCP installation script.
           
Код: Выделить всё
 $ sudo wget -O install.sh http://core.brainycp.com/install_en.sh && bash ./install.sh <your-choice-of-packages-go-here>
I'm bumping this thread because there is still an issue here. I had the exact smame problem installing on AlmaLinux 9.2 a little while ago.
This is what I did and the installation went perfect after the 2 failed initial attempts with the exact same issues as the OP describes.
If anyone else has this issue then I hope this will help you to quickly get BrainyCP installed :D 
Installing BrainyCP on AlmaLinux 9.2
          [b]1.[/b] Install rpm nanually with wget - If the rpm gets updated you will have to find the update if this rpm is replaced!
                                                [code]$ sudo  wget http://31.42.190.125/repo/alma-brainy-repo-v3-9.0-2.el9.noarch.rpm[/code]
      If you get bash error for wget then you probably don't have wget installed so install wget
         [code] $ sudo dnf install -y wget[/code]
          
          [b]2.[/b] Install alma-brainy-repo
         [code] $ sudo dnf localinstall -y <alma-brainy-repo-file-replace-here>[/code]
             Alternately, the newer command "install" could also be used
           [code]$ sudo dnf install -y <alma-brainy-repo-file-replace-here>[/code]
          [b]3.[/b] Change to root Directory and remove rpm download
[code]          $ cd ~
          $ ls [/code]
          copy alma-brainy-repo download ad to <alma-brainy-repo> below
         [code] $ sudo rm -rf <alma-brainy-repo>[/code]
           alternately if you don't need to look up the file name then you can probably just do somethig likr this:
           [code]$ sudo rm -rf ~/<alma-brainy-repo>[/code]
          [b] 4.[/b] Install virt-what this should also take care of any dmidecode issues as well 
           [code]  $ sudo dnf install -y virt-what[/code]
           [b]5.[/b] Run update
           [code] $ sudo dnf update -y[/code]
           [b]6.[/b] You should reboot while you may get away with not rebooting it's a good idea to to so.
            [code]$ sudo reboot[/code]
           [b]7.[/b] Install BrainyCP with the BrainyCP installation script.
           [code] $ sudo wget -O install.sh http://core.brainycp.com/install_en.sh && bash ./install.sh <your-choice-of-packages-go-here>[/code]