Try alien
to rebuild this RPM from here:
https://downloads.linux.hpe.com/SDR/repo/mcp/centos/6/x86_64/9.50/
Something like this:
# alien hpacucli-9.40-12.0.x86_64.rpm
generated hpacucli-9.40-12.0.x86_64.deb
# dpkg -i hpacucli-9.40-12.0.x86_64.deb
... <fix any dependency issues>
# hpacucli
HP Array Configuration Utility CLI 9.40.12.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.
=> ctrl all show config
Smart Array P410i in Slot 0 (Embedded) (sn: xxx)
array A (SAS, Unused Space: 0 MB)
logicaldrive 1 (5.5 TB, RAID 5, Interim Recovery Mode)
physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 1 TB, OK)
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 1 TB, OK)
physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 1 TB, OK)
physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 1 TB, OK)
physicaldrive 2I:1:5 (port 2I:box 1:bay 5, SAS, 1 TB, Failed)
physicaldrive 2I:1:6 (port 2I:box 1:bay 6, SAS, 1 TB, OK)
physicaldrive 2I:1:7 (port 2I:box 1:bay 7, SAS, 1 TB, OK)
physicaldrive 2I:1:8 (port 2I:box 1:bay 8, SAS, 1 TB, Failed, spare)
SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 250 (WWID: xxx)
For RHEL8/Oracle 8/Rocky 8/Alma 8, the RPM installs cleanly without issue. For Ubuntu/Debian, you'll need to bring it in with alien (or rip out the RPM's CPIO in some other way, like with rpm2cpio).