Bug 230514 - traceback on doing an update with --exclude-broken on
traceback on doing an update with --exclude-broken on
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-01 00:06 EST by Austin Foxley
Modified: 2014-01-21 17:57 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-03-01 11:43:59 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Austin Foxley 2007-03-01 00:06:51 EST
Description of problem:
I get a traceback when trying to do an update with --exclude-broken enabled

Version-Release number of selected component (if applicable):
yum-3.1.2-1.fc7

How reproducible:
Update on rawhide (with broken deps) with --exclude

Actual results:
Get a traceback in the middle of doing dep resolve

Additional info:
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 135, in main
    (result, resultmsgs) = base.buildTransaction() 
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 451, in
buildTransaction
    (rescode, restring) = self.resolveDeps()
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 1104, in
_resolveDeps
    deps = self._mytsCheck()
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 1082, in _mytsCheck
    ret.extend(self._checkUpdate(txmbr))
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 1265, in
_checkUpdate
    ret = self._checkInstall(txmbr)
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 1261, in
_checkInstall
    member.setAsDep(txmbr.po)
UnboundLocalError: local variable 'member' referenced before assignment
Comment 1 Austin Foxley 2007-03-01 02:42:43 EST
just realized... yum-skip-broken is a plugin from extras,,,,

sorry about that.
Comment 2 Jeremy Katz 2007-03-01 11:43:59 EST
Fixed this in CVS yesterday, will be in 3.1.3 real soon now.

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