sudo apt update时,有关bazel报错

执行sudo apt update时,出现有关bazel的报错:

Get:11 http://storage.googleapis.com/bazel-apt stable InRelease [2,256 B]                                                                                                           
Err:11 http://storage.googleapis.com/bazel-apt stable InRelease                                                                                                                     
  The following signatures were invalid: EXPKEYSIG 3D5919B448457EE0 Bazel Developer (Bazel APT repository key) 
Hit:12 http://archive.ubuntu.com/ubuntu bionic InRelease                                                                                                                            
Hit:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic InRelease                                                        
Hit:14 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates InRelease
Hit:15 http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu bionic InRelease
Hit:16 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports InRelease
Hit:17 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security InRelease                          
Hit:18 http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu bionic InRelease          
Reading package lists... Done 
Building dependency tree       
Reading state information... Done
607 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://storage.googleapis.com/bazel-apt stable InRelease: The following signatures were invalid: EXPKEYSIG 3D5919B448457EE0 Bazel Developer (Bazel APT repository key) 
W: Failed to fetch http://storage.googleapis.com/bazel-apt/dists/stable/InRelease  The following signatures were invalid: EXPKEYSIG 3D5919B448457EE0 Bazel Developer (Bazel APT repository key) 
W: Some index files failed to download. They have been ignored, or old ones used instead.

因为之前是安装tensorflow的时候安装的bazel,现在我没有用tensorflow了,可以把bazel去除掉

解决方法:

打开Software&Updates,把 bazel的网址勾选去除

sudo apt update时,有关bazel报错_第1张图片

问题解决,重新sudo apt update没有报错

你可能感兴趣的:(Ubuntu)