[Yum] Yum 2.1.0 and gpgcheck=1 in [main]

Matthias Saou thias at spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net
Thu Sep 2 08:56:52 UTC 2004


I just tried upgrading my Fedora Core Development machine today, and got
this :

                [u] xorg-x11-twm.i386 0: - user
                [u] xorg-x11-xauth.i386 0: - user
                [u] xorg-x11-xfs.i386 0: - user
                [u] yelp.i386 0:2.6.2-1 - user
Is this ok [y/N]: y
Traceback (most recent call last):
  File "/usr/share/yum/yummain.py", line 135, in ?
  File "/usr/share/yum/yummain.py", line 118, in main
  File "/usr/share/yum/cli.py", line 418, in doTransaction
    problems = self.sigCheckPkgs(downloadpkgs)
  File "/usr/lib/python2.3/site-packages/yum/__init__.py", line 238, in
    result = rpmUtils.miscutils.checkSig(self.read_ts, po.localPkg())
  File "/usr/lib/python2.3/site-packages/rpmUtils/miscutils.py", line 82,
in checkSig
OSError: [Errno 9] Bad file descriptor

I had "gpgcheck=1" in the [main] section of my yum.conf, leftover from some
testing I made a while back. IIRC yum 2.0 simply ignored it, and it had to
be added under each repository entry individually. Removing that line fixed
the problem, possibly as I don't have any other gpgcheck=1 lines in the
file (if sig checking is plain broken).


Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Red Hat Enterprise Linux AS release 3 (Taroon) - Linux kernel 2.6.8-1.521
Load : 0.46 0.64 0.54

More information about the Yum mailing list