Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 671026

Summary: [RHEL6.1] Getting traceback in PackageKit, when packages are available to be installed
Product: Red Hat Enterprise Linux 6 Reporter: Jeff Burke <jburke>
Component: PackageKitAssignee: Richard Hughes <rhughes>
Status: CLOSED DUPLICATE QA Contact: desktop-bugs <desktop-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 6.1CC: dgregor, james.antill, notting
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-24 18:53:27 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:

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 ***