Bug 558770 - Yumex crashes when package not upgradable
Summary: Yumex crashes when package not upgradable
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: yumex
Version: rawhide
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tim Lauridsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-26 11:28 UTC by Steven Usdansky
Modified: 2010-02-11 14:49 UTC (History)
1 user (show)

Fixed In Version: 2.9.7-1.fc12
Clone Of:
Environment:
Last Closed: 2010-02-11 14:49:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Steven Usdansky 2010-01-26 11:28:28 UTC
Description of problem: Yumex crashes when package not upgradable; not sure of exact condition but will supply example


Version-Release number of selected component (if applicable):
yumex-2.9.6-3.fc13.noarch
yum-utils-1.1.24-2.fc13.noarch
yum-metadata-parser-1.1.4-1.fc13.x86_64
yum-presto-0.6.2-1.fc13.noarch
yum-3.2.25-12.fc13.noarch

How reproducible:
100% of the time on certain errors

Steps to Reproduce:
1. Run yumex
2. select gegl for updating
3. Click Apply 
4. Error msg pops up (see below)
5. Click on Close button to close error window
6. Error window and yumex both go away
  

Expected results:
Error window closes, Yumex stays open ready for another transaction

Additional info:
1. Error msg from yumex:
Error msg - exception was triggered:
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/yumexbackend/yum_server.py", line 1138, in dispatcher
    self.parse_command(args[0], args[1:])
  File "/usr/lib/python2.6/site-packages/yumexbackend/yum_server.py", line 1094, in parse_command
    self.build_transaction()
  File "/usr/lib/python2.6/site-packages/yumexbackend/yum_server.py", line 674, in build_transaction
    rc, msgs = self.buildTransaction()
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 815, in buildTransaction
    (rescode, restring) = self.resolveDeps()
  File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 714, in resolveDeps
    CheckDeps, checkinstalls, checkremoves, missing = self._resolveRequires(errors)
  File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 816, in _resolveRequires
    (checkdep, missing, errormsgs) = self._processReq(po, dep)
  File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 285, in _processReq
    CheckDeps, missingdep = self._requiringFromInstalled(po, requirement, errormsgs)
  File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 419, in _requiringFromInstalled
    return self._requiringFromTransaction(requiringPo, requirement, errorlist)
  File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 525, in _requiringFromTransaction
    msg = self._err_missing_requires(requiringPo, requirement)
  File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 313, in _err_missing_requires
    msg = self.dsCallback.format_missing_requires(reqPo, reqTup)
  File "/usr/share/yum-cli/output.py", line 1638, in format_missing_requires
    for pkg in sorted(yb.rpmdb.getProvides(needname)):
AttributeError: 'NoneType' object has no attribute 'rpmdb'


2. Error msg from yum upgrade gegl:
/usr/lib/python2.6/site-packages/yum$ sudo yum upgrade gegl
Loaded plugins: langpacks, presto
Adding en_US to language list
Setting up Upgrade Process
Resolving Dependencies
--> Running transaction check
---> Package gegl.x86_64 0:0.1.0-3.fc13 set to be updated
--> Processing Dependency: libbabl-0.1.so.0()(64bit) for package: gegl-0.1.0-3.fc13.x86_64
--> Running transaction check
--> Processing Dependency: libbabl-0.0.so.0()(64bit) for package: 2:gimp-2.6.8-1.fc13.x86_64
---> Package babl.x86_64 0:0.1.2-1.fc13 set to be updated
--> Finished Dependency Resolution
Error: Package: 2:gimp-2.6.8-1.fc13.x86_64 (@rawhide)
           Requires: libbabl-0.0.so.0()(64bit)
           Removing: babl-0.1.0-5.fc13.x86_64 (installed)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Comment 1 Tim Lauridsen 2010-01-26 13:14:52 UTC
Looks like some changes i yum in rawhide, has broken yumex, i will fix it

Comment 2 Tim Lauridsen 2010-01-26 13:51:35 UTC
fixed upstream

http://git.fedoraproject.org/git/?p=yumex.git;a=commitdiff;h=2bcd85e73dfff27c635b975c343b1963ed886d1a

I have a pending patch to yum, so it dont blow up in this case.

We will see what hits the repos first.

Comment 3 Fedora Update System 2010-02-01 16:27:41 UTC
yumex-2.9.7-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/yumex-2.9.7-1.fc12

Comment 4 Fedora Update System 2010-02-02 20:40:53 UTC
yumex-2.9.7-1.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update yumex'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1383

Comment 5 Fedora Update System 2010-02-11 14:49:12 UTC
yumex-2.9.7-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


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