Bug 431807

Summary: debuginfo-install fails with --skip-broken, traceback
Product: [Fedora] Fedora Reporter: Andrew Farris <lordmorgul>
Component: yum-utilsAssignee: Seth Vidal <skvidal>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: james.antill, pmatilai, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 3.2.11-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-28 10:35:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
debuginfo-skip-broken.txt, traceback none

Description Andrew Farris 2008-02-07 02:05:43 UTC
Description of problem:
Running debuginfo-install using the --skip-broken option causes python traceback
attached.

Version-Release number of selected component (if applicable):
yum-3.2.10-3.fc9.noarch
yum-utils-1.1.11-1.fc9.noarch

Steps to Reproduce:
1. debuginfo-install firefox epiphany galeon
2. due to libgnat issue in rawhide today this fails, see attach
3. using --skip-broken produces the traceback

Comment 1 Andrew Farris 2008-02-07 02:05:43 UTC
Created attachment 294181 [details]
debuginfo-skip-broken.txt, traceback

Comment 2 Andrew Farris 2008-02-07 02:16:57 UTC
The traceback itself is: (for bugzilla searches)

Traceback (most recent call last):
  File "/usr/bin/debuginfo-install", line 116, in <module>
    util = DebugInfoInstall()
  File "/usr/bin/debuginfo-install", line 42, in __init__
    self.main()
  File "/usr/bin/debuginfo-install", line 70, in main
    self.buildTransaction()
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 587, in
buildTransaction
    rescode, restring = self._skipPackagesWithProblems(rescode, restring)
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 622, in
_skipPackagesWithProblems
    rescode, restring = self.resolveDeps()
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 738, in resolveDeps
    CheckDeps, checkinstalls, checkremoves, missing = self._resolveRequires(errors)
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 832, in
_resolveRequires
    (checkdep, missing, errormsgs) = self._processReq(po, dep)
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 260, in _processReq
    CheckDeps, missingdep = self._requiringFromInstalled(po, requirement, errormsgs)
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 375, in
_requiringFromInstalled
    pkgs = self.pkgSack.returnNewestByName(name)
  File "/usr/lib/python2.5/site-packages/yum/packageSack.py", line 347, in
returnNewestByName
    return bestofeach.returnNewestByName(name)
  File "/usr/lib/python2.5/site-packages/yum/packageSack.py", line 752, in
returnNewestByName
    raise PackageSackError, 'No Package Matching  %s' % name
yum.Errors.PackageSackError: No Package Matching  libgconf-java


Comment 3 Tim Lauridsen 2008-02-07 10:06:35 UTC
This error is fixed in upstream yum HEAD, so it sould work when yum 3.2.11 is
released soon.

Comment 4 Andrew Farris 2008-02-28 10:35:59 UTC
Problem appears to be fixed, just tested a case that should have triggered it
like before.