After removing all nvidia-related packages from a computer running 18.04, I tried
$ sudo ubuntu-drivers autoinstall
and everything installed with no errors.
Looking at the error:
dpkg: error processing archive /tmp/apt-dpkg-install-x8YVfC/03-libnvidia-compute-390_390.48-0ubuntu2_i386.deb (--unpack):
trying to overwrite shared '/etc/OpenCL/vendors/nvidia.icd', which is different from other instances of package libnvidia-compute-390:i386
Did you have nvidia drivers installed in the past?
After removing all nvidia-related packages from a computer running 18.04, I tried
$ sudo ubuntu-drivers autoinstall
and everything installed with no errors.
Looking at the error:
dpkg: error processing archive /tmp/apt- dpkg-install- x8YVfC/ 03-libnvidia- compute- 390_390. 48-0ubuntu2_ i386.deb (--unpack): vendors/ nvidia. icd', which is different from other instances of package libnvidia- compute- 390:i386
trying to overwrite shared '/etc/OpenCL/
Did you have nvidia drivers installed in the past?