运行 apt-get update 时出现以下错误(Ubuntu):
Hit:1 http://dk.archive.ubuntu.com/ubuntu eoan InRelease
Hit:2 http://dk.archive.ubuntu.com/ubuntu eoan-updates InRelease
Get:3 http://security.ubuntu.com/ubuntu eoan-security InRelease [97.5 kB]
Hit:4 http://dk.archive.ubuntu.com/ubuntu eoan-backports InRelease
Get:5 http://storage.googleapis.com/tensorflow-serving-apt stable InRelease [3,012 B]
Ign:6 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:7 http://dl.google.com/linux/chrome/deb stable Release
Err:5 http://storage.googleapis.com/tensorflow-serving-apt stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 544B7F63BF9E4D5F
Reading package lists... Done
W: GPG error: http://storage.googleapis.com/tensorflow-serving-apt stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 544B7F63BF9E4D5F
E: The repository 'http://storage.googleapis.com/tensorflow-serving-apt stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
我已经尝试按照其他帖子中的说明添加丢失的公钥。但没用。现在我想删除并(可能)重新安装有问题的(Tensorflow?)模块。但是,我不知道如何识别要卸载的模块的名称。
我已经尝试过例如“apt list | grep -i tensor”,但我似乎无法找出要用“apt-get remove”命令删除的模块的名称。
任何人? :)
答案1
好吧,我并没有完全弄清楚如何通过运行以下命令来摆脱“模块”:
echo "deb [arch=amd64] http://storage.googleapis.com/tensorflow-serving-apt stable tensorflow-model-server tensorflow-model-server-universal" | sudo tee /etc/apt/sources.list.d/tensorflow-serving.list && curl https://storage.googleapis.com/tensorflow-serving-apt/tensorflow-serving.release.pub.gpg | sudo apt-key add -
在 tensorflow 文档中有描述https://www.tensorflow.org/tfx/serving/setup,我至少摆脱了错误:o)