在ubuntu16.04系統中安裝chrome瀏覽器,按照如下步驟:
sudo wget http://www.linuxidc.com/files/repo/google-chrome.list -P /etc/apt/sources.list.d/
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo apt-get update
sudo apt-get install google-chrome-stable
打開chrome
/usr/bin/google-chrome-stable
參考:https://www.jianshu.com/p/75c71b00b237
然後打開chrome軟件,發現無法登錄,也無法使用,並且在終端中輸出如下信息:
/usr/bin/google-chrome-stable
[15846:15872:1022/162211.014603:FATAL:nss_util.cc(655)] 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.
[15946:15950:1022/162212.421948:FATAL:nss_util.cc(655)] 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.
解決辦法:
sudo apt-get install libnss3
sudo apt-get update
if you have google chrome installed then run it
google-chrome
or install it again
參考:https://stackoverflow.com/questions/46126902/fix-nss-version-not-match-when-update-chrome-in-ubuntu