前幾天更新時,Google Chrome 發生更新失敗。之前也沒有碰過,先把它略過,再找時間處理。這幾天剛好有空,就試試看能否找出發生了什麼問題。
請參考另一篇發文:解決「在 Fedora 更新 Chrome 失敗」問題(二),
本篇留做備用方法。
在終端機中下達更新命令,出現如下的錯誤訊息:
[root@Celeron-D ~]# yum update google-chrome
Loaded plugins: langpacks
google-chrome | 951 B 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package google-chrome-stable.x86_64 0:39.0.2171.95-1 will be updated
---> Package google-chrome-stable.x86_64 0:39.0.2171.99-1 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
===========================================================
Package Arch Version Repository Size
===========================================================
Updating:
google-chrome-stable x86_64 39.0.2171.99-1 google-chrome 58 M
Transaction Summary
===========================================================
Upgrade 1 Package
Total size: 58 M
Is this ok [y/d/N]: y
Downloading packages:
警告:/var/cache/yum/x86_64/21/google-chrome/packages/google-chrome-stable-39.0.2171.99-1.x86_64.rpm: 表頭 V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY
Public key for google-chrome-stable-39.0.2171.99-1.x86_64.rpm is not installed
由訊息末端可以判斷,應該是某個『認證金鑰』出了問題。猜測可能是 YUM 更新後,對『認證金鑰』的處理不同所致。只好重新再執行一次前文『
在 Fedora 快速安裝 Chrome 的方法』的步驟,
[root@Celeron-D ~]# yum install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
Loaded plugins: langpacks
google-chrome-stable_current_x86_64.rpm | 58 MB 00:01:37
Examining /var/tmp/yum-root-mHeVUY/google-chrome-stable_current_x86_64.rpm: google-chrome-stable-39.0.2171.99-1.x86_64
Marking /var/tmp/yum-root-mHeVUY/google-chrome-stable_current_x86_64.rpm as an update to google-chrome-stable-39.0.2171.95-1.x86_64
Resolving Dependencies
--> Running transaction check
---> Package google-chrome-stable.x86_64 0:39.0.2171.95-1 will be updated
---> Package google-chrome-stable.x86_64 0:39.0.2171.99-1 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
============================================================
Package Arch Version Repository Size
============================================================
Updating:
google-chrome-stable x86_64 39.0.2171.99-1 /google-chrome-stable_current_x86_64 174 M
Transaction Summary
============================================================
Upgrade 1 Package
Total size: 174 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction (shutdown inhibited)
Updating : google-chrome-stable-39.0.2171.99-1.x86_64 1/2
Redirecting to /bin/systemctl start atd.service
Cleanup : google-chrome-stable-39.0.2171.95-1.x86_64 2/2
Verifying : google-chrome-stable-39.0.2171.99-1.x86_64 1/2
Verifying : google-chrome-stable-39.0.2171.95-1.x86_64 2/2
Updated:
google-chrome-stable.x86_64 0:39.0.2171.99-1
Complete!
由上面的訊息可以看到,Google Chrome 成功更新到最新版。
已測試版本:
沒有留言:
張貼留言
感謝你耐心看完本文,歡迎留下任何指正、建議,筆者會儘快回應。(English is also welcome.)