Bug 671026 - [RHEL6.1] Getting traceback in PackageKit, when packages are available to be installed
Summary: [RHEL6.1] Getting traceback in PackageKit, when packages are available to be ...
Keywords:
Status: CLOSED DUPLICATE of bug 670163
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: PackageKit
Version: 6.1
Hardware: Unspecified
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Richard Hughes
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
: 672301 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-19 23:07 UTC by Jeff Burke
Modified: 2011-01-24 18:53 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-24 18:53:27 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Jeff Burke 2011-01-19 23:07:06 UTC
Description of problem:
PackageKit is getting a traceback when I click on it to update.

"An internal systems error has occurred
A problem that we were not expecting has occured.
Please report this bug in your distribution bugtracker with
the error description."

Version-Release number of selected component (if applicable):
gnome-packagekit-2.28.3-3.el6.x86_64
Update Applet 2.28.3

How reproducible:
Always now
  
Actual results:
Traceback (most recent call last):
  File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 3110, in __init__
    self.repos.confirm_func = self._repo_gpg_confirm
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 855, in <lambda>
    repos = property(fget=lambda self: self._getRepos(),
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 578, in _getRepos
    prerepoconf = self.prerepoconf
AttributeError: 'PackageKitYumBase' object has no attribute 'prerepoconf'

Expected results:
Should be able to install updates with out an exception

Additional info:
This error happened after I updated the yum-rhn-plugin. Not sure it has anything to do with it. But just in case it does.updating 
Jan 19 17:40:53 FQDN yum[3550]: Updated: yum-rhn-plugin-0.9.1-12.el6.noarch

Comment 2 Jeff Burke 2011-01-20 19:09:01 UTC
FYI, Downgrading the following packages allows my system to work again:
yum-rhn-plugin rhn-client-tools rhn-setup-gnome rhn-check rhn-setup 

----- yum downgrade information -----
# yum downgrade yum-rhn-plugin rhn-client-tools rhn-setup-gnome rhn-check rhn-setup
Loaded plugins: auto-update-debuginfo, refresh-packagekit, rhnplugin
Setting up Downgrade Process
This system is not registered with RHN.
RHN support will be disabled.
Resolving Dependencies
--> Running transaction check
---> Package rhn-check.noarch 0:1.0.0-38.el6 will be a downgrade
---> Package rhn-check.noarch 0:1.0.0-45.el6 will be erased
---> Package rhn-client-tools.noarch 0:1.0.0-38.el6 will be a downgrade
---> Package rhn-client-tools.noarch 0:1.0.0-45.el6 will be erased
---> Package rhn-setup.noarch 0:1.0.0-38.el6 will be a downgrade
---> Package rhn-setup.noarch 0:1.0.0-45.el6 will be erased
---> Package rhn-setup-gnome.noarch 0:1.0.0-38.el6 will be a downgrade
---> Package rhn-setup-gnome.noarch 0:1.0.0-45.el6 will be erased
---> Package yum-rhn-plugin.noarch 0:0.9.1-5.el6 will be a downgrade
---> Package yum-rhn-plugin.noarch 0:0.9.1-12.el6 will be erased
--> Finished Dependency Resolution

Dependencies Resolved
================================================================================
Downgrading:
 rhn-check noarch 1.0.0-38.el6
RHEL6-os                                        51 k
 rhn-client-tools noarch 1.0.0-38.el6 RHEL6-os                                       487 k
 rhn-setup noarch 1.0.0-38.el6                                         RHEL6-os                                        80 k
 rhn-setup-gnome noarch 1.0.0-38.el6                                         RHEL6-os                                       110 k
 yum-rhn-plugin noarch 0.9.1-5.el6 RHEL6-os                                        68 k

Transaction Summary
================================================================================
Downgrade     5 Package(s)

Total download size: 797 k
Is this ok [y/N]: y
Downloading Packages:
(1/5): rhn-check-1.0.0-38.el6.noarch.rpm       |  51 kB     00:00     
(2/5): rhn-client-tools-1.0.0-38.el6.noarch.rpm| 487 kB     00:00     
(3/5): rhn-setup-1.0.0-38.el6.noarch.rpm       |  80 kB     00:00     
(4/5): rhn-setup-gnome-1.0.0-38.el6.noarch.rpm | 110 kB     00:00     
(5/5): yum-rhn-plugin-0.9.1-5.el6.noarch.rpm   |  68 kB     00:00     
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total               5.9 MB/s | 797 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : rhn-client-tools-1.0.0-38.el6.noarch  1/10 
  Installing : rhn-setup-1.0.0-38.el6.noarch         2/10 
  Installing : yum-rhn-plugin-0.9.1-5.el6.noarch     3/10 
  Installing : rhn-check-1.0.0-38.el6.noarch         4/10 
  Installing : rhn-setup-gnome-1.0.0-38.el6.noarch   5/10 
  Cleanup    : rhn-check-1.0.0-45.el6.noarch         6/10 
  Cleanup    : yum-rhn-plugin-0.9.1-12.el6.noarch    7/10 
  Cleanup    : rhn-setup-gnome-1.0.0-45.el6.noarch   8/10 
  Cleanup    : rhn-setup-1.0.0-45.el6.noarch         9/10 
  Cleanup    : rhn-client-tools-1.0.0-45.el6.noarch  10/10 

Removed:
  rhn-check.noarch 0:1.0.0-45.el6
  rhn-client-tools.noarch 0:1.0.0-45.el6
  rhn-setup.noarch 0:1.0.0-45.el6
  rhn-setup-gnome.noarch 0:1.0.0-45.el6
  yum-rhn-plugin.noarch 0:0.9.1-12.el6     

Installed:
  rhn-check.noarch 0:1.0.0-38.el6
  rhn-client-tools.noarch 0:1.0.0-38.el6
  rhn-setup.noarch 0:1.0.0-38.el6
  rhn-setup-gnome.noarch 0:1.0.0-38.el6
  yum-rhn-plugin.noarch 0:0.9.1-5.el6     

Complete!

Comment 3 Bill Nottingham 2011-01-24 18:50:06 UTC
*** Bug 672301 has been marked as a duplicate of this bug. ***

Comment 4 James Antill 2011-01-24 18:53:27 UTC

*** This bug has been marked as a duplicate of bug 670163 ***


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