NO_PUBKEY failure when behind a proxy #36
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When running from my home machine (i.e., not behind a web proxy), mmdebstrap runs correctly, but at work, the same command errors out with several messages similar to:
The command invocation at work does include
--aptopt='Acquire::http::Proxy "http://web-proxy.XXX.net:8080/";'
. Any ideas what might be wrong?You are trying to create a Debian chroot on Ubuntu. This means that Ubuntu needs to know about recent Debian keyrings. Do you have a recent-enough
debian-archive-keyring
(or however it is called in Ubuntu) package installed?You can try out if the problem is specific to mmdebstrap or specific to your apt installation by running this script from the mmdebstrap man page: https://manpages.debian.org/unstable/mmdebstrap/mmdebstrap.1.en.html#OPERATION
You only need the first part:
Then run this as
sudo ./ministrap.sh bullseye rootdir
. What is the output?Notes:
debian-archive-keyring
Thank you! Since you were able to reproduce the problem without mmdebstrap, the problem is not mmdebstrap but the keys that apt has access to. I see that you have /usr/share/keyrings/debian-archive-bullseye-stable.gpg but is apt actually making use of those? What is inside your
/etc/apt/trusted.gpg.d
?The
debian-archive-keyring
README file says:After linking the keyring
the
NO_PUBKEY
error goes away, but the script doesn't complete successfully:Does your mmdebstrap invocation work now?
It does! Thank you for helping me sort through this!