Bug 310271 - Updating certain yum packages fails when yum-presto is enabled
Summary: Updating certain yum packages fails when yum-presto is enabled
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-presto
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jonathan Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-09-28 04:04 UTC by Stewart Adam
Modified: 2007-11-30 22:12 UTC (History)
2 users (show)

Fixed In Version: 0.4.2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-09-28 09:06:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Stewart Adam 2007-09-28 04:04:45 UTC
Description of problem:
Updating causes a traceback.

Version-Release number of selected component (if applicable):


How reproducible:
Sometimes. I could not find the exact package, but only one was causing this
error. Upgrading packages small groups at a time, but it failed each time at:
 $ yum update tcl tcl-devel xen-libs xkeyboard-config xulrunner
               ^ One of those packages is the cause.

Steps to Reproduce:
1. $ yum update tcl tcl-devel xen-libs xkeyboard-config xulrunner
2. 'Y' to accept start download of packages
  
Actual results:
Traceback is produced, yum hangs (I must use -9 to kill it)

Expected results:
No traceback, yum updates packages

Additional info:

$ sudo yum update tcl tcl-devel xen-libs xkeyboard-config xulrunner
Loading "presto" plugin
Loading "refresh-updatesd" plugin
Setting up and reading Presto delta metadata
No Presto metadata available for livna-development
No Presto metadata available for adobe-linux-i386
No Presto metadata available for kagesenshi
Setting up Update Process
Could not find update match for xulrunner
Resolving Dependencies
--> Running transaction check
---> Package xen-libs.i386 0:3.1.0-10.fc8 set to be updated
---> Package mplayer-gui.i386 0:1.0-0.84.20070923svn.lvn8 set to be updated
---> Package xkeyboard-config.noarch 0:1.1-1.fc8 set to be updated
---> Package mencoder.i386 0:1.0-0.84.20070923svn.lvn8 set to be updated
---> Package tcl-devel.i386 1:8.4.15-5.fc8 set to be updated
---> Package system-config-soundcard.noarch 0:2.0.6-10.fc8 set to be updated
---> Package mplayer.i386 0:1.0-0.84.20070923svn.lvn8 set to be updated
---> Package selinux-policy.noarch 0:3.0.8-14.fc8 set to be updated
---> Package mplayer-doc.i386 0:1.0-0.84.20070923svn.lvn8 set to be updated
---> Package pirut.noarch 0:1.3.20-1.fc8 set to be updated
---> Package tcl.i386 1:8.4.15-5.fc8 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Updating:
 mencoder                i386       1.0-0.84.20070923svn.lvn8  livna-development
 2.8 M
 mplayer                 i386       1.0-0.84.20070923svn.lvn8  livna-development
 4.2 M
 mplayer-doc             i386       1.0-0.84.20070923svn.lvn8  livna-development
 2.1 M
 mplayer-gui             i386       1.0-0.84.20070923svn.lvn8  livna-development
 3.5 M
 pirut                   noarch     1.3.20-1.fc8     development       322 k
 selinux-policy          noarch     3.0.8-14.fc8     development       374 k
 system-config-soundcard  noarch     2.0.6-10.fc8     development       1.1 M
 tcl                     i386       1:8.4.15-5.fc8   development       1.8 M
 tcl-devel               i386       1:8.4.15-5.fc8   development       138 k
 xen-libs                i386       3.1.0-10.fc8     development       133 k
 xkeyboard-config        noarch     1.1-1.fc8        development       444 k

Transaction Summary
=============================================================================
Install      0 Package(s)         
Update      11 Package(s)         
Remove       0 Package(s)         

Total download size: 17 M
Is this ok [y/N]: y
Downloading Packages:
Downloading DeltaRPMs:
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.main(sys.argv[1:])
  File "/usr/share/yum-cli/yummain.py", line 180, in main
    base.doTransaction()
  File "/usr/share/yum-cli/cli.py", line 317, in doTransaction
    problems = self.downloadPkgs(downloadpkgs) 
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 797, in downloadPkgs
    self.plugins.run('predownload', pkglist=pkglist)
  File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 169, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/presto.py", line 388, in predownload_hook
    problems = downloadPkgs(conduit, pinfo)
  File "/usr/lib/yum-plugins/presto.py", line 226, in downloadPkgs
    remote_packages.append( (po, delta) )
NameError: global name 'remote_packages' is not defined

Comment 1 Jonathan Dieter 2007-09-28 09:06:41 UTC
Fixed in yum-presto-0.4.2-1.fc8.  I've asked rel-eng to allow this package to
break the Test3 freeze.  If you want to get the fixed package right away, it's
at http://www.lesbg.com/jdieter/presto/yum-presto-0.4.2-1.fc7.noarch.rpm.  And
yes, it is actually the Rawhide version of yum-presto.


Note You need to log in before you can comment on or make changes to this bug.