Ubuntu 18.04.1 & Cuda 10.1 issue

Ok, I´ve created this topic separately, because it´s an Ubuntu issue, so maybe there will be more people with the same bug, so they can find it easier.
I was searching for it and found this (probably solution) on devtalk:
https://devtalk.nvidia.com/default/topic/1048021/error-depends-libcublas-dev-gt-10-1-0-105-but-it-is-not-installed-ubuntu-18-04/
Please, if you guys made a successful install of Cuda Toolkit on Ubuntu and you went through this issues, please draw some tips on how to solve it correctly.

Here is the part from my Ubuntu terminal:
Preparing to unpack …/86-nvidia-prime_0.8.8.2_all.deb …
Unpacking nvidia-prime (0.8.8.2) …
Errors were encountered while processing:

  • /tmp/apt-dpkg-install-mvOnSP/30-libcublas-dev_10.1.0.105-1_amd64.deb*
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    ----------------------------------------------------------------------------
    The following packages have unmet dependencies:
  • cuda-libraries-dev-10-1 : Depends: libcublas-dev (>= 10.1.0.105) but it is not installed*
  • cuda-samples-10-1 : Depends: libcublas-dev (>= 10.1.0.105) but it is not installed*
  • cuda-visual-tools-10-1 : Depends: libcublas-dev (>= 10.1.0.105) but it is not installed*
    E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).
    E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
    E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

following the last tip from devtalk :
sudo dpkg -i --force-overwrite /var/cache/apt/archives/nvidia-418_418.39-0ubuntu1_amd64.deb

it gives me this :

Unpacking libcublas-dev (10.1.0.105-1) …
dpkg: error processing archive /var/cuda-repo-10-1-local-10.1.105-418.39/./libcublas-dev_10.1.0.105-1_amd64.deb (–unpack):

  • trying to overwrite ‘/usr/include/cublas_v2.h’, which is also in package nvidia-cuda-dev 9.1.85-3ubuntu1*
    dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
    Errors were encountered while processing:
  • /var/cuda-repo-10-1-local-10.1.105-418.39/./libcublas-dev_10.1.0.105-1_amd64.deb*
    E: Sub-process /usr/bin/dpkg returned an error code (1)