来自https://manpages.debian.org/wheezy/multistrap/multistrap.1:
-不允许使用未经认证的存储库。与noauth=true相同
我从这个定义中了解到,multistrap不会尝试进行身份验证,因此可能会安装不安全的软件。
然而,情况似乎并非如此:设置noauth=true 引发以下错误:
Get:1 http://ftp.uk.debian.org/debian buster InRelease [122 kB]
Err:1 http://ftp.uk.debian.org/debian buster InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY DCC9EFBF77E11517
Reading package lists... Done
W: GPG error: http://ftp.uk.debian.org/debian buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY DCC9EFBF77E11517
E: The repository 'http://ftp.uk.debian.org/debian buster 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.
apt update failed. Exit value: 100有趣的是,设置noauth=false解决了问题。
noauth究竟是什么原因?
发布于 2020-09-11 16:26:54
你的理解是正确的。但是,多带中存在一个错误,因此它不能正确地配置apt来安装未经身份验证的软件包。debian报告#908451 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908451)中提供了对问题的描述和修复它的修补程序。
关于noauth=false的更多信息(即进行身份验证):
https://unix.stackexchange.com/questions/559014
复制相似问题