Bug 514708

Summary: error with KpackageKit and own repositories
Product: [Fedora] Fedora Reporter: Mikhail <midnighterdev>
Component: PackageKitAssignee: Richard Hughes <richard>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: balajig81, kevin, ltinkl, rdieter, rhughes, richard, smparrish
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.4.9-1.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-30 12:33:29 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 Mikhail 2009-07-30 12:10:37 UTC
Description of problem:

I create own repositories with "mrepo". Change all link in /etc/yum.repos.d/* for work YUM with new repositories. "yum clean all" then "yum update", "yum search" work fine. But sometimes I have error window in tray from KpackageKit.

Traceback (most recent call last):
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 1400, in refresh_cache
self.yumbase.doGroupSetup()
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 577, in doGroupSetup
return self._getGroups()
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 639, in _getGroups
raise Errors.GroupsError, _('No Groups Available in any repository')
GroupsError: No Groups Available in any repository


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

Fedora 11 last updates

How reproducible:

always

Steps to Reproduce:
1. create repositories with "mrepo"
2. change link in /etc/yum.repos.d/*on new repositories
3. wait ten minutes in KDE
  
Actual results:

error window in tray

Expected results:

no error window

Additional info:

Comment 1 Richard Hughes 2009-07-30 12:33:29 UTC
I've just committed this to PackageKit which should fix things.

commit e50e8e23da0bd55781512fa710c3b29970169fc5
Author: Richard Hughes <richard>
Date:   Thu Jul 30 13:31:32 2009 +0100

    yum: Ignore another exception from yum about having no groups. Fixes rh#5147

New release out Monday.

Comment 2 Fedora Update System 2009-08-03 14:33:02 UTC
PackageKit-0.4.9-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/PackageKit-0.4.9-1.fc11

Comment 3 Fedora Update System 2009-08-22 01:00:59 UTC
PackageKit-0.4.9-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.