Error updating from Version 5.0 to 5.1 (Public Key not installed)

64 views
Skip to first unread message

Angelo Montepaone

unread,
Feb 21, 2024, 8:04:02 AMFeb 21
to rundeck-discuss
Hi Everybody
Updating from Version 5.0 to 5.1 the Publich Key is not installed. See the Log below.

---------------
[root@xxxxxx ~]# yum update
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * epel: it1.mirror.vhosting-it.com
188 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package rundeck.noarch 0:5.0.0.20231216-1 will be updated
---> Package rundeck.noarch 0:5.1.0.20240214-1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================================================================================================
 Package                                          Arch                                            Version                                                    Repository                                        Size
====================================================================================================================================================================================================================
Updating:
 rundeck                                          noarch                                          5.1.0.20240214-1                                           rundeck                                          265 M

Transaction Summary
====================================================================================================================================================================================================================
Upgrade  1 Package

Total download size: 265 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for rundeck
warning: /var/cache/yum/x86_64/7/rundeck/packages/rundeck-5.1.0.20240214-1.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID efa79a0c: NOKEY====================================-]  10 MB/s | 264 MB  00:00:00 ETA
Public key for rundeck-5.1.0.20240214-1.noarch.rpm is not installed
rundeck-5.1.0.20240214-1.noarch.rpm                                                                                                                                                          | 265 MB  00:00:27
Retrieving key from https://packages.rundeck.com/pagerduty/rundeck/gpgkey
Importing GPG key 0x7C5C34C0:
 Userid     : "https://packagecloud.io/pagerduty/rundeck (https://packagecloud.io/docs#gpg_signing) <sup...@packagecloud.io>"
 Fingerprint: 0ddd 2fa7 9b15 d736 ecea 32b8 9b52 0616 7c5c 34c0
 From       : https://packages.rundeck.com/pagerduty/rundeck/gpgkey
Is this ok [y/N]: y
Retrieving key from https://docs.rundeck.com/keys/BUILD-GPG-KEY-20230105.key

Public key for rundeck-5.1.0.20240214-1.noarch.rpm is not installed

 Failing package is: rundeck-5.1.0.20240214-1.noarch
 GPG Keys are configured as: https://packages.rundeck.com/pagerduty/rundeck/gpgkey, https://docs.rundeck.com/keys/BUILD-GPG-KEY-20230105.key

[root@xxxxx ~]#
--------------------------------
Could someone advise how to solve the Problem

Regards Angelo

Xavier Humbert

unread,
Feb 21, 2024, 9:09:48 AMFeb 21
to rundeck...@googlegroups.com

Hi Angelo,

I ran into the same problem, I had to disable GPG verification in /etc/yum.repos.d/rundeck.repo

Not a solution, just a temporary workaround

Regards,

Xavier

--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/8038ec2b-d123-4c64-9f79-c31850b5b211n%40googlegroups.com.
-- 
Xavier Humbert
CRT Supervision et Exploitation de Niveau 1
Direction des Services d'Information du Grand Est
Rectorat de l'Académie de Nancy-Metz
Ministère de l'Éducation Nationale et de la Jeunesse
03 83 86 27 39

rac...@rundeck.com

unread,
Feb 21, 2024, 9:11:01 AMFeb 21
to rundeck-discuss

Hi Angelo,

I tried to reproduce your error unsuccessfully, can you share your rundeck.repo file? (check the gpgkey entry).

There you can see how looks like:

[root@rocky9 etc]# cat /etc/yum.repos.d/rundeck.repo [rundeck] name=rundeck baseurl=https://packages.rundeck.com/pagerduty/rundeck/rpm_any/rpm_any/$basearch repo_gpgcheck=1 gpgcheck=0 enabled=1 gpgkey=https://packages.rundeck.com/pagerduty/rundeck/gpgkey sslverify=1 sslcacert=/etc/pki/tls/certs/ca-bundle.crt metadata_expire=300

Regards.

Angelo Montepaone

unread,
Feb 21, 2024, 10:00:06 AMFeb 21
to rundeck-discuss
Below my rundeck.repo. As you see, my gpgcheck is activatedgpgcheck=1
enabled=1
gpgkey=https://packages.rundeck.com/pagerduty/rundeck/gpgkey,https://docs.rundeck.com/keys/BUILD-GPG-KEY-20230105.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300

Regards 

rac...@rundeck.com

unread,
Feb 21, 2024, 10:20:54 AMFeb 21
to rundeck-discuss

Angelo Montepaone

unread,
Feb 21, 2024, 10:33:22 AMFeb 21
to rundeck-discuss
Still same Error


====================================================================================================
 Package              Arch                Version                        Repository            Size
====================================================================================================
Updating:
 rundeck              noarch              5.1.0.20240214-1               rundeck              265 M

Transaction Summary
====================================================================================================
Upgrade  1 Package

Total download size: 265 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for rundeck
warning: /var/cache/yum/x86_64/7/rundeck/packages/rundeck-5.1.0.20240214-1.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID efa79a0c: NOKEY0 MB/s | 262 MB  00:00:00 ETA

Public key for rundeck-5.1.0.20240214-1.noarch.rpm is not installed
rundeck-5.1.0.20240214-1.noarch.rpm                                                                                                                 | 265 MB  00:00:34
The GPG keys listed for the "rundeck" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.



 Failing package is: rundeck-5.1.0.20240214-1.noarch
 GPG Keys are configured as: https://packages.rundeck.com/pagerduty/rundeck/gpgkey

rac...@rundeck.com

unread,
Feb 21, 2024, 10:51:34 AMFeb 21
to rundeck-discuss

Can you try reimporting the last one?

rpm --import https://docs.rundeck.com/keys/BUILD-GPG-KEY-20240108.key

Let me know.

Greetings!

Angelo Montepaone

unread,
Feb 21, 2024, 2:58:42 PMFeb 21
to rundeck-discuss
Yeah.... great. That was the solution....

Downloading packages:
No Presto metadata available for rundeck
rundeck-5.1.0.20240214-1.noarch.rpm                                                                                                                 | 265 MB  00:00:25
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : rundeck-5.1.0.20240214-1.noarch                                                                                                                         1/2
rundeck.server.uuid = c8ac6255-46c7-4228-8a23-5c21550116f6
  Cleanup    : rundeck-5.0.0.20231216-1.noarch                                                                                                                         2/2
  Verifying  : rundeck-5.1.0.20240214-1.noarch                                                                                                                         1/2
  Verifying  : rundeck-5.0.0.20231216-1.noarch                                                                                                                         2/2

Updated:
  rundeck.noarch 0:5.1.0.20240214-1

Complete!


Thanks a lot
Regards Angelo

rac...@rundeck.com

unread,
Feb 21, 2024, 3:02:10 PMFeb 21
to rundeck-discuss
Happy to help Angelo.
Reply all
Reply to author
Forward
0 new messages