2017-06-24 32 views
0

幾個月前我試過安裝docker雲,但我刪除了它。現在我已經從Jessie更新到Debian Stretch,並且當我通過「apt-get update」進行更新並且不知道如何解決它時,出現此錯誤。任何人都可以提供幫助嗎?謝謝!Debian Stretch升級:卸載Docker雲,仍在apt列表

sudo apt-get update 
Get:1 http://debian.mirrors.ovh.net/debian stretch-updates InRelease 
Ign:2 http://debian.mirrors.ovh.net/debian stretch InRelease 
Get:3 http://repo.cloud.docker.com/ubuntu dockercloud InRelease [1,383 B] 
Get:4 http://debian.mirrors.ovh.net/debian stretch Release 
Hit:5 https://deb.nodesource.com/node_6.x jessie InRelease 
Hit:6 https://apt.dockerproject.org/repo debian-stretch InRelease 
Hit:7 http://security.debian.org stretch/updates InRelease 
Ign:8 http://download.draios.com/stable/deb stable-amd64/ InRelease 
Hit:9 http://download.draios.com/stable/deb stable-amd64/ Release 
Ign:3 http://repo.cloud.docker.com/ubuntu dockercloud InRelease 
Fetched 203 kB in 0s (247 kB/s) 
Reading package lists... Done 
W: GPG error: http://repo.cloud.docker.com/ubuntu dockercloud InRelease: The following signatures were invalid: 278FE7333CFF7F8B60B677E85DD27147EF170D1C 
W: The repository 'http://repo.cloud.docker.com/ubuntu dockercloud InRelease' is not signed. 
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. 
N: See apt-secure(8) manpage for repository creation and user configuration details. 

回答

1
W: GPG error: http://repo.cloud.docker.com/ubuntu dockercloud InRelease: The following signatures were invalid: 278FE7333CFF7F8B60B677E85DD27147EF170D1C 
W: The repository 'http://repo.cloud.docker.com/ubuntu dockercloud InRelease' is not signed. 

其實這是一個警告不是錯誤。 看起來你的SourcesList中的某個地方(例如/etc/apt/sources.list)你還有一個docker repo。

$ sudo grep -w "docker.com" /etc/apt/*.* 

將顯示碼頭的網址在哪裏。如果你不再需要它,只需評論這一行。

那麼,如果你仍然需要碼頭這link可能會有所幫助。