I have this distrobox container which is running arch. Time to time, when I update the container, I often confront a pacman error due to some GPG credentials related issues, and the update just halts.
Indeed, there is a solution involving updating GPG keys, which does work. However, having to look it up every time I have the issue is not ideal. I want to fix this one once-and-for-all.
Do you guys happen to know the core reason of this behavior? Is this happening due to incorrect setup, or is it a characteristics of Arch? How can I fix this issue (semi-)permanently? Thanks in advance!
If you weren’t aware,
distrobox
is just a wrapper forpodman
. This isn’t something I know a ton about, but you might look at the manual and Podman Desktop and see if there’s some setting you should be passing to your container. Maybe it’s trying to utilize the host dbus or access a keyring that doesn’t exist within the container.The other two options are to write a note somewhere with the fix or write an executable bash script you can just call inside the container.