O erro que você está recebendo é:
dpkg: error processing archive /var/cache/apt/archives/cuda-cublas-9-1_9.1.85.3-1_amd64.deb (--unpack):
trying to overwrite '/usr/local/cuda-9.1/lib64', which is also in package cuda-cudart-9-1 9.1.85-1
O erro " tentando sobrescrever " implica que você tem pacotes conflitantes em seu sistema. Você pode tentar sobrescrever o pacote (pode ser um pouco arriscado)
sudo dpkg -i --force-overwrite /var/cache/apt/archives/cuda-cublas-9-1_9.1.85.3-1_amd64.deb You need to remove that package
Se isso não resolver, você pode remover o pacote e reinstalá-lo
sudo dpkg -P cuda-cublas