1. The problem I’m having:
When attempting to update the Caddy package on Fedora 41, I am receiving the following error:
Transaction failed: Signature verification failed.
OpenPGP check for package "caddy-2.9.0-1.fc41.x86_64" (/var/cache/libdnf5/copr:copr.fedorainfracloud.org:group_caddy:caddy-3cb22e1f0b8f9807/packages/caddy-2.9.0-1.fc41.x86_64.rpm) from repo "copr:copr.fedorainfracloud.org:group_caddy:caddy" has failed: Problem occurred when opening the package.
2. Error messages and/or full log output:
Transaction failed: Signature verification failed.
OpenPGP check for package "caddy-2.9.0-1.fc41.x86_64" (/var/cache/libdnf5/copr:copr.fedorainfracloud.org:group_caddy:caddy-3cb22e1f0b8f9807/packages/caddy-2.9.0-1.fc41.x86_64.rpm) from repo "copr:copr.fedorainfracloud.org:group_caddy:caddy" has failed: Problem occurred when opening the package.
3. Caddy version:
v2.9.0 h1:rteY8N18LsQn+2KVk6R10Vg/AlNsID1N/Ek9JLjm2yE=
4. How I installed and ran Caddy:
a. System environment:
Fedora release 41
b. Command:
yum update
c. Service/unit/compose file:
PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.
d. My complete Caddy config:
PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.
5. Links to relevant resources:
I’m not able to reproduce this error. Using a Fedora 41 container, I can enable the copr and install caddy without issue.
❯ podman run -it --rm fedora:41
[root@0cc3eb2c444b /]# dnf copr enable @caddy/caddy
https://copr.fedorainfracloud.org/api_3/rpmrepo 100% | 4.8 KiB/s | 957.0 B | 00m00s
Enabling a Copr repository. Please note that this repository is not part
of the main distribution, and quality may vary.
The Fedora Project does not exercise any power over the contents of
this repository beyond the rules outlined in the Copr FAQ at
<https://docs.pagure.org/copr.copr/user_documentation.html#what-i-can-build-in-copr>,
and packages are not held to any quality or security level.
Please do not file bug reports about these packages in Fedora
Bugzilla. In case of problems, contact the owner of this repository.
Is this ok [y/N]: y
[root@0cc3eb2c444b /]# dnf install caddy
Updating and loading repositories:
Fedora 41 openh264 (From Cisco) - x86_64 100% | 8.1 KiB/s | 6.0 KiB | 00m01s
Copr repo for caddy owned by @caddy 100% | 19.1 KiB/s | 2.6 KiB | 00m00s
Fedora 41 - x86_64 100% | 12.6 MiB/s | 36.3 MiB | 00m03s
Fedora 41 - x86_64 - Updates 100% | 2.4 MiB/s | 7.7 MiB | 00m03s
Repositories loaded.
Package Arch Version Repository Size
Installing:
caddy x86_64 2.9.0-1.fc41 copr:copr.fedorainfr 49.4 MiB
Installing dependencies:
dbus x86_64 1:1.14.10-4.fc41 fedora 0.0 B
dbus-broker x86_64 36-4.fc41 fedora 382.8 KiB
dbus-common noarch 1:1.14.10-4.fc41 fedora 11.2 KiB
device-mapper x86_64 1.02.199-4.fc41 fedora 348.2 KiB
device-mapper-libs x86_64 1.02.199-4.fc41 fedora 414.7 KiB
expat x86_64 2.6.4-1.fc41 updates 292.9 KiB
kbd x86_64 2.6.4-4.fc41 fedora 1.5 MiB
kbd-legacy noarch 2.6.4-4.fc41 fedora 567.1 KiB
kbd-misc noarch 2.6.4-4.fc41 fedora 2.5 MiB
kmod x86_64 33-1.fc41 fedora 235.5 KiB
libcbor x86_64 0.11.0-2.fc41 fedora 73.9 KiB
libfdisk x86_64 2.40.2-4.fc41 fedora 362.9 KiB
libpkgconf x86_64 2.3.0-1.fc41 fedora 78.2 KiB
libseccomp x86_64 2.5.5-2.fc41 fedora 173.3 KiB
pkgconf x86_64 2.3.0-1.fc41 fedora 88.6 KiB
pkgconf-m4 noarch 2.3.0-1.fc41 fedora 14.4 KiB
pkgconf-pkg-config x86_64 2.3.0-1.fc41 fedora 989.0 B
systemd x86_64 256.10-1.fc41 updates 16.7 MiB
systemd-pam x86_64 256.10-1.fc41 updates 1.1 MiB
xkeyboard-config noarch 2.42-2.fc41 fedora 6.5 MiB
Installing weak dependencies:
cryptsetup-libs x86_64 2.7.5-1.fc41 fedora 2.3 MiB
diffutils x86_64 3.10-8.fc41 fedora 1.6 MiB
kmod-libs x86_64 33-1.fc41 fedora 147.2 KiB
libbpf x86_64 2:1.4.7-1.fc41 updates 402.5 KiB
libfido2 x86_64 1.15.0-2.fc41 fedora 238.2 KiB
libxkbcommon x86_64 1.7.0-4.fc41 fedora 336.4 KiB
qrencode-libs x86_64 4.1.1-8.fc41 fedora 160.9 KiB
systemd-networkd x86_64 256.10-1.fc41 updates 2.1 MiB
systemd-resolved x86_64 256.10-1.fc41 updates 661.4 KiB
systemd-udev x86_64 256.10-1.fc41 updates 11.9 MiB
tpm2-tss x86_64 4.1.3-3.fc41 fedora 1.6 MiB
Transaction Summary:
Installing: 32 packages
Total size of inbound packages is 28 MiB. Need to download 28 MiB.
After this operation, 102 MiB extra will be used (install 102 MiB, remove 0 B).
Is this ok [y/N]: y
[ 1/32] dbus-1:1.14.10-4.fc41.x86_64 100% | 35.2 KiB/s | 7.9 KiB | 00m00s
[ 2/32] libfdisk-0:2.40.2-4.fc41.x86_64 100% | 361.6 KiB/s | 159.8 KiB | 00m00s
[ 3/32] caddy-0:2.9.0-1.fc41.x86_64 100% | 14.0 MiB/s | 12.5 MiB | 00m01s
[ 4/32] libseccomp-0:2.5.5-2.fc41.x86_64 100% | 150.9 KiB/s | 70.2 KiB | 00m00s
[ 5/32] systemd-pam-0:256.10-1.fc41.x86_64 100% | 830.3 KiB/s | 376.9 KiB | 00m00s
[ 6/32] dbus-broker-0:36-4.fc41.x86_64 100% | 370.0 KiB/s | 171.7 KiB | 00m00s
[ 7/32] dbus-common-1:1.14.10-4.fc41.noarch 100% | 49.9 KiB/s | 14.7 KiB | 00m00s
[ 8/32] expat-0:2.6.4-1.fc41.x86_64 100% | 463.7 KiB/s | 114.5 KiB | 00m00s
[ 9/32] libxkbcommon-0:1.7.0-4.fc41.x86_64 100% | 489.1 KiB/s | 143.3 KiB | 00m00s
[10/32] libbpf-2:1.4.7-1.fc41.x86_64 100% | 798.3 KiB/s | 179.6 KiB | 00m00s
[11/32] kmod-libs-0:33-1.fc41.x86_64 100% | 151.7 KiB/s | 69.9 KiB | 00m00s
[12/32] systemd-0:256.10-1.fc41.x86_64 100% | 1.7 MiB/s | 5.4 MiB | 00m03s
[13/32] xkeyboard-config-0:2.42-2.fc41.noarch 100% | 711.2 KiB/s | 972.3 KiB | 00m01s
[14/32] cryptsetup-libs-0:2.7.5-1.fc41.x86_64 100% | 646.4 KiB/s | 532.7 KiB | 00m01s
[15/32] device-mapper-libs-0:1.02.199-4.fc41.x86 100% | 423.7 KiB/s | 177.1 KiB | 00m00s
[16/32] device-mapper-0:1.02.199-4.fc41.x86_64 100% | 295.4 KiB/s | 136.8 KiB | 00m00s
[17/32] qrencode-libs-0:4.1.1-8.fc41.x86_64 100% | 173.9 KiB/s | 61.7 KiB | 00m00s
[18/32] diffutils-0:3.10-8.fc41.x86_64 100% | 764.9 KiB/s | 405.4 KiB | 00m01s
[19/32] systemd-networkd-0:256.10-1.fc41.x86_64 100% | 845.7 KiB/s | 697.7 KiB | 00m01s
[20/32] systemd-resolved-0:256.10-1.fc41.x86_64 100% | 335.6 KiB/s | 301.4 KiB | 00m01s
[21/32] kbd-0:2.6.4-4.fc41.x86_64 100% | 996.8 KiB/s | 414.7 KiB | 00m00s
[22/32] kmod-0:33-1.fc41.x86_64 100% | 1.1 MiB/s | 123.0 KiB | 00m00s
[23/32] kbd-legacy-0:2.6.4-4.fc41.noarch 100% | 1.2 MiB/s | 573.6 KiB | 00m00s
[24/32] pkgconf-pkg-config-0:2.3.0-1.fc41.x86_64 100% | 35.4 KiB/s | 10.0 KiB | 00m00s
[25/32] pkgconf-0:2.3.0-1.fc41.x86_64 100% | 134.1 KiB/s | 45.2 KiB | 00m00s
[26/32] pkgconf-m4-0:2.3.0-1.fc41.noarch 100% | 56.6 KiB/s | 14.3 KiB | 00m00s
[27/32] kbd-misc-0:2.6.4-4.fc41.noarch 100% | 1.2 MiB/s | 1.7 MiB | 00m01s
[28/32] libpkgconf-0:2.3.0-1.fc41.x86_64 100% | 513.1 KiB/s | 38.5 KiB | 00m00s
[29/32] systemd-udev-0:256.10-1.fc41.x86_64 100% | 958.6 KiB/s | 2.3 MiB | 00m02s
[30/32] tpm2-tss-0:4.1.3-3.fc41.x86_64 100% | 1.9 MiB/s | 411.5 KiB | 00m00s
[31/32] libfido2-0:1.15.0-2.fc41.x86_64 100% | 410.6 KiB/s | 98.1 KiB | 00m00s
[32/32] libcbor-0:0.11.0-2.fc41.x86_64 100% | 176.3 KiB/s | 33.1 KiB | 00m00s
-----------------------------------------------------------------------------------------
[32/32] Total 100% | 3.9 MiB/s | 28.1 MiB | 00m07s
[ 1/33] https://download.copr.fedorainfracloud.o 100% | 25.5 KiB/s | 994.0 B | 00m00s
-----------------------------------------------------------------------------------------
[33/33] Total 100% | 3.9 MiB/s | 28.1 MiB | 00m07s
Importing OpenPGP key 0xD605147E:
UserID : "@caddy_caddy (None) <@caddy#caddy@copr.fedorahosted.org>"
Fingerprint: 4A76F92FF6D40440F8FC4F36C52191B1D605147E
From : https://download.copr.fedorainfracloud.org/results/@caddy/caddy/pubkey.gpg
Is this ok [y/N]: y
The key was successfully imported.
[ 1/34] Verify package files 100% | 438.0 B/s | 32.0 B | 00m00s
[ 2/34] Prepare transaction 100% | 1.4 KiB/s | 32.0 B | 00m00s
[ 3/34] Installing libfdisk-0:2.40.2-4.fc41.x86_ 100% | 177.8 MiB/s | 364.1 KiB | 00m00s
[ 4/34] Installing libcbor-0:0.11.0-2.fc41.x86_6 100% | 73.5 MiB/s | 75.3 KiB | 00m00s
[ 5/34] Installing libpkgconf-0:2.3.0-1.fc41.x86 100% | 77.5 MiB/s | 79.3 KiB | 00m00s
[ 6/34] Installing pkgconf-0:2.3.0-1.fc41.x86_64 100% | 89.0 MiB/s | 91.1 KiB | 00m00s
[ 7/34] Installing pkgconf-m4-0:2.3.0-1.fc41.noa 100% | 0.0 B/s | 14.8 KiB | 00m00s
[ 8/34] Installing pkgconf-pkg-config-0:2.3.0-1. 100% | 0.0 B/s | 1.8 KiB | 00m00s
[ 9/34] Installing kmod-0:33-1.fc41.x86_64 100% | 78.1 MiB/s | 240.0 KiB | 00m00s
[10/34] Installing kbd-misc-0:2.6.4-4.fc41.noarc 100% | 79.4 MiB/s | 2.6 MiB | 00m00s
[11/34] Installing kbd-legacy-0:2.6.4-4.fc41.noa 100% | 43.0 MiB/s | 616.8 KiB | 00m00s
[12/34] Installing kbd-0:2.6.4-4.fc41.x86_64 100% | 260.1 MiB/s | 1.6 MiB | 00m00s
[13/34] Installing kmod-libs-0:33-1.fc41.x86_64 100% | 144.8 MiB/s | 148.3 KiB | 00m00s
[14/34] Installing xkeyboard-config-0:2.42-2.fc4 100% | 311.4 MiB/s | 6.5 MiB | 00m00s
[15/34] Installing expat-0:2.6.4-1.fc41.x86_64 100% | 288.1 MiB/s | 295.0 KiB | 00m00s
[16/34] Installing dbus-common-1:1.14.10-4.fc41. 100% | 797.1 KiB/s | 13.6 KiB | 00m00s
[17/34] Installing dbus-broker-0:36-4.fc41.x86_6 100% | 62.7 MiB/s | 385.3 KiB | 00m00s
[18/34] Installing dbus-1:1.14.10-4.fc41.x86_64 100% | 0.0 B/s | 124.0 B | 00m00s
[19/34] Installing libseccomp-0:2.5.5-2.fc41.x86 100% | 171.1 MiB/s | 175.2 KiB | 00m00s
[20/34] Installing systemd-pam-0:256.10-1.fc41.x 100% | 212.7 MiB/s | 1.1 MiB | 00m00s
[21/34] Installing systemd-0:256.10-1.fc41.x86_6 100% | 132.8 MiB/s | 16.9 MiB | 00m00s
>>> Running post-install scriptlet: systemd-0:256.10-1.fc41.x86_64
>>> Finished post-install scriptlet: systemd-0:256.10-1.fc41.x86_64
>>> Scriptlet output:
>>> Creating group 'systemd-journal' with GID 190.
>>> Creating group 'systemd-oom' with GID 999.
>>> Creating user 'systemd-oom' (systemd Userspace OOM Killer) with UID 999 and GID 999.
>>>
[22/34] Installing device-mapper-libs-0:1.02.199 100% | 203.0 MiB/s | 415.8 KiB | 00m00s
[23/34] Installing device-mapper-0:1.02.199-4.fc 100% | 171.8 MiB/s | 351.8 KiB | 00m00s
[24/34] Installing cryptsetup-libs-0:2.7.5-1.fc4 100% | 468.8 MiB/s | 2.3 MiB | 00m00s
[25/34] Installing systemd-udev-0:256.10-1.fc41. 100% | 47.2 MiB/s | 11.9 MiB | 00m00s
>>> Running post-install scriptlet: systemd-udev-0:256.10-1.fc41.x86_64
>>> Finished post-install scriptlet: systemd-udev-0:256.10-1.fc41.x86_64
>>> Scriptlet output:
>>> Created symlink '/etc/systemd/system/dbus-org.freedesktop.home1.service' → '/usr/li
>>> Created symlink '/etc/systemd/system/multi-user.target.wants/systemd-homed.service' �
>>> Created symlink '/etc/systemd/system/systemd-homed.service.wants/systemd-homed-activa
>>> Created symlink '/etc/systemd/system/dbus-org.freedesktop.oom1.service' → '/usr/lib
>>> Created symlink '/etc/systemd/system/multi-user.target.wants/systemd-oomd.service' �
>>> Created symlink '/etc/systemd/system/sysinit.target.wants/systemd-pstore.service' →
>>> Created symlink '/etc/systemd/system/multi-user.target.wants/remote-cryptsetup.target
>>>
>>> Running pre-install scriptlet: caddy-0:2.9.0-1.fc41.x86_64
>>> Finished pre-install scriptlet: caddy-0:2.9.0-1.fc41.x86_64
>>> Scriptlet output:
>>> Creating group 'caddy' with GID 998.
>>> Creating user 'caddy' (Caddy web server) with UID 998 and GID 998.
>>> Creating group 'systemd-coredump' with GID 997.
>>> Creating user 'systemd-coredump' (systemd Core Dumper) with UID 997 and GID 997.
>>> Creating group 'systemd-timesync' with GID 996.
>>> Creating user 'systemd-timesync' (systemd Time Synchronization) with UID 996 and GID
>>>
[26/34] Installing caddy-0:2.9.0-1.fc41.x86_64 100% | 488.8 MiB/s | 49.4 MiB | 00m00s
[27/34] Installing systemd-networkd-0:256.10-1.f 100% | 130.1 MiB/s | 2.1 MiB | 00m00s
[28/34] Installing systemd-resolved-0:256.10-1.f 100% | 54.1 MiB/s | 665.3 KiB | 00m00s
>>> Running post-install scriptlet: systemd-resolved-0:256.10-1.fc41.x86_64
>>> Finished post-install scriptlet: systemd-resolved-0:256.10-1.fc41.x86_64
>>> Scriptlet output:
>>> Created symlink '/etc/systemd/system/dbus-org.freedesktop.resolve1.service' → '/usr
>>> Created symlink '/etc/systemd/system/sysinit.target.wants/systemd-resolved.service' �
>>>
[29/34] Installing libxkbcommon-0:1.7.0-4.fc41.x 100% | 165.1 MiB/s | 338.1 KiB | 00m00s
[30/34] Installing libfido2-0:1.15.0-2.fc41.x86_ 100% | 21.3 MiB/s | 239.7 KiB | 00m00s
>>> Running pre-install scriptlet: tpm2-tss-0:4.1.3-3.fc41.x86_64
>>> Finished pre-install scriptlet: tpm2-tss-0:4.1.3-3.fc41.x86_64
>>> Scriptlet output:
>>> useradd: Warning: missing or non-executable shell '/usr/sbin/nologin'
>>>
[31/34] Installing tpm2-tss-0:4.1.3-3.fc41.x86_6 100% | 225.8 MiB/s | 1.6 MiB | 00m00s
[32/34] Installing qrencode-libs-0:4.1.1-8.fc41. 100% | 158.9 MiB/s | 162.7 KiB | 00m00s
[33/34] Installing diffutils-0:3.10-8.fc41.x86_6 100% | 530.1 MiB/s | 1.6 MiB | 00m00s
[34/34] Installing libbpf-2:1.4.7-1.fc41.x86_64 100% | 1.3 MiB/s | 403.4 KiB | 00m00s
>>> Running trigger-install scriptlet: systemd-0:256.10-1.fc41.x86_64
>>> Finished trigger-install scriptlet: systemd-0:256.10-1.fc41.x86_64
>>> Scriptlet output:
>>> Creating group 'systemd-network' with GID 192.
>>> Creating user 'systemd-network' (systemd Network Management) with UID 192 and GID 192
>>> Creating group 'systemd-resolve' with GID 193.
>>> Creating user 'systemd-resolve' (systemd Resolver) with UID 193 and GID 193.
>>>
Complete!
Are you able to reproduce this error on any other systems? Have you tried clearing the dnf cache (dnf clean all
)?
1 Like
dnf clean all
does not resolve the issue.
What does your repo config look like? Here is the one that is generated for me when running dnf copr enable @caddy/caddy
on F41.
[copr:copr.fedorainfracloud.org:group_caddy:caddy]
name=Copr repo for caddy owned by @caddy
baseurl=https://download.copr.fedorainfracloud.org/results/@caddy/caddy/fedora-$releasever-$basearch/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://download.copr.fedorainfracloud.org/results/@caddy/caddy/pubkey.gpg
repo_gpgcheck=0
enabled=1
enabled_metadata=1
Edit:
Went ahead and removed mine as it matches yours character for character.
This is the error that is generated when I run Software update:
"
package caddy-2.9.0-1.fc41.x86_64 cannot be verified and repo copr:copr.fedorainfracloud.org:group_caddy:caddy is GPG enabled: /var/cache/PackageKit/41/metadata/copr:copr.fedorainfracloud.org:group_caddy:caddy-41-x86_64/packages/caddy-2.9.0-1.fc41.x86_64.rpm could not be verified.
/var/cache/PackageKit/41/metadata/copr:copr.fedorainfracloud.org:group_caddy:caddy-41-x86_64/packages/caddy-2.9.0-1.fc41.x86_64.rpm: Verifying a signature using certificate 4A76F92FF6D40440F8FC4F36C52191B1D605147E (@caddy_caddy (None) <@caddy#caddy@copr.fedorahosted.org>):
Certificate C52191B1D605147E invalid: certificate is not alive
because: The primary key is not live
because: Expired on 2024-10-07T09:36:31Z
Key C52191B1D605147E invalid: key is not alive
because: The primary key is not live
because: Expired on 2024-10-07T09:36:31Z: Verifying a signature using certificate 4A76F92FF6D40440F8FC4F36C52191B1D605147E (@caddy_caddy (None) <@caddy#caddy@copr.fedorahosted.org>):
Certificate C52191B1D605147E invalid: certificate is not alive
because: The primary key is not live
because: Expired on 2024-10-07T09:36:31Z
Key C52191B1D605147E invalid: key is not alive
because: The primary key is not live
because: Expired on 2024-10-07T09:36:31Z: digest: SIGNATURE: NOT OK
"
GlenMerlin
(GlenMerlin)
January 20, 2025, 11:59pm
8
I resolved this issue by updating the key.
I ran rpm -e gpg-pubkey-d605147e-5d9daa1f
and then was able to install it fine.
That looks to have solved my issue, too.
Thanks!