Bug 248705 - pup Crash while resolving dependencies
Summary: pup Crash while resolving dependencies
Alias: None
Product: Fedora
Classification: Fedora
Component: pirut   
(Show other bugs)
Version: 7
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2007-07-18 12:05 UTC by Frank Solensky
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-08-15 13:44:25 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Crash log (1.55 KB, text/plain)
2007-07-18 12:05 UTC, Frank Solensky
no flags Details

Description Frank Solensky 2007-07-18 12:05:34 UTC
Description of problem:
Crashes while resolving dependencies for glibc

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

How reproducible:

Steps to Reproduce:
1. Start "pup"
2. Include current "glibc" as one of the packages to be updated
3. Start updates
Actual results:
Crash reported during "resolving dependencies" step

Expected results:
Not a crash?

Additional info:

Comment 1 Frank Solensky 2007-07-18 12:05:35 UTC
Created attachment 159512 [details]
Crash log

Comment 2 Frank Solensky 2007-07-18 12:08:43 UTC
"rpm -qf /usr/bin/pup" returns pirut-1.3.7-1.fc7

Comment 3 Jeremy Katz 2007-07-24 20:28:45 UTC
What's the output of 'rpm -q --qf "%{NAME}.%{ARCH}\n" glibc'?

Comment 4 Frank Solensky 2007-07-25 01:49:45 UTC
"glibc.i686" twice.

When I run "rpm -q glibc" two packages are listed: glibc.2.5-10.fc6 and glibc.2.6-3

Comment 5 Ameya Gore 2007-07-31 02:24:28 UTC
This stack trace may help you.

Component: pirut
Summary: TB27ac5246 <string>:68:__iter__:SyntaxError: no element found: line 1,
column 0

Traceback (most recent call last):
  File "/usr/sbin/pup", line 650, in <module>
  File "/usr/sbin/pup", line 643, in main
    pup = PackageUpdater(not options.autoapply, options.config)
  File "/usr/sbin/pup", line 88, in __init__
    GraphicalYumBase.__init__(self, False, config)
  File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 124, in __init__
  File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 226, in reset
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 426, in doGroupSetup
    return self._getGroups()
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 474, in _getGroups
  File "/usr/lib/python2.5/site-packages/yum/comps.py", line 349, in add
    for event, elem in parser:
  File "<string>", line 68, in __iter__
SyntaxError: no element found: line 1, column 0

Local variables in innermost frame:
p: <XMLParser object at 0x9a01350>
self: <iterparse object at 0x9a1dbec>
b: <TreeBuilder object at 0x9a04d78>
events: []

Comment 6 Jeremy Katz 2007-08-10 19:54:07 UTC
If you do 'rpm -e --justdb glibc.2.5-10.fc6' and then try again, does it work

Comment 7 Frank Solensky 2007-08-15 01:38:35 UTC
Yes, that takes care of the problem.

Could that be included in some manner so that the extra command doesn't need to
be entered manually?

Comment 8 Jeremy Katz 2007-08-15 13:44:25 UTC
The problem is that you had an update which only partially completed at some
point.  And there's no way to programatically know that it's the case and that
it's not something else going on, therefore, manual intervention is occasionally

Comment 9 Frank Solensky 2007-08-26 15:57:14 UTC
Understood.  Would it be possible to avoid the crash listed in the first
attachment then?  The "rpm -e" resolves the package conflict for me but the
underlying problem may still be there.

The crash listed in comment #5 is different; likely a separate issue.

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