Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 455243 - Conflicts yield traceback
Summary: Conflicts yield traceback
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-07-14 12:37 UTC by Rex Dieter
Modified: 2014-01-21 23:03 UTC (History)
5 users (show)

Fixed In Version: 3.2.17-2.fc9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-14 13:27:33 UTC


Attachments (Terms of Use)

Description Rex Dieter 2008-07-14 12:37:16 UTC
Trying to install a pkg that contains a Conflicts with something currently
installed, gives me a traceback in yum.

$ rpm -q yum
yum-3.2.17-1.fc9.noarch           

$ sudo yum install libkipi-devel
...
--> Running transaction check
---> Package libkipi-devel.x86_64 0:0.1.5-4.fc9.1 set to be updated
--> Processing Conflict: kdegraphics-devel conflicts libkipi-devel
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 243, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 159, in main
    (result, resultmsgs) = base.buildTransaction()
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 628, in
buildTransaction
    (rescode, restring) = self.resolveDeps()
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 671, in resolveDeps
    (checkdep, errormsgs) = self._processConflict(*conflict)
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 575, in
_processConflict
    self.update(name=conflicting_po.name)
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 2390, in update
    availpkgs = self._compare_providers(availpkgs, requiringPo)
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 990, in
_compare_providers
    for thisarch in (reqpo.arch, getBestArch()):
AttributeError: 'NoneType' object has no attribute 'arch

Comment 1 seth vidal 2008-07-14 13:27:33 UTC
fixed in 3.2.17-2.fc9 which is already in updates-testing

Comment 2 James Antill 2008-07-14 13:31:34 UTC
 Actually it's still pending :(

https://admin.fedoraproject.org/updates/F9/FEDORA-2008-6301

...but I assume it should move soon, now.


Comment 3 Rex Dieter 2008-07-14 14:05:09 UTC
Confirmed good, thx.


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