Re: YUM is failing, even after importing GPG keys

From: A. Rick Anderson (a_rick_at_earthlink.net)
Date: 01/13/05

  • Next message: Paul Howarth: "Re: YUM is failing, even after importing GPG keys"
    Date: Thu, 13 Jan 2005 06:50:23 -0500
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    
    

    Paul Howarth wrote:

    >On Wed, 2005-01-12 at 23:01 -0800, Max Kanat-Alexander wrote:
    >
    >
    >>On Wed, 2005-01-12 at 22:22 -0500, A. Rick Anderson wrote:
    >>
    >>
    >>>Setting up Repo: kde-redhat-stable-all
    >>>repomd.xml 100% |=========================| 951 B 00:00
    >>>Setting up Repo: kde-redhat-stable
    >>>repomd.xml 100% |=========================| 951 B 00:00
    >>>
    >>>
    >> Apparently you added kde-redhat to the yum.conf. You'll also need a GPG
    >>key for that.
    >>
    >> You'll note that it says kde-redhat in the error message, too.
    >>
    >>
    >
    >And I guess that gpg checking is turned back on for that repo in your
    >yum.conf (or yum.repos.d/kde-redhat.repo) file, since you've turned off
    >gpg checking by default as you mentioned earlier.
    >
    >A better option would of course to be to import the kde-redhat gpg key
    >and turn on gpg checks for *all* repos.
    >
    ># rpm --import http://kde-redhat.sourceforge.net/gpg-pubkey-
    >ff6382fa-3e1ab2ca
    >
    >Paul.
    >
    >
    Thank-you.

    That solved the problem perfectly. Now I am baffled as to how you
    figured that out. I did a grep on my /etc/yum.conf file, and while
    *kde-redhat* was found in the the error message, *kde-redhat* is NOT
    present in my /etc/yum.conf or the error message. How did you know that
    kde-redhat.sourceforge.net was the particular URL that would solve this
    problem?

    I even tried a grep on all config files in /etc:
    [root@Anar ~]# vi /etc/yum.conf
    [root@Anar ~]# grep kde-redhat /etc/yum.conf*
    [root@Anar ~]# grep kde-redhat /etc/*conf*
    [root@Anar ~]# which yum
    /usr/bin/yum
    [root@Anar ~]#

    Is there another location that yum might be getting its configuration
    from? I am not explicitly setting an alternative configuration file
    anywhere (ttbomk). My yum.conf is attached.

    -- 
    A. Rick Anderson
    
    

    # This is a yum.conf for Fedora Core 3.
    # It uses Fedora mirrors to make things faster,
    # since the main Red Hat Fedora site is pretty slow.
    #
    # Also, if you look down in the "Alternate Repositories"
    # section, you'll notice some disabled repositories.
    # If you want to use them, just do:
    #
    # yum --enablerepo <reponame> <command>
    #
    # Where <reponame> is the name of the repo, and <command>
    # is your normal yum command.
    #
    # Authors:
    # Maxwell Kanat-Alexander (max at fedorafaq dot org)
    # Sindre Pedersn Bjørdal (foolish at fedorafaq dot org)
    #
    # Date: 22 November 2004
    #
    # Changes
    # -------
    # 26 November 2004
    # + Updated ATrpms per Axel Thimm's request.
    # 22 November 2004
    # + Updated for Fedora Core 3
    # 04 November 2004
    # + Fixed and checked-over for publishing
    # 17 July 2004 (Sindre)
    # + Replaced Base, debug, updates-released and updates mirrors with faster ones.
    # + Added the official servers to base and updates, commented of course.
    # + Tested all non-commented parts, everything works.
    # 29 May 2004
    # + Tested commented-out parts: all work except subpop.net
    # + Livna and NewRPMs mirrors!
    # 22 May 2004
    # + Incorporated Darrenn's fixes for Fedora Core 2!
    # + Commented-out parts may still not work properly
    # 29 Feb 2004
    # + Updated a lot of mirrors, for speed
    # + Fixed one ATrpms mirror
    # + Added Dries and spc, two more FreshRPMs-compatible repos
    # 9 Jan 2004
    # + Updated ATrpms for their new directory structure.
    # 31 Dec 2003
    # + Added JPackage, commented out
    # + Standard Red Hat Fedora Core sites commented-out by default
    # + Removed dulug from debug, since it doesn't have debug
    # 29 Dec 2003
    # + Added mirrors for the flash-plugin, since some go down.
    # + Added base-debuginfo, commented out

    [main]
    cachedir=/var/cache/yum
    debuglevel=2
    logfile=/var/log/yum.log
    pkgpolicy=newest
    distroverpkg=fedora-release
    tolerant=1
    exactarch=0
    assumeyes=1
    # gpgcheck=0
    # Added this because some mirrors go down and then retying takes forever.
    retries=1
    timeout=10

    # Basic Repos are in /etc/yum.conf.d/ #

    ###################
    ## Fedora Extras ##
    ###################

    # Temporarily set to FC2 because Fedora.US is not yet ready for FC3.

    [fedora-stable]
    name=Fedora.us Extras (Stable)
    baseurl=http://fedora.quicknet.nl/fedora/fedora/2/$basearch/RPMS.stable
      http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/2/$basearch/RPMS.stable
      http://fedora.mirror.sdv.fr/fedora/fedora/$releasever/2/RPMS.stable
      http://download.fedora.us/fedora/fedora/$releasever/2/RPMS.stable
    #gpgcheck=1

    [fedora-unstable]
    name=Fedora.us Extras (Unstable)
    baseurl=http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/2/$basearch/RPMS.unstable
      http://fedora.mirror.sdv.fr/fedora/fedora/2/$basearch/RPMS.unstable
      http://fedora.quicknet.nl/fedora/fedora/2/$basearch/RPMS.unstable
      http://mirrors.kernel.org/fedora.us/fedora/fedora/2/$basearch/RPMS.unstable
      http://download.fedora.us/fedora/fedora/2/$basearch/RPMS.unstable
    #gpgcheck=1

    [fedora-testing]
    name=Fedora.us Extras (Testing)
    baseurl=http://download.fedora.us/fedora/fedora/2/$basearch/RPMS.testing
      http://fedora.quicknet.nl/fedora/fedora/2/$basearch/RPMS.testing
      http://fedora.mirror.sdv.fr/fedora/fedora/2/$basearch/RPMS.testing
      http://mirrors.kernel.org/fedora.us/fedora/fedora/2/$basearch/RPMS.testing
      http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/2/$basearch/RPMS.testing
    #gpgcheck=1

    ###############
    ## Livna.org ##
    ###############

    [livna-stable]
    name=Livna.org - Fedora Compatible Packages (stable)
    baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.stable
      http://livna.cat.pdx.edu/fedora/$releasever/$basearch/RPMS.stable
    #gpgcheck=1

    [livna-unstable]
    name=Livna.org - Fedora Compatible Packages (unstable)
    baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.unstable
      http://livna.cat.pdx.edu/fedora/$releasever/$basearch/RPMS.unstable
    #gpgcheck=1

    [livna-testing]
    name=Livna.org - Fedora Compatible Packages (testing)
    baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.testing
      http://livna.cat.pdx.edu/fedora/$releasever/$basearch/yum/testing
    #gpgcheck=1

    ############
    # Jpackage #
    ############

    # JPackage is a GREAT repository for Java Software.
    # However, you may have to compile some SRPMs to use it,
    # so it's commented out by default. See
    # <http://mirrors.sunsite.dk/jpackage/1.6/generic/non-free/SRPMS>
    # For the SRPMs, and <http://www.jpackage.org/rebuilding.php> for
    # the general details.
    #
    # Note: JPackage IS compatible with the fedora.us repositories.
    # You can use JPackage and fedora.us at the same time, without
    # any trouble. It's also compatible with the Alternate Repositories,
    # for the most part.

    [jpackage-generic]
    name=JPackage Cross-Platform Packages
    baseurl=http://mirrors.sunsite.dk/jpackage/1.6/generic/free
      ftp://jpackage.hmdc.harvard.edu/JPackage/1.6/generic/free
      http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/jpackage/1.6/generic/free
    failovermethod=priority
    enabled=0
    #gpgcheck=1

    [jpackage-fedora]
    name=JPackage Fedora Packages
    baseurl=http://mirrors.sunsite.dk/jpackage/1.6/fedora-$releasever/free
      ftp://jpackage.hmdc.harvard.edu/JPackage/1.6/fedora-$releasever/free
      http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/jpackage/1.6/fedora-$releasever/free
    failovermethod=priority
    enabled=0
    #gpgcheck=1

    ############################
    ## Alternate Repositories ##
    ############################

    # To use these repos, either use the --enablerepo
    # command-line argument to yum, or change "enabled=0"
    # to "enabled=1". Note: Some packagesfrom these repositories
    # may conflict with the fedora.us packages. If you use these
    # repositories, you may wish to disable the fedora.us and
    # livna.org repositories.

    [freshrpms]
    name=FreshRPMs
    mirrorlist=http://ayo.freshrpms.net/fedora/linux/$releasever/mirrors-freshrpms
    enabled=0
    #gpgcheck=1

    [dag]
    name=Dag APT Repository
    baseurl=http://dag.freshrpms.net/fedora/$releasever/en/$basearch/dag/
      http://dag.atrpms.net/fedora/$releasever/en/$basearch/dag/
      http://ftp.heanet.ie/pub/freshrpms/pub/dag/fedora/$releasever/en/$basearch/dag/
    enabled=0
    #gpgcheck=1

    [dries]
    name=Dries APT/YUM Repository
    baseurl=http://dries.studentenweb.org/yum/fedora/linux/$releasever/$basearch/dries/RPMS/
    enabled=0
    #gpgcheck=1

    [newrpms]
    name=NewRPMs
    baseurl=http://newrpms.sunsite.dk/apt/redhat/en/$basearch/fc$releasever
      http://newrpms.atrpms.net/apt/redhat/en/$basearch/fc$releasever
    enabled=0
    #gpgcheck=1

    [atrpms]
    name=ATrpms - Stable
    baseurl=http://apt.atrpms.net/fedora/$releasever/en/$basearch/at-stable
      http://ftp-stud.fht-esslingen.de/atrpms/download.atrpms.net/fedora/$releasever/en/$basearch/at-stable
      http://wftp.tu-chemnitz.de/pub/linux/ATrpms/fedora/$releasever/en/$basearch/at-stable
    enabled=0
    #gpgcheck=1

    [atrpms-testing]
    name=ATrpms - Testing
    baseurl=http://wftp.tu-chemnitz.de/pub/linux/ATrpms/fedora/$releasever/en/$basearch/at-testing
      http://apt.atrpms.net/fedora/$releasever/en/$basearch/at-testing
      http://ftp-stud.fht-esslingen.de/atrpms/download.atrpms.net/fedora/$releasever/en/$basearch/at-testing
    enabled=0
    #gpgcheck=1

    [atrpms-bleeding]
    name=ATrpms - Bleeding
    baseurl=http://apt.atrpms.net/fedora/$releasever/en/$basearch/at-bleeding
      http://ftp-stud.fht-esslingen.de/atrpms/download.atrpms.net/fedora/$releasever/en/$basearch/at-bleeding
      http://wftp.tu-chemnitz.de/pub/linux/ATrpms/fedora/$releasever/en/$basearch/at-bleeding
    enabled=0
    #gpgcheck=1

    ###################
    ## Miscellaneous ##
    ###################

    # Semi-official Macromedia repository containing the flash-plugin rpm.
    [flash]
    name=macromedia.mplug.org - Flash Plugin
    baseurl=http://macromedia.mplug.org/apt/fedora/$releasever
      http://sluglug.ucsc.edu/macromedia/apt/fedora/$releasever
      http://ruslug.rutgers.edu/macromedia/apt/fedora/$releasever
      http://macromedia.rediris.es/apt/fedora/$releasever
    enabled=0
    #gpgcheck=1

    
    

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Paul Howarth: "Re: YUM is failing, even after importing GPG keys"

    Relevant Pages

    • Re: Sample yum.conf for FC2?
      ... # This is a yum.conf for Fedora Core 1 with updates from Fedora Legacy. ... # Note that I've included several U.S. mirrors that are close to *me*. ... # as those repositories for "unstable" or "testing" files. ...
      (comp.os.linux.setup)
    • Still cant make yum.conf to install mplayer from livna
      ... Livna.org - Fedora Compatible Packages ... you'll notice some commented-out repositories. ...
      (Fedora)
    • Re: Using yum with fedora 3
      ... Now your unrelated question is threaded to mine via headers like these: ... Where do I find the correct repositories for Fedora core 3? ... Try one of these to see how to set up your repos for FC3 now. ...
      (Fedora)
    • Re: YUMGUI - YUMI
      ... FWIW, I commented out the kde-redhat.org mirrors in my yum.conf, and it ... # This is a yum.conf for Fedora Core. ... you'll notice some commented-out repositories. ... name=Livna.org - Fedora Compatible Packages ...
      (Fedora)
    • Re: RedHat, Fedora future?
      ... since I can't get back that five minutes of my life spent reading the ... > Red Hat or SUSE for the enterprise? ... collection of public yum and apt repositories available for Fedora? ... repositories focused on particular sets of packages... ...
      (Fedora)