ubuantu18.0终端执行命令apt-get update 报错

问题描述如下:

W: 校验数字签名时出错。此仓库未被更新,所以仍然使用此前的索引文件。GPG 错误:http://dl.google.com/linux/chrome/deb stable Release: 由于没有公钥,无法验证下列签名: NO_PUBKEY 78BD65473CB3BD13
W: 无法下载 http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg  由于没有公钥,无法验证下列签名: NO_PUBKEY 78BD65473CB3BD13
W: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。

原因分析

Apparently Google changed key for Chrome Linux repo. You can fix it by importing new repo key from Google:
Now you should be able to update the system without any errors.

This works for APT-based distros: Debian, Ubuntu and derivatives (Linux Mint, Kubuntu, Xubuntu, Lubuntu, etc.)

For more info and a fix for RPM-based systems (Fedora, CentOS, openSUSE, etc.) see official 

##解决办法

方法一:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6494C6D6997C215E
方法二.
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

你可能感兴趣的:(ubuantu18.0终端执行命令apt-get update 报错)