升级到 Ubuntu 16.04 后 Chrome 和 Chromium 都无法启动

升级到 Ubuntu 16.04 后 Chrome 和 Chromium 都无法启动

几天前,我将系统从 Ubuntu 14.04 升级到 Ubuntu 16.04,此后 Chrome 和 Chromium 都无法启动(安装时没有出现任何错误/问题)。以下是执行两个命令运行每个应用程序的结果:

chromium-browser

Using PPAPI flash.
[4725:4763:0814/235026:ERROR:nss_util.cc(740)] Error initializing NSS with a persistent database (sql:/home/ali/.pki/nssdb): libsoftokn3.so: cannot open shared object file: No such file or directory
[4725:4763:0814/235026:ERROR:nss_util.cc(211)] Error initializing NSS without a persistent database: NSS error code: -5925
[4725:4763:0814/235026:FATAL:nss_util.cc(213)] nss_error=-5925, os_error=0
#0 0x7ff6474a3dee base::debug::StackTrace::StackTrace()
#1 0x7ff6474c242e logging::LogMessage::~LogMessage()
#2 0x7ff64375c066 <unknown>
#3 0x7ff64375c3b0 crypto::EnsureNSSInit()
#4 0x7ff6513dcb95 net::CertDatabase::GetInstance()
#5 0x7ff651494ace net::MultiThreadedCertVerifier::MultiThreadedCertVerifier()
#6 0x55d1e722e8d3 <unknown>
#7 0x7ff64ef14f3e content::BrowserThreadImpl::Init()
#8 0x7ff64ef1445f content::BrowserProcessSubThread::Init()
#9 0x7ff647506abd base::Thread::ThreadMain()
#10 0x7ff647502050 <unknown>
#11 0x7ff63bf176fa start_thread
#12 0x7ff63bc4db5d clone

Aborted (core dumped)

google-chrome

[4778:4811:0814/235057:ERROR:nss_util.cc(744)] Error initializing NSS with a persistent database (sql:/home/ali/.pki/nssdb): libsoftokn3.so: cannot open shared object file: No such file or directory
[4778:4811:0814/235057:ERROR:nss_util.cc(212)] Error initializing NSS without a persistent database: NSS error code: -5925
[4778:4811:0814/235057:FATAL:nss_util.cc(214)] nss_error=-5925, os_error=0
Aborted (core dumped)

答案1

根据您提供的记录,libnss3找不到动态库。以下方法应该可以解决该问题:

sudo apt-get update
sudo apt-get install libnss3

答案2

解决方法:

sudo apt-get dist-upgrade

相关内容