[Package Request] - gpg-agent
What package is missing from Amazon Linux 2023? Please describe and include package name. gpg-agent
Is this an update to existing package or new package request? new package request
Is this package available in Amazon Linux 2? If it is available via external sources such as EPEL, please specify. yes
Any additional information you'd like to include. (use-cases, etc) basically to have gpg decryption / encryption support, it looks for gpg-agent, which is not existing, the newer ariflow has gpg 2.7.X where it requires gpg-agent though we are using python-gnupg, i trier pinetary bypass but that does not work and it still searches for gpg-agent
AL2023 comes with gnupg2-minimal only. If you want gpg-agent install gnupg2 package.
sudo dnf install --allowerasing gnupg2
You want to:
dnf swap gnupg2-minimal.x86_64 gnupg2.x86_64
FYI: under the hood dnf swap uses --allowerasing option to resolve package conflicts, so both commands mentioned above are doing exactly the same thing. Pick either one!
While it's great that there's a workaround, it really feels like a botch that this workaround is even needed. Seems like a fairly pointless deviation from how other, RPM-based distros do things.
We do this for gpg and curl as a way to keep the minimal images (and especially the container ones) smaller as the full versions carry quite a lot of dependencies that would bloat the base images needlessly.
It looks like future Fedora is going to try to address this differently by splitting the packages into a collection of subpackages... though I suspect that ship has sailed for us at least for AL2023.
This is not per-se a workaround. It's the documented approach. We install the minimal version by default which you can "swap" for the full one.