修復 'Origin'值從'Google, Inc.'改到了'Google LLC' 的 APT 錯誤
今天在執行sudo apt-get update
出現了下面的錯誤提示:
E: 倉庫'http://dl.google.com/linux/chrome/deb stable Release'將其'Origin'值從'Google, Inc.'修改到了'Google LLC' N: 為了讓這個倉庫能夠應用,這必須在更新之前顯式接受。更多細節請參閱 apt-secure(8) 手冊。 # 英語環境下的輸出 E: Repository ‘http://dl.google.com/linux/chrome-remote-desktop/deb stable Release’ changed its ‘Origin’ value from ‘Google, Inc.’ to ‘Google LLC’ N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
這個錯誤導致無法升級系統,錯誤說明了原因:是由於Google Chrome
的Origin
改變引起的,也給出瞭解決思路:手動接受這個改變。
所以修復這個錯誤就很容易了,只需執行:
sudo apt update
執行後會看到下面的提示:
E: 倉庫'http://dl.google.com/linux/chrome/deb stable Release'將其'Origin'值從'Google, Inc.'修改到了'Google LLC' N: 為了讓這個倉庫能夠應用,這必須在更新之前顯式接受。更多細節請參閱 apt-secure(8) 手冊。 您是否願意接受這些更改,並且繼續從此倉庫更新? [y/N] y # 英語環境下的輸出 E: Repository ‘http://dl.google.com/linux/chrome-remote-desktop/deb stable Release’ changed its ‘Origin’ value from ‘Google, Inc.’ to ‘Google LLC’ N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details. Do you want to accept these changes and continue updating from this repository? [y/N] y
此時輸入y
接受就可解決問題。