When trying to install the DOCA_OFED 3.1.0 package on Ubuntu 25, it fails:
$ sudo apt-get update
Hit:1 http://de.archive.ubuntu.com/ubuntu plucky InRelease
Hit:2 http://de.archive.ubuntu.com/ubuntu plucky-updates InRelease
Hit:3 http://de.archive.ubuntu.com/ubuntu plucky-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu plucky-security InRelease
Ign:5 https://linux.mellanox.com/public/repo/doca/3.1.0/ubuntu25.04/x86_64 ./ InRelease
0% \[Waiting for headers\]https: ./methods/connect.cc:892: virtual bool TlsFd::HasPending(): Assertion \`ssl’ failed.
Get:6 https://linux.mellanox.com/public/repo/doca/3.1.0/ubuntu25.04/x86_64 ./ Release \[444 B\]
Reading package lists… Done
E: Method https has died unexpectedly!
E: Sub-process https received signal 6.
I’ve followed the steps described on the download page , which are as follows:
export DOCA_URL="https://linux.mellanox.com/public/repo/doca/3.1.0/ubuntu25.04/x86_64/"
BASE_URL=$([ "${DOCA_PREPUBLISH:-false}" = "true" ] && echo https://doca-repo-prod.nvidia.com/public/repo/doca || echo https://linux.mellanox.com/public/repo/doca)
DOCA_SUFFIX=${DOCA_URL#*public/repo/doca/}; DOCA_URL="$BASE_URL/$DOCA_SUFFIX"
curl $BASE_URL/GPG-KEY-Mellanox.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/GPG-KEY-Mellanox.pub
echo "deb [signed-by=/etc/apt/trusted.gpg.d/GPG-KEY-Mellanox.pub] $DOCA_URL ./" > /etc/apt/sources.list.d/doca.list
sudo apt-get update
sudo apt-get -y install doca-ofed
By switching the repo link in /etc/apt/sources.list.d/doca.list from https to http, it runs successfully.
Any idea who or what is wrong here?
https: ./methods/connect.cc:892: virtual bool TlsFd::HasPending(): Assertion `ssl’ failed.
E: Method https has died unexpectedly!
E: Sub-process https received signal 6
indicates that apt itself is crashing when trying to talk to the Mellanox DOCA repo over HTTPS. This usually happens due to:
Repository SSL misconfiguration – The server might be using a TLS version, cipher, or certificate that triggers a crash in the local apt library.
Broken apt or libssl libraries – If apt or the SSL libraries it depends on (libssl, gnutls, libcurl) are mismatched or broken.
DOCA repo configuration – Sometimes the trailing ./ in the repo URL confuses apt for newer versions.
Try updating CA certificates
sudo apt update
sudo apt install --reinstall ca-certificates
sudo update-ca-certificates
If issue persists and you want to have it further investigated please open a support case with a valid support contract to “NBU-SupportAdmin Networking-support@nvidia.com ” or “https://enterprise-support.nvidia.com/s/create-case ”.
Or continue to use http.
It seems like these commands actually helped and apt update runs without an error now:
# apt update
Hit:1 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 InRelease
Hit:2 http://de.archive.ubuntu.com/ubuntu plucky InRelease
Hit:3 http://de.archive.ubuntu.com/ubuntu plucky-updates InRelease
Hit:4 http://de.archive.ubuntu.com/ubuntu plucky-backports InRelease
Hit:5 http://security.ubuntu.com/ubuntu plucky-security InRelease
Ign:6 https://linux.mellanox.com/public/repo/doca/3.1.0/ubuntu25.04/x86_64 ./ InRelease
Hit:7 https://linux.mellanox.com/public/repo/doca/3.1.0/ubuntu25.04/x86_64 ./ Release
Thanks! But since this did not work out of the box with the installation steps from the official NVIDIA page, I wonder if you should update either the installation steps or the repository.
system
Closed
October 20, 2025, 11:39am
4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.