Vpi-demos install error

Setting up vpi1-demos (1.0.15) …
ln: failed to create symbolic link ‘/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop/applications/vpi1_demos’: No such file or directory

how to solve this issue?

looks like the deb script below cause this error.

    vpi_apps_dir=/opt/nvidia/vpi1/share/applications
    xdgdatadirs=${XDG_DATA_DIRS:=/usr/share}

    ......

    ln -sf $vpi_apps_dir/demos $xdgdatadirs/applications/vpi1_demos

because the XDG_DATA_DIRS on my environment is /usr/share/ubuntu:/usr/share:/usr/local/share
line : ln -sf $vpi_apps_dir/demos $xdgdatadirs/applications/vpi1_demos
will extend to : ln -sf /opt/nvidia/vpi1/share/applications/demos /usr/share/ubuntu:/usr/share:/usr/local/share/applications/vpi1_demos

this may need to be fixed in the package, I am curious am I the only one face this issue??

Hi,

Seems the script force the xdgdatadirs to be /usr/share.
So it should create a symbolic link in /usr/share/vpi1.

We are going to double-check this issue.
Will share more information with you later.

Thanks.

Hi,

We have verified the installation for VPI x86 pacakge.
The installation works well on both Ubuntu 16.04 and 18.04 host.

Thanks.