I'm using WSL 18.04 on windows 10, and I'm trying to install the following but I get errors:
sudo apt-get install tmux vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
tmux is already the newest version (2.6-3ubuntu0.2).
tmux set to manually installed.
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libcuinj64-9.1 : Depends: libcuda1 (>= 387.26) or
libcuda-9.1-1
vlc : Depends: vlc-bin (= 3.0.8-0ubuntu18.04.1) but it is not going to be installed
Depends: vlc-plugin-base (= 3.0.8-0ubuntu18.04.1) but it is not going to be installed
Depends: vlc-plugin-qt (= 3.0.8-0ubuntu18.04.1) but it is not going to be installed
Depends: vlc-plugin-video-output (= 3.0.8-0ubuntu18.04.1) but it is not going to be installed
Recommends: vlc-l10n (= 3.0.8-0ubuntu18.04.1) but it is not going to be installed
Recommends: vlc-plugin-notify (= 3.0.8-0ubuntu18.04.1) but it is not going to be installed
Recommends: vlc-plugin-samba (= 3.0.8-0ubuntu18.04.1) but it is not going to be installed
Recommends: vlc-plugin-skins2 (= 3.0.8-0ubuntu18.04.1) but it is not going to be installed
Recommends: vlc-plugin-video-splitter (= 3.0.8-0ubuntu18.04.1) but it is not going to be installed
Recommends: vlc-plugin-visualization (= 3.0.8-0ubuntu18.04.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
When I try to run apt --fix-broken install
, I get the following errors:
sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libnvidia-compute-525
The following NEW packages will be installed:
libnvidia-compute-525
0 upgraded, 1 newly installed, 0 to remove and 137 not upgraded.
5 not fully installed or removed.
Need to get 0 B/50.2 MB of archives.
After this operation, 234 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 89618 files and directories currently installed.)
Preparing to unpack .../libnvidia-compute-525_525.60.11-0ubuntu0.18.04.2_amd64.deb ...
Unpacking libnvidia-compute-525:amd64 (525.60.11-0ubuntu0.18.04.2) ...
dpkg: error processing archive /var/cache/apt/archives/libnvidia-compute-525_525.60.11-0ubuntu0.18.04.2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libnvidia-ml.so', which is also in package nvidia-340 340.108-0ubuntu0.18.04.1
Errors were encountered while processing:
/var/cache/apt/archives/libnvidia-compute-525_525.60.11-0ubuntu0.18.04.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Could someone advise on how to fix this? Thank you! :)