Ubuntu 14.04 桌面上的 Google Chrome 无法运行,使用持久数据库初始化 NSS 时出错

Ubuntu 14.04 桌面上的 Google Chrome 无法运行,使用持久数据库初始化 NSS 时出错

以前,我sudo apt-get dist-upgrade从终端执行 OS,之后 google-chrome-stable 无法运行。

我已经在本地重新安装了 google-chrome-stable,但是运行 google-chrome-stable 时仍然出错。

这里运行时出错google-chrome-稳定版

$ sudo google-chrome-stable 
[4698:4698:0731/160305:ERROR:nss_util.cc(712)] Error initializing NSS with a persistent database (sql:/home/sts/.pki/nssdb): libsoftokn3.so: cannot open shared object file: No such file or directory
[4698:4698:0731/160305:ERROR:nss_util.cc(207)] Error initializing NSS without a persistent database: NSS error code: -5925
[4698:4698:0731/160305:FATAL:nss_util.cc(209)] nss_error=-5925, os_error=0

我已经读过链接了,但是没有解决我的问题-_-

Google Chrome 错误:初始化 NSS 时出错,没有持久数据库

Google Chrome:在没有持久数据库的情况下初始化 NSS 时出错

能帮我解决这个问题吗?非常感谢您的帮助。

答案1

对我有用的是 IKW 管理员提供的https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483774

创建这两个符号链接:

sudo ln -s /usr/lib/nss/libsoftokn3.so /usr/lib/libsoftokn3.so
sudo ln -s /usr/lib/nss/libnssdbm3.so /usr/lib/libnssdbm3.so

现在至少我可以启动并运行 Chromium。但我仍然没有陷入困境。现在 Chromium 100% 不信任 SSL 证书,并显示错误消息

错误:cert_verify_proc_nss.cc(974)] update.googleapis.com 的 CERT_PKIXVerifyCert 失败 err=-8179

答案2

我发现在我的 Ubuntu 上,libnss3-nssdb 已被删除,而 libnss3 已在部分升级中升级sudo apt-get dist-upgrade

libnss3-nssdb 依赖于 libnss3

现在我尝试安装 libnss3-nssdb:

$ sudo apt-get install libnss3-nssdb
...............................................
The following packages have unmet dependencies:
libnss3-nssdb : Depends: libnss3 (= 2:3.15.4-1ubuntu7) but 2:3.26.2-0ubuntu0.12.04.1 is to be installed
E: Unable to correct problems, you have held broken packages.

安装时却收到损坏的软件包libnss3-nssdb

E:无法纠正问题,您持有破损的包裹。

现在,将 libnss3-nssdb 版本降级为2: 3.15.4-1ubuntu7

sudo apt install libnss3=2:3.15.4-1ubuntu7

降级后,我可以在本地运行 chrome 应用程序。

这对我有用。

相关内容