this post was submitted on 21 Jan 2025
15 points (100.0% liked)

Linux

5756 readers
435 users here now

A community for everything relating to the linux operating system

Also check out [email protected]

Original icon base courtesy of [email protected] and The GIMP

founded 2 years ago
MODERATORS
 

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!

top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 3 points 1 week ago* (last edited 1 week ago)
[โ€“] [email protected] 1 points 1 week ago

If you weren't aware, distrobox is just a wrapper for podman. 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.