Bug 236985 - Pirut fails to resolve package dependencies
Summary: Pirut fails to resolve package dependencies
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pirut
Version: rawhide
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-04-18 19:15 UTC by Markus Svensson
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-04-24 22:01:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Markus Svensson 2007-04-18 19:15:10 UTC
Description of problem:
Pirut fails to resolve dependencies for packages when adding the Development
Libraries, Development Tools and Java Development categories to a newly
installed Core 7 Test3 system

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


How reproducible:
Every time

Steps to Reproduce:
1. Select Add/Remove software from the Applications menu
2. Add Development Libraries, Development Tools and Java Development
3. Click Apply
  
Actual results:
Component: Software Manager
Summary: TB8a9b4f2f packageSack.py:600:returnNewestByNameArch:PackageSackError:
No Package Matching glibc.i686

Traceback (most recent call last):
  File "/usr/sbin/pirut", line 336, in _apply
    self.applyChanges(self.mainwin)
  File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 698, in
applyChanges
    self.checkDeps(mainwin)
  File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 467, in checkDeps
    (result, msgs) = self.buildTransaction()
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 543, in
buildTransaction
    (rescode, restring) = self.resolveDeps()
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 972, in _resolveDeps
    (checkdep, missing, conflict, errormsgs) = self._processReq(dep)
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 437, in _processReq
    requirementTuple, errormsgs)
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 558, in
_requiringFromInstalled
    po = self.pkgSack.returnNewestByNameArch((name,arch))[0]
  File "/usr/lib/python2.5/site-packages/yum/packageSack.py", line 308, in
returnNewestByNameArch
    return bestofeach.returnNewestByNameArch(naTup)
  File "/usr/lib/python2.5/site-packages/yum/packageSack.py", line 600, in
returnNewestByNameArch
    raise PackageSackError, 'No Package Matching %s.%s' % naTup
PackageSackError: No Package Matching glibc.i686

Local variables in innermost frame:
highdict: {}
self: <yum.packageSack.ListPackageSack object at 0x6355d10>
naTup: ('glibc', 'i686')
where: None

Expected results:
Software install

Additional info:

Comment 1 Jeremy Katz 2007-04-19 20:50:01 UTC
What versions of pirut and yum do you have installed?  If you update both of
them to the current development versions, does this still occur?

Comment 2 Markus Svensson 2007-04-21 15:48:34 UTC
After running the update to the latest versions (as found by the auto updater)
the problem no longer occurs.

The problem occurred when using the "stock" versions delivered with the x86_64
versions of Fedora Core 7 Test3.


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