Re: fedpkg failed with : Signature verification failed.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As shared bt @music on the Fedora build system matrix channel, this
happens after a new Fedora release is branched. You can install these
two packages to update your system to work correctly.

https://bodhi.fedoraproject.org/updates/FEDORA-2024-4a6de3d12d

https://bodhi.fedoraproject.org/updates/FEDORA-2024-49a775adbe

On Fri, Aug 16, 2024 at 6:12 AM Kenneth Goldman <kgoldman@xxxxxxxxxx> wrote:
>
> I'm trying to build my package for Fedora 41 (an F41 VM on an F39 host if
> that matters).  Is it pulling in something from F42?
>
> The error is:
>
> fedpkg --release f41 mockbuild
> .
> [snip]
> .
> Transaction failed: Signature verification failed.
> PGP check for package "fedora-gpg-keys-42-0.1.noarch"
> (/var/lib/mock/fedora-rawhide-x86_64/root/var/cache/dnf/fedora-2d95c80a1fa0a
> 67d/packages/fedora-gpg-keys-42-0.1.noarch.rpm) from repo "fedora" has
> failed: Import of the key didn't help, wrong key?
>
> The longer log is:
>
> > fedpkg --release f41 mockbuild
> Using tss2.spec
> sources file doesn't exist. Source files download skipped.
>
> setting SOURCE_DATE_EPOCH=1723680000
> Wrote: /home/kgold/tssfedora/tss2-2.3.2-1.fc41.src.rpm
> INFO: mock.py version 5.6 starting (python version = 3.13.0, NVR =
> mock-5.6-3.fc41), args: /usr/libexec/mock/mock -r fedora-41-x86_64
> --resultdir /home/kgold/tssfedora/results_tss2/2.3.2/1.fc41 --rebuild
> /home/kgold/tssfedora/tss2-2.3.2-1.fc41.src.rpm
> Start(bootstrap): init plugins
> INFO: selinux enabled
> Finish(bootstrap): init plugins
> Start: init plugins
> INFO: selinux enabled
> Finish: init plugins
> INFO: Signal handler active
> Start: run
> INFO: Start(/home/kgold/tssfedora/tss2-2.3.2-1.fc41.src.rpm)
> Config(fedora-rawhide-x86_64)
> Start: clean chroot
> Finish: clean chroot
> Mock Version: 5.6
> INFO: Mock Version: 5.6
> Start(bootstrap): chroot init
> INFO: calling preinit hooks
> INFO: enabled root cache
> INFO: enabled package manager cache
> Start(bootstrap): cleaning package manager metadata
> Finish(bootstrap): cleaning package manager metadata
> INFO: Package manager dnf5 detected and used (fallback)
> Finish(bootstrap): chroot init
> Start: chroot init
> INFO: calling preinit hooks
> INFO: enabled root cache
> Start: unpacking root cache
> Finish: unpacking root cache
> INFO: enabled package manager cache
> Start: cleaning package manager metadata
> Finish: cleaning package manager metadata
> INFO: enabled HW Info plugin
> INFO: Package manager dnf5 detected and used (direct choice)
> INFO: Buildroot is handled by package management downloaded with a bootstrap
> image:
>   rpm-4.19.92-6.fc41.x86_64
>   rpm-sequoia-1.7.0-2.fc41.x86_64
>   dnf5-5.2.5.0-2.fc41.x86_64
>   dnf5-plugins-5.2.5.0-2.fc41.x86_64
> Start: dnf5 update
> Updating and loading repositories:
>  fedora                                 100% | 111.7 KiB/s |  24.2 KiB |
> 00m00s
> Repositories loaded.
> Package                                    Arch   Version Repository
> Size
> Upgrading:
>  fedora-gpg-keys                           noarch 42-0.1  fedora     126.4
> KiB
>    replacing fedora-gpg-keys               noarch 41-0.3  fedora     126.4
> KiB
>  fedora-release                            noarch 42-0.1  fedora       0.0
> B
>    replacing fedora-release                noarch 41-0.20 fedora       0.0
> B
>  fedora-release-common                     noarch 42-0.1  fedora      19.4
> KiB
>    replacing fedora-release-common         noarch 41-0.20 fedora      19.4
> KiB
>  fedora-release-identity-basic             noarch 42-0.1  fedora     694.0
> B
>    replacing fedora-release-identity-basic noarch 41-0.20 fedora     694.0
> B
>  fedora-repos                              noarch 42-0.1  fedora       4.9
> KiB
>    replacing fedora-repos                  noarch 41-0.3  fedora       4.9
> KiB
>  fedora-repos-rawhide                      noarch 42-0.1  fedora       2.2
> KiB
>    replacing fedora-repos-rawhide          noarch 41-0.3  fedora       2.2
> KiB
>
> Transaction Summary:
>  Upgrading:         6 packages
>  Replacing:         6 packages
>
> Total size of inbound packages is 200 KiB. Need to download 0 B.
> After this operation 0 B will be used (install 154 KiB, remove 154 KiB).
> [1/6] fedora-gpg-keys-0:42-0.1.noarch   100% |   0.0   B/s |   0.0   B |
> 00m00s
> >>> Already downloaded
> [2/6] fedora-release-0:42-0.1.noarch    100% |   0.0   B/s |   0.0   B |
> 00m00s
> >>> Already downloaded
> [3/6] fedora-release-common-0:42-0.1.no 100% |   0.0   B/s |   0.0   B |
> 00m00s
> >>> Already downloaded
> [4/6] fedora-repos-0:42-0.1.noarch      100% |   0.0   B/s |   0.0   B |
> 00m00s
> >>> Already downloaded
> [5/6] fedora-release-identity-basic-0:4 100% |   0.0   B/s |   0.0   B |
> 00m00s
> >>> Already downloaded
> [6/6] fedora-repos-rawhide-0:42-0.1.noa 100% |   0.0   B/s |   0.0   B |
> 00m00s
> >>> Already downloaded
> ----------------------------------------------------------------------------
> ----
> [6/6] Total                             100% |   0.0   B/s |   0.0   B |
> 00m00s
> Running transaction
> Importing PGP key 0xE99D6AD1:
>  Userid     : "Fedora (41) mailto:fedora-41-primary@xxxxxxxxxxxxxxxxx";
>  Fingerprint: 466CF2D8B60BC3057AA9453ED0622462E99D6AD1
>  From       :
> file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-41-primary
> The key was successfully imported.
> Importing PGP key 0xE99D6AD1:
>  Userid     : "Fedora (41) mailto:fedora-41-primary@xxxxxxxxxxxxxxxxx";
>  Fingerprint: 466CF2D8B60BC3057AA9453ED0622462E99D6AD1
>  From       :
> file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-41-primary
> The key was successfully imported.
> Importing PGP key 0xA15B79CC:
>  Userid     : "Fedora (40) mailto:fedora-40-primary@xxxxxxxxxxxxxxxxx";
>  Fingerprint: 115DF9AEF857853EE8445D0A0727707EA15B79CC
>  From       :
> file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-40-primary
> The key was successfully imported.
>
> Transaction failed: Signature verification failed.
> PGP check for package "fedora-gpg-keys-42-0.1.noarch"
> (/var/lib/mock/fedora-rawhide-x86_64/root/var/cache/dnf/fedora-2d95c80a1fa0a
> 67d/packages/fedora-gpg-keys-42-0.1.noarch.rpm) from repo "fedora" has
> failed: Import of the key didn't help, wrong key?
> ERROR: Exception(/home/kgold/tssfedora/tss2-2.3.2-1.fc41.src.rpm)
> Config(fedora-rawhide-x86_64) 0 minutes 3 seconds
> INFO: Results and/or logs in:
> /home/kgold/tssfedora/results_tss2/2.3.2/1.fc41
> INFO: Cleaning up build root ('cleanup_on_failure=True')
> Start: clean chroot
> Finish: clean chroot
> ERROR: Command failed:
>  # /usr/bin/systemd-nspawn -q -M 7fee878c50004f90a192723200808894 -D
> /var/lib/mock/fedora-rawhide-x86_64-bootstrap/root -a
> --capability=cap_ipc_lock --bind=/tmp/mock-resolv.xoxxic3v:/etc/resolv.conf
> --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash
> --setenv=HOME=/var/lib/mock/fedora-rawhide-x86_64/root/installation-homedir
> --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin
> '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"'
> '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8
> --setenv=LC_MESSAGES=C.UTF-8 --resolv-conf=off /usr/bin/dnf5 --installroot
> /var/lib/mock/fedora-rawhide-x86_64/root/ -y --releasever 41 upgrade
> --setopt=deltarpm=False --setopt=allow_vendor_change=yes --allowerasing
> --setopt=tsflags=nocontexts
>
> Could not execute mockbuild: Failed to execute command.
>
>
> --
> Work 1-914-945-2415
>
> --
> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
-- 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux