丼's tech blog

2012/11/28~2023/12/21 間で運営していた「例のブログ」の後釜です。記事を抜粋してコッチに移植します。

【Ubuntu16.04】Chromeから「NSS_VersionCheck("3.26") failed」と怒られた忘備録

あらすじ

  こちらのサイト(Ubuntu 16.04 にGoogle Chromeをインストール | ロボット研究者の戯言
)の方法に従って Ubuntu 16.04 に Googole Chrome をインストールし,起動しようとしたら下記のようなエラーが出ました。*1

user@localhost:~$ google-chrome
[2437:2473:0910/230453.318934: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.
中止 (コアダンプ)


トラブルシューティング

  上記のエラーが出たあとに,あれー??おっかしいな~??といろいろ考えて,取り敢えず sudo apt-get update しとくか~と,アップデートしてみたら,またエラーが出ました。

user@localhost:~$ sudo apt-get update
取得:1 http:~なんとかかんとか
取得:2 http:~なんとかかんとか
取得:3 http:~なんとかかんとか

(クソ長いので中略)

Aborted (core dumped)
パッケージリストを読み込んでいます... 完了
E: Problem executing scripts APT::Update::Post-Invoke-Success (以下略)
E: Sub-process returned an error code


  で,上記のエラー「Problem executing scripts APT::Update::Post-Invoke-Success」でググッたところ,次のサイトがヒットしました。



解決方法

sekisuiseien.com

  先人の知恵に有り難やと感謝しつつ,こちらで紹介されている対処法を実行してもう一回 google-chrome を実行したら,何事もなかったかのように動いてくれました。ありがたや。

user@localhost:~$ cd /tmp && mkdir asfix
user@localhost:~$ cd asfix
user@localhost:~$ wget https://launchpad.net/ubuntu/+archive/primary/+files/appstream_0.9.4-1ubuntu1_amd64.deb
user@localhost:~$ wget https://launchpad.net/ubuntu/+archive/primary/+files/libappstream3_0.9.4-1ubuntu1_amd64.deb
user@localhost:~$ sudo dpkg -i *.deb

user@localhost:~$ google-chrome

*2


  Chromebookマンの僕にとって,Chromeブラウザが使えな状態というのはOSの機能の半分が使えない状態と同じです。いやー解決して良かった良かった。



f:id:teppodone:20170503152632p:plain
Chromebookの図



参考文献

*1:たぶん上記サイトの方法そのものが悪い訳ではありません,原因は恐らく別のとこにあります。

*2:E: Problem executing scripts エラーの解決 | 積水成淵日記,2017/09/27閲覧