I'm trying to install Visual Studio Code on Ubuntu-Desktop 16.04 LTS with command
sudo dpkg -i code_1.27.2-1536736588_amd64.deb
but it has some dependencies:
code depends on libnss3 (>= 2:3.26); however:
Version of libnss3:amd64 on system is 2:3.21-1ubuntu4.
Then I run
sudo apt-get update
and have the problem in header of this question after that.I'm trying then:
sudo apt-get install libnss3
with result:
The following packages have unmet dependencies:
libnss3 : Depends:
libnspr4 (>= 2:4.12) but 2:4.11-1ubuntu1 is to be installed
libnss3-1d : Depends:
libnss3 (= 2:3.21-1ubuntu4) but 2:3.28.4-0ubuntu0.16.04.3 is to be installed
libnss3-nssdb : Depends:
libnss3 (= 2:3.21-1ubuntu4) but 2:3.28.4-0ubuntu0.16.04.3 is to be installed
How to rend this hell cycle?
UPDATE 21 Sep 2018
I'm trying with this command and get the same message about dependency libnss3:
sudo apt install snapd-xdg-open