Doca Installation error

Following NVIDIA DOCA Installation Guide for Linux - NVIDIA Docs , to install the host software,
After downloading .deb file for Ubuntu 22.04, sudo dpkg -i <.deb>, update, and install rshim, when executing sudo apt install -y doca-all mlnx-fw-updater, there is error:

sudo apt install -y doca-all mlnx-fw-updater
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 doca-runtime : Depends: openvswitch-switch (= 2.17.8-1) but 2.17.9-0ubuntu0.22.04.1 is to be installed

I am using Ubuntu 22.04 on WSL2. How to fix it?

1 Like

Hi

It seems like there’s a dependency conflict with the doca-runtime package. It requires openvswitch-switch version 2.17.8-1, but the version available for installation is 2.17.9-0ubuntu0.22.04.1.

You can try resolving this by downgrading openvswitch-switch to 2.17.8-1 using the apt package manager.

If the issue still persists or any other issues arise, please open a case at: enterprisesupport@nvidia.com, and it will be handled according to entitlement.

Best Regards,
Jonathan.

Same question. Whatever I used the sdkmanager or sdkmanager over Docker. Below is my attempt to solve this question:

First, go to the ovs, download the 2.17.8-1 Release.
Second, follow ovs/Documentation/intro/install/debian.rst at v2.17.8 · openvswitch/ovs · GitHub to complie ovs and generate .deb packages.
Third, use apt install these .deb packages.

However, I subsequently got an error about cannot install the openvswitch-ipsec, and I have no idea to solve. Anyway, I retry to use sdkmanager to install DOCA, but still has error.

I am wondering that if the openvswitch-ipsec is necessary. It helps me to further locate the issue.
My OS is ubuntu 22.04.4, with 5.15 kernel.

UPDATE
After manually compiling and installing openvswitch-common and openvswitch-switch (v2.17.8-1), I have successfully installed the DOCA runtime. One more thind I did is remove all other kernel version expect the 5.15.

Then, another issus arises. The bluefield try to ping nvidia.com and it failed. I have try to ping nvidia.com on the host, also failed. I think it is not a networking issue but is a DNS issue, because I can ping the google.com on the BlueField.

Since the ping is failed, I cannot to continue for the installation.

Attach the photo for the “network issus” above: