The package system is broken

Updating the software using Ubuntu’s software updater and got the following message:

The package system is broken:
Check if you are using third party repositories. If so disable them, since they are a common source of problems.
Furthermore run the following command in a Terminal: apt-get install -f
Transaction failed: The package system is broken
The following packages have unmet dependencies:

cuda-libraries-dev-10-2: Depends: libcublas-dev (>= 10.2.2.89) but it is not installed
cuda-samples-10-2: Depends: libcublas-dev (>= 10.2.2.89) but it is not installed
cuda-visual-tools-10-2: Depends: libcublas-dev (>= 10.2.2.89) but it is not installed

1 Like

hi @ed_sung ,

I am facing a similar issue on my tensorbook. It seems like the lambda stack’s installation is conflicting with the installation of libcublas-dev. Were you able to resolve this?

Here’s the error I am getting on running sudo apt --fix-broken install :

Unpacking libcublas-dev (10.2.2.89-1) ...
dpkg: error processing archive /var/cuda-repo-10-2-local-10.2.89-440.40/./libcublas-dev_10.2.2.89-1_amd64.deb (--unpack):
 trying to overwrite '/usr/include/cublas_v2.h', which is also in package nvidia-cuda-dev:amd64 10.0.130-0lambda3
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cuda-repo-10-2-local-10.2.89-440.40/./libcublas-dev_10.2.2.89-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Thanks!