在您的32位Linux上重新獲得Google Chrome支持

ubuntu上的chrome

正如Google在XNUMX月宣布的那樣, Google Chrome對32位Linux系統的支持已停止 同一個月。 建議所有繼續使用此應用程序的用戶停止這樣做,因為儘管他們將繼續能夠運行該應用程序,但他們將不會再收到任何更新,包括必要的安全補丁程序。

另一方面,應用程序 似乎仍支持32位的Chromium 在Linux系統上,可以被認為是這種情況的替代方案。 但是,由於不再存在用於32位軟件包的官方Google Chrome存儲庫,因此具有64位系統的用戶以及使用該版本應用程序的用戶 嘗試更新軟件包時將收到錯誤消息。 幸運的是,它有一個簡單的解決方案。

如果您在Ubuntu x32系統上使用64位Chrome,那麼當您嘗試更新此應用程序的軟件包時,將收到以下消息:

Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release
Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file) Some index files failed to download. They have been ignored, or old ones used instead.

解決這個小問題 error 在Ubuntu中,這非常簡單 您只需要在文件中編輯一小行 /etc/apt/sources.list.d/google-chrome.list。 只需在“ deb”部分之後添加文本“ [arch = amd64]”或使用以下命令:

sudo sed -i -e 's/deb http/deb [arch=amd64] http/' "/etc/apt/sources.list.d/google-chrome.list"

每次更新都會還原以前的文件 可以使用該程序完成操作,因此,如果您不想像以前一樣重複執行上述步驟,建議您將+ i屬性添加到文件中 一成不變的。 為此,請在其上執行以下指令:

</p>
<p class="source-code">sudo chattr -i /etc/apt/sources.list.d/google-chrome.list</p>
<p class="source-code">