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

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

 



On Thu, 2004-09-02 at 10:56 +0200, Matthias Saou wrote:
> 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).
> 

The above bug is fixed in cvs - but it will only ever be encountered on
a damaged package, not on a gpg-unsigned one.

-sv



[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