Bug 463349

Summary: packagekit cannot refresh package lists
Product: [Fedora] Fedora Reporter: acb
Component: PackageKitAssignee: Robin Norwood <robin.norwood>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: medium    
Version: rawhideCC: lmacken, madko, rhughes, richard, robertdaleweir, robin.norwood, tuxbrewr
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-27 13:04:46 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 acb 2008-09-23 00:36:29 UTC
Description of problem:
Error Type: <class 'sqlite3.OperationalError'>
Error Value: no such table: packages
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1819, in <module>
    main()
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1810, in main
    backend.dispatch_command(args[0],args[1:])
  File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 527, in dispatch_command
    self.search_group(options,searchterms)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 95, in wrapper
    func(*args,**kwargs)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 279, in search_group
    pkgs = direct.resolve(package)
  File : /usr/share/PackageKit/helpers/yum/yumDirect.py, line 61, in resolve
    cursor.execute('SELECT name,epoch,version,release,arch,summary,rpm_sourcerpm,pkgKey FROM packages WHERE name = ?',[package])


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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Richard Hughes 2008-09-23 13:08:29 UTC
I've fixed this in rawhide, I'll be backporting a fix in the next week or so.

Comment 2 Robert Weir 2008-10-11 18:28:10 UTC
(In reply to comment #1)
> I've fixed this in rawhide, I'll be backporting a fix in the next week or so.

--------

I have downloaded Rawhide on Oct 9, 2008.  I have this error coming up on my install as well.  How can I get the new kernel or whatever, not through updates as they are not working.  Would like to do further tests.  Thanks...

robertdaleweir

Comment 3 Richard Hughes 2008-10-14 08:46:18 UTC
Robert, you can't be getting that exact error -- yumDirect doesn't exist in rawhide...

Comment 4 Robert Weir 2008-10-14 16:50:31 UTC
Richard
  The following two errors are observed under the conditions mentioned about each.  The error seemed similar probably not the exact message.  Sorry.

--------->

Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

The above message seems to popup when an Update is attempted.

The following error appears when I try to add software System > Administration > Add/Remove Software 


Error Type: <class 'sqlite3.OperationalError'>
Error Value: no such table: packages
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1819, in <module>
    main()
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1816, in main
    backend.dispatch_command(args[0],args[1:])
  File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 527, in dispatch_command
    self.search_group(options,searchterms)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 95, in wrapper
    func(*args,**kwargs)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 279, in search_group
    pkgs = direct.resolve(package)
  File : /usr/share/PackageKit/helpers/yum/yumDirect.py, line 61, in resolve
    cursor.execute('SELECT name,epoch,version,release,arch,summary,rpm_sourcerpm,pkgKey FROM packages WHERE name = ?',[package])

The above happens no matter which Package Group I try to install.

<---------
  From About My Computer
   Fedora
     Release 9.91 (Rawhide)
     Kernel Linux 2.6.27_0.352.rc7.git1.fc10.x86_64
               <------>
I cannot get any updates, even though I have a good and proper Internet Connection.  Any help would be appreciated.
Robert