Currently I had to install an HP DL380 Gen 8 and therefore needed the HPE Repository.
Most sources in the web suggested to add the keys by apt-key, which is deprecated nowadays.
So here a better solution:
1. Add the repo in /etc/apt/sources.list.d/hpe.list:
echo "deb https://downloads.linux.hpe.com/SDR/repo/mcp bullseye/current non-free" > /etc/apt/sources.list.d/hpe.list
Other Linux variants could be found here: http://downloads.linux.hpe.com/SDR/repo/mcp/
The debian wiki also suggest to use the ubuntu archive (can be newer). But for me the debian variant was okay.
2. Add the keys:
curl -sS https://downloads.linux.hpe.com/SDR/hpPublicKey2048.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/hpPublicKey2048.gpg
curl -sS https://downloads.linux.hpe.com/SDR/hpPublicKey2048_key1.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/hpPublicKey2048_key1.gpg
curl -sS https://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/hpePublicKey2048_key1.gpg
3. Update apt sources:
root@dl380:~# apt update
OK:1 http://ftp.tu-chemnitz.de/debian bookworm InRelease
OK:2 http://ftp.tu-chemnitz.de/debian bookworm-updates InRelease
OK:3 http://security.debian.org/debian-security bookworm-security InRelease
Ign:4 http://downloads.linux.hpe.com/SDR/repo/mcp bullseye/current InRelease
OK:5 http://downloads.linux.hpe.com/SDR/repo/mcp bullseye/current Release
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Alle Pakete sind aktuell.
4. (Optional) Install the tools you need:
root@dl380:~# apt install ssacli
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Die folgenden NEUEN Pakete werden installiert:
ssacli
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 11,5 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
Holen:1 http://downloads.linux.hpe.com/SDR/repo/mcp bullseye/current/non-free amd64 ssacli amd64 5.30-6.0 [11,5 MB]
Es wurden 11,5 MB in 20 s geholt (571 kB/s).
Vormals nicht ausgewähltes Paket ssacli wird gewählt.
(Lese Datenbank ... 39872 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../ssacli_5.30-6.0_amd64.deb ...
Entpacken von ssacli (5.30-6.0) ...
ssacli (5.30-6.0) wird eingerichtet ...
Trigger für man-db (2.11.2-2) werden verarbeitet ...


4 Kommentare
http does not work anymore, as it seems. https works fine for me.
Thanks for pointing this out, I will adjust it in the post.
Hi
Does it work for you with Debian trixie?
I have problems:
root@joshua:/etc/apt/sources.list.d# apt update
OK:1 https://security.debian.org/debian-security trixie-security InRelease
OK:2 https://deb.debian.org/debian trixie InRelease
OK:3 https://deb.debian.org/debian trixie-updates InRelease
Ign:4 https://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current InRelease
OK:5 https://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current Release
Fehl:6 https://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current Release.gpg
Sub-process /usr/bin/sqv returned an error code (1), error message is: Signing key on 57446EFDE098E5C934B69C7DC208ADDE26C2B797 is not bound: No binding signature at time 2023-09-05T17:12:02Z because: No binding signature at time 2023-09-05T17:12:02Z
Alle Pakete sind aktuell.
Warnung: Während der Überprüfung der Signatur trat ein Fehler auf. Das Depot wurde nicht aktualisiert und die vorherigen Indexdateien werden verwendet. OpenPGP-Signaturüberprüfung fehlgeschlagen: https://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current Release: Sub-process /usr/bin/sqv returned an error code (1), error message is: Signing key on 57446EFDE098E5C934B69C7DC208ADDE26C2B797 is not bound: No binding signature at time 2023-09-05T17:12:02Z because: No binding signature at time 2023-09-05T17:12:02Z
Warnung: Fehlschlag beim Holen von https://downloads.linux.hpe.com/SDR/repo/mcp/dists/bookworm/current/Release.gpg Sub-process /usr/bin/sqv returned an error code (1), error message is: Signing key on 57446EFDE098E5C934B69C7DC208ADDE26C2B797 is not bound: No binding signature at time 2023-09-05T17:12:02Z because: No binding signature at time 2023-09-05T17:12:02Z
Warnung: Einige Indexdateien konnten nicht heruntergeladen werden. Sie wurden ignoriert oder alte an ihrer Stelle benutzt.
Any suggestions/help?
Hi,
I currently have no HP server running with Debian 13, but it seems like HP has to update that GPG key.
Sorry, can’t help you with that right now. Maybe there is an option to allow these older keys in Debian 13?