Learn about Centmin Mod LEMP Stack today
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 Premium Member Premium Member

    4,077
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    3:12 AM
    Nginx-1.25.x
    MariaDB 10.3.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

    54,384
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    11:12 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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 Premium Member Premium Member

    4,077
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    3:12 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    I imported the key and it works now.

    Thank you !
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,384
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    11:12 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    191
    59
    28
    Oct 7, 2015
    Sheffield UK
    Ratings:
    +153
    Local Time:
    1:12 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.