1. 程式人生 > >Linux下Chrome或Chromium出現“Your profile could not be opened correctly”解決方法

Linux下Chrome或Chromium出現“Your profile could not be opened correctly”解決方法

當你的Chrome上出現下圖的" Your profile could not be opened correctly"錯誤資訊時,可能是因為你的Chrome配置檔案資料已經損壞。這個問題經常發生在手動升級Google Chrome的時候。
解決該問題取決於到底哪個檔案損壞,你可以試試下面的幾個方法。如果是Chromium,要將"google-chrome"換成"chromium"。 方法一 關掉所有Chrome視窗和標籤頁。 進入~/.config/google-chrome/Default,移除或者重新命名"Web Data"檔案,相應命令如下:
$ cd ~/.config/google-chrome/Default
$ rm "Web Data"
方法二 關掉所有Chrome視窗和標籤頁。 進入~/.config/google-chrome/"Profile 1",重新命名"History"檔案,相應命令如下:
$ cd ~/.config/google-chrome/"Profile 1"
$ mv History History.bak
方法三 如果依然沒有解決,你可以試試移除所有預設配置資料夾(~/.config/google-chrome/Default)。注意,如果這樣做,你將會遺失所有之前開啟的Google標籤、匯入的書籤,瀏覽記錄和登入資料等。 在移除之前,先關掉所有Chrome視窗和標籤頁,相應命令如下:
$ rm -rf ~/.config/google-chrome/Default
之後重啟Google Chrome,資料夾~/.config/google-chrome/Default會自動生成。