Welcome to Centmin Mod Community
Become a Member

CentOS 7.x city fan repo Gpg repo keys error when updating

Discussion in 'Beta release code' started by pamamolf, Oct 3, 2022.

  1. pamamolf

    pamamolf Well-Known Member

    4,125
    429
    83
    May 31, 2014
    Ratings:
    +841
    Local Time:
    4:51 AM
    Nginx-1.29.x
    MariaDB 10.6.x
    Hello,

    On latest Centminmod beta 10 when i tried to install the updates using:

    Code:
    yum update --disableplugin=priorities --setopt=deltarpm=0 --enablerepo=remi,city-fan.org
    I got:


    Code:
    Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-city-fan.org
    
    
    The GPG keys listed for the "city-fan.org repository for Red Hat Enterprise Linux (and clones) 7 (x86_64)" 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: city-fan.org-release-3-4.rhel7.noarch
     GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-city-fan.org
    Any help please?

    Thanks in advance !
     
  2. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    11:51 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    You can disable the gpgcheck via
    Code (Text):
    yum-config-manager -q --save --setopt=city-fan.org.gpgcheck=0 | grep city-fan


    but looks like RPM GPG Keys got updated too https://mirror.city-fan.org/ftp/contrib/GPG-KEYS/ so without disabling gpgcheck above, try importing the updated GPG Key
    Code (Text):
    rpm --import https://mirror.city-fan.org/ftp/contrib/GPG-KEYS/RPM-GPG-KEY-city-fan.org-rhel-7
     
    Last edited: Oct 3, 2022
  3. pamamolf

    pamamolf Well-Known Member

    4,125
    429
    83
    May 31, 2014
    Ratings:
    +841
    Local Time:
    4:51 AM
    Nginx-1.29.x
    MariaDB 10.6.x
    I imported the key and it works now.

    Thank you !
     
  4. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    11:51 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Glad to hear, I updated 130.00beta01's addons/customcurl.sh with the change too - will have to do the same for 124.00stable too.
     
  5. Colin

    Colin Premium Member Premium Member

    192
    59
    28
    Oct 7, 2015
    Sheffield UK
    Ratings:
    +154
    Local Time:
    2:51 AM
    1.19.#
    MariaDB 10.1.#
    Just doing an update before migrating to 124 stble and I hit this error:
    Code:
    Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-city-fan.org
    
    
    The GPG keys listed for the "city-fan.org repository for Red Hat Enterprise Linux (and clones) 7 (x86_64)" 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: perl-Exporter-Tiny-1.004003-1.rhel7.noarch
     GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-city-fan.org
    Import fixed it too, in case anyone is googling the package name.