amazonlinux / amazon-linux-2023

Amazon Linux 2023
https://aws.amazon.com/linux/amazon-linux-2023/
Other
500 stars 38 forks source link

[Bug] - Bad symlink in gnupg2-minimal package, invalid target. #650

Closed elsaco closed 3 months ago

elsaco commented 3 months ago

Describe the bug gnupg2-minimal has dangling symlink, points to invalid target.

To Reproduce Steps to reproduce the behavior:

  1. Deploy latest AL2023 instance
  2. Try building a source package
  3. Build fails with gpgverify: Signature verification failed

Additional context

[ec2-user] ~$ readlink /usr/bin/gpgv2
gpgv
[ec2-user] ~$ ls -l /usr/bin/gpgv2
lrwxrwxrwx. 1 root root 4 Jun  5  2023 /usr/bin/gpgv2 -> gpgv
/usr/lib/rpm/redhat/gpgverify: line 101: gpgv2: command not found
gpgverify: Signature verification failed.
error: Bad exit status from
daniejstriata commented 3 months ago

This is a duplicate of #414

elsaco commented 3 months ago

@daniejstriata dup indeed, closing.

Quick workaround is to install gnupg2 package: dnf install --allowerasing gnupg2