Can't launch google-chrome-stable. Getting Out of date NSS (Libnss3)
I can't seem to open google-chrome-stable
. When I attempt to launch the application I get the following:
[7465:7499:0911/174740.042852:FATAL:nss_util.cc(632)] NSS_VersionCheck("3.26") failed. NSS >= 3.26 is required. Please upgrade to the latest NSS, and if you still get this error, contact your distribution maintainer.
Aborted
I have run the following commands to fix:
sudo apt-get-upgrade
sudo apt-get dist-upgrade
sudo apt-get update
sudo apt-get install libnss3
(That says I have the newest version.)
Here is what I get when I run sudo apt-cache policy libnss3
:
libnss3:
Installed: 2:3.19.2.1-0ubuntu0.15.04.2
Candidate: 2:3.19.2.1-0ubuntu0.15.04.2
Version table:
*** 2:3.19.2.1-0ubuntu0.15.04.2 0
I have uncommented everything in /etc/apt/source.list
.
Solution 1:
If you are running 15.10 and below, the proper way is to upgrade the distro. However if you need to stick to your current version for whatever reason, here is what I have done.
I have force install the libnss3 from the upgraded version .deb file along with a dependency requirements.
Here is the dependency
sudo dpkg -i libnspr4_4.13.1-0ubuntu0.16.10.1_amd64.deb
from http://launchpadlibrarian.net/317146464/libnspr4_4.13.1-0ubuntu0.16.10.1_amd64.deb
Then, install the libnss3
sudo dpkg -i libnss3_3.26.2-1ubuntu1_amd64.deb
from http://launchpadlibrarian.net/295856174/libnss3_3.26.2-1ubuntu1_amd64.deb
You still need to install one more, libnss3-nssdb, which is required for the Chrome as well
sudo dpkg --force-all -i libnss3-nssdb_3.26.2-0ubuntu0.16.04.2_all.deb
from http://launchpadlibrarian.net/296542005/libnss3-nssdb_3.26.2-0ubuntu0.16.04.2_all.deb
=====
I have taken the precaution by backing up these packages from system before installing the upgraded version in case something break and I cannot find the original .deb. In my case, I cannot find the deb for libnss3-nssdb
sudo apt-get install dpkg-repack
sudo dpkg-repack libnss3-nssdb
Solution 2:
I had the same problem. This solved it.
sudo apt-get update && sudo apt-get install libnss3