nownab.log

nownabe's daily posts

Ubuntuでapt-get updateができなくなった

Posted on Nov 7, 2018

こんなかんじ。

$ sudo apt-get update                                                                                                              
Hit:1 http://archive.ubuntulinux.jp/ubuntu bionic InRelease                                                                  
Hit:2 http://archive.ubuntulinux.jp/ubuntu-ja-non-free bionic InRelease
Get:3 https://nvidia.github.io/libnvidia-container/ubuntu18.04/amd64  InRelease [1,139 B]
Get:4 https://nvidia.github.io/nvidia-container-runtime/ubuntu18.04/amd64  InRelease [1,136 B]
Hit:5 http://jp.archive.ubuntu.com/ubuntu bionic InRelease
Get:6 https://nvidia.github.io/nvidia-docker/ubuntu18.04/amd64  InRelease [1,129 B]
Ign:7 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:8 http://jp.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:9 http://jp.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:10 http://dl.google.com/linux/chrome/deb stable Release [943 B]
Err:3 https://nvidia.github.io/libnvidia-container/ubuntu18.04/amd64  InRelease
  The following signatures were invalid: EXPKEYSIG C45B1676A04EA552 NVIDIA CORPORATION (Open Source Projects) <[email protected]>
Err:4 https://nvidia.github.io/nvidia-container-runtime/ubuntu18.04/amd64  InRelease
  The following signatures were invalid: EXPKEYSIG C45B1676A04EA552 NVIDIA CORPORATION (Open Source Projects) <[email protected]>
Hit:11 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:12 http://ppa.launchpad.net/zanchey/asciinema/ubuntu bionic InRelease
Get:13 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B]
Err:6 https://nvidia.github.io/nvidia-docker/ubuntu18.04/amd64  InRelease
  The following signatures were invalid: EXPKEYSIG C45B1676A04EA552 NVIDIA CORPORATION (Open Source Projects) <[email protected]>
Hit:15 https://download.docker.com/linux/ubuntu bionic InRelease
Hit:16 http://packages.microsoft.com/repos/vscode stable InRelease
Hit:14 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://nvidia.github.io/libnvidia-container/ubuntu18.04/amd64
InRelease: The following signatures were invalid: EXPKEYSIG C45B1676A04EA552 NVIDIA CORPORATION (Open Source Projects) <[email protected]>
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://nvidia.github.io/nvidia-container-runtime/ubuntu18.04/am
d64  InRelease: The following signatures were invalid: EXPKEYSIG C45B1676A04EA552 NVIDIA CORPORATION (Open Source Projects) <[email protected]>
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://nvidia.github.io/nvidia-docker/ubuntu18.04/amd64  InRele
ase: The following signatures were invalid: EXPKEYSIG C45B1676A04EA552 NVIDIA CORPORATION (Open Source Projects) <[email protected]>
E: Repository 'http://dl.google.com/linux/chrome/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.

Nvidiaとchromeのレポジトリがあれっぽい。

nvidia-dockerの方はGPG Keyを追加しなおす。

$ curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add -
OK

Chromeの方はこう。

$ sudo apt update
Hit:1 http://archive.ubuntulinux.jp/ubuntu bionic InRelease
Hit:2 http://archive.ubuntulinux.jp/ubuntu-ja-non-free bionic InRelease                                                                                                                                    
Hit:3 http://jp.archive.ubuntu.com/ubuntu bionic InRelease                                                                                                                                                 
Hit:4 http://jp.archive.ubuntu.com/ubuntu bionic-updates InRelease                                                                                                                                         
Hit:5 http://jp.archive.ubuntu.com/ubuntu bionic-backports InRelease                                                                                                                                       
Get:6 https://nvidia.github.io/libnvidia-container/ubuntu18.04/amd64  InRelease [1,139 B]                                                                                                                  
Ign:7 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                                               
Get:8 https://nvidia.github.io/nvidia-container-runtime/ubuntu18.04/amd64  InRelease [1,136 B]                                                                                                             
Get:9 https://nvidia.github.io/nvidia-docker/ubuntu18.04/amd64  InRelease [1,129 B]                                                                                                                        
Hit:10 http://packages.microsoft.com/repos/vscode stable InRelease                                                                                                                                         
Hit:11 https://download.docker.com/linux/ubuntu bionic InRelease                                                                                                    
Get:12 http://dl.google.com/linux/chrome/deb stable Release [943 B]                                                                           
Get:13 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B]                                                 
Hit:14 http://ppa.launchpad.net/zanchey/asciinema/ubuntu bionic InRelease                                                          
E: Repository 'http://dl.google.com/linux/chrome/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
Hit:15 http://security.ubuntu.com/ubuntu bionic-security InRelease                                              
Get:17 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,130 B]   
Hit:16 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease                 
Fetched 5,353 B in 5s (1,007 B/s)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
93 packages can be upgraded. Run 'apt list --upgradable' to see them.