Bug 2149377

Summary: [dnf5] dnf5 says not downloaded packages have invalid signatures
Product: [Fedora] Fedora Reporter: Zbigniew JÄ™drzejewski-Szmek <zbyszek>
Component: dnf5Assignee: rpm-software-management
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: medium    
Version: 38CC: amatej, customercare, daniel.mach, jkolarik, jmracek, jrohel, mblaha, nsella, pkratoch, rpm-software-management
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-09 05:57:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Zbigniew Jędrzejewski-Szmek 2022-11-29 18:37:52 UTC
When I start 'dnf upgrade', and press ^C, dnf says:

Verifying GPG signatures
GPG check for package "gcc-12.2.1-4.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/gcc-12.2.1-4.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "gcc-c++-12.2.1-4.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/gcc-c++-12.2.1-4.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "firefox-107.0-4.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/firefox-107.0-4.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "firefox-langpacks-107.0-4.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/firefox-langpacks-107.0-4.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "fontconfig-2.14.1-2.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/fontconfig-2.14.1-2.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "gtk-update-icon-cache-3.24.35-1.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/gtk-update-icon-cache-3.24.35-1.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "gtk3-3.24.35-1.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/gtk3-3.24.35-1.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "ipcalc-1.0.2-1.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/ipcalc-1.0.2-1.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "libatomic-12.2.1-4.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/libatomic-12.2.1-4.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "libgcc-12.2.1-4.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/libgcc-12.2.1-4.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "libgcc-12.2.1-4.fc37.i686" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/libgcc-12.2.1-4.fc37.i686.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "libgfortran-12.2.1-4.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/libgfortran-12.2.1-4.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "libquadmath-12.2.1-4.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/libquadmath-12.2.1-4.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "libgomp-12.2.1-4.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/libgomp-12.2.1-4.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "libgomp-12.2.1-4.fc37.i686" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/libgomp-12.2.1-4.fc37.i686.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "pipewire-0.3.61-1.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/pipewire-0.3.61-1.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "pipewire-libs-0.3.61-1.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/pipewire-libs-0.3.61-1.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "pipewire-utils-0.3.61-1.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/pipewire-utils-0.3.61-1.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "pipewire-pulseaudio-0.3.61-1.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/pipewire-pulseaudio-0.3.61-1.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "pipewire-gstreamer-0.3.61-1.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/pipewire-gstreamer-0.3.61-1.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "pipewire-alsa-0.3.61-1.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/pipewire-alsa-0.3.61-1.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "pipewire-jack-audio-connection-kit-0.3.61-1.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/pipewire-jack-audio-connection-kit-0.3.61-1.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "python3.9-3.9.15-3.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/python3.9-3.9.15-3.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "qgnomeplatform-qt5-0.9.0-5.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/qgnomeplatform-qt5-0.9.0-5.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "qgnomeplatform-qt6-0.9.0-5.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/qgnomeplatform-qt6-0.9.0-5.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "qt6-qtbase-6.4.1-1.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/qt6-qtbase-6.4.1-1.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "qt6-qtbase-common-6.4.1-1.fc37.noarch" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/qt6-qtbase-common-6.4.1-1.fc37.noarch.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "qt6-qtwayland-6.4.1-1.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/qt6-qtwayland-6.4.1-1.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "qt6-qtsvg-6.4.1-1.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/qt6-qtsvg-6.4.1-1.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "qt6-qtdeclarative-6.4.1-1.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/qt6-qtdeclarative-6.4.1-1.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "qt6-qtbase-gui-6.4.1-1.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/qt6-qtbase-gui-6.4.1-1.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "sane-backends-1.1.1-9.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/sane-backends-1.1.1-9.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "sane-backends-libs-1.1.1-9.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/sane-backends-libs-1.1.1-9.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "sane-backends-drivers-scanners-1.1.1-9.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/sane-backends-drivers-scanners-1.1.1-9.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "sane-backends-drivers-cameras-1.1.1-9.fc37.x86_64" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/sane-backends-drivers-cameras-1.1.1-9.fc37.x86_64.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "selinux-policy-37.15-1.fc37.noarch" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/selinux-policy-37.15-1.fc37.noarch.rpm) from repo "updates" has failed: problem opening package.
GPG check for package "selinux-policy-targeted-37.15-1.fc37.noarch" (/var/cache/libdnf5/updates-fd4d3d0d1c34d49a/packages/selinux-policy-targeted-37.15-1.fc37.noarch.rpm) from repo "updates" has failed: problem opening package.
Signature verification failed

It shouldn't do signature verification if download was interrupted.

dnf5-5.0.1-20221128005819.1.gf5095a68.fc37.x86_64

Comment 1 amatej 2022-12-05 13:00:40 UTC
*** Bug 2142255 has been marked as a duplicate of this bug. ***

Comment 2 Ben Cotton 2023-02-07 15:09:10 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle.
Changing version to 38.

Comment 3 Aoife Moloney 2024-05-07 15:53:12 UTC
This message is a reminder that Fedora Linux 38 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 38 on 2024-05-21.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '38'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 38 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 4 amatej 2024-05-09 05:57:00 UTC
This has been fixed.