0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

macOSでChromeがアップデートできなくなったので対処した

Posted at

macOS(Sonoma)の Chrome にて、下記のエラーが突然発生するようになりアップデートができなくなりました。
アップデートに失敗するだけで Chrome 本体に問題は見られません。

アップデート失敗時のエラー内容
An error occurred. (Error code: 9) (Extra code: 0)

Chrome を再インストールしても効果は無く、アップデート処理の初期段階ですぐにエラーが発生しているように見える事から下記を疑いました。

  • アップデートで使用するファイルが壊れたか、ロックファイルのような一時ファイル等が消えていない

そこで、アップデート処理のログを探したところ、~/Library/Application Support/Google/GoogleUpdater/updater.log ファイルを見つけました。

このファイルには次のような ERROR ログが出力されており、明らかにおかしな事になっているように見えます。

source エラーメッセージ
prefs.cc Failed to acquire GlobalPrefs
update_service_internal_proxy_posix.cc Failed to connect to UpdateServiceInternal remote. Connection timed out.
app_install.cc FetchPolicies failed: 35

更に、この GoogleUpdater ディレクトリには crx_cache という怪しげなディレクトリもあり、ここに原因があるような気がしました。

そこで、試しに以下を実施したところ、GoogleUpdater ディレクトリが新規に作られ、問題はあっさり解決しました。

  • ~/Library/Application Support/Google/GoogleUpdater を名前変更(mvコマンド)して Chrome を起動

その後、アップデートが何度か適用されましたが、特に問題は起きていません。

また、問題の起きていない GoogleUpdater ディレクトリに crx_cache は残っていない事を確認しています。

0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?