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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

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

[...]
                [u] xorg-x11-twm.i386 0:6.7.99.903-2 - user
                [u] xorg-x11-xauth.i386 0:6.7.99.903-2 - user
                [u] xorg-x11-xfs.i386 0:6.7.99.903-2 - 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 ?
    main(sys.argv[1:])
  File "/usr/share/yum/yummain.py", line 118, in main
    base.doTransaction()
  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
sigCheckPkgs
    result = rpmUtils.miscutils.checkSig(self.read_ts, po.localPkg())
  File "/usr/lib/python2.3/site-packages/rpmUtils/miscutils.py", line 82,
in checkSig
    os.close(fdno)
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).

Matthias

-- 
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

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux