Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 596779 - Fedora 13 kpackagekit fails - "A problem that we were not expecting has occurred..."
Summary: Fedora 13 kpackagekit fails - "A problem that we were not expecting has occur...
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: 13
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2010-05-27 13:56 UTC by Robert Gadsdon
Modified: 2010-06-10 19:15 UTC (History)
8 users (show)

Fixed In Version: PackageKit-0.6.5-1.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-06-10 19:15:26 UTC

Attachments (Terms of Use)

Description Robert Gadsdon 2010-05-27 13:56:19 UTC
Recent upgrade from F12 to F13 - X86_64 on quad-core Intel Core2.

kpackagekit worked correctly under F12, but with F13 gives:
   "A problem that we were not expecting has occurred.
    Please report this bug with the error description."
- and the following description:
Error Type: <class 'socket.error'>
Error Value: [Errno 2] No such file or directory
  File : /usr/share/PackageKit/helpers/yum/, line 3418, in <module>
  File : /usr/share/PackageKit/helpers/yum/, line 3414, in main
    backend = PackageKitYumBackend('', lock=True)
  File : /usr/share/PackageKit/helpers/yum/, line 264, in __init__
    sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_CONGESTION, "lp")
  File : <string>, line 1, in setsockopt

Steps to reproduce:
Run kpackagekit
Click on "Software Updates"

Versions: kpackagekit-0.6.0-2.fc13.x86_64

Comment 1 Steven M. Parrish 2010-05-27 14:21:59 UTC
I have them same versions on my system and I am unable to reproduce this error.  Can anyone else?


Comment 2 Richard Hughes 2010-05-27 15:32:00 UTC
Well, I guess we need a try, except: around that code. I'm intrigued what kind of system you have that generated this -- I can't certainly reproduce. Is there anything odd about your system or is it a stock install?

commit 2e3605d941458f77951dba56e4a493b2a456d9d9
Author: Richard Hughes <>
Date:   Thu May 27 16:28:32 2010 +0100

    yum: catch and ignore the socket exception on oddball systems. Fixes rh#596779


Comment 3 Robert Gadsdon 2010-05-27 16:03:06 UTC
Updated from Fedora 12 using yum (after updating fedora-release...rpm), due to problem getting the F13 DVD to load/run (despite verification that it seemed OK, and an F12 DVD _did_ load/run correctly in the same DVD drive...).


Comment 4 Robert Gadsdon 2010-05-27 16:14:57 UTC
I have just recompiled kpackagekit from the F13 source RPM, and the problem still occurs.


Comment 5 Richard Hughes 2010-05-27 16:26:47 UTC
It's not a kpackagekit problem, it's a PackageKit (the daemon) problem.

Comment 6 Fedora Update System 2010-06-02 11:13:22 UTC
PackageKit-0.6.5-1.fc13 has been submitted as an update for Fedora 13.

Comment 7 Robert Gadsdon 2010-06-02 13:40:09 UTC
Updated PackageKit (X86_64) to version 0.6.5-1.fc13 RPMs, and kpackagekit now works correctly on my system

Thank you.

Robert Gadsdon
June 2nd, 2010

Comment 8 Fedora Update System 2010-06-03 18:08:37 UTC
PackageKit-0.6.5-1.fc13 has been pushed to the Fedora 13 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 PackageKit'.  You can provide feedback for this update here:

Comment 9 Fedora Update System 2010-06-10 19:15:17 UTC
PackageKit-0.6.5-1.fc13 has been pushed to the Fedora 13 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.