On a fresh install of Fedora 9 Beta x86_64, when first using the Add/Remove Software component of System -> Administration, PackageKit displays the error "No package cache is available" and "yum cache is invalid and has been rebuilt" when attempting to view groups. However, the yum cache does not appear to be created. A Google search of the error message lead me to this: http://lists.freedesktop.org/archives/packagekit/2008-February/002052.html Running the command 'pkcon refresh' did appear to fix the problem.
Robin, we are currently doing: self._refresh_yum_cache() self.error(ERROR_NO_CACHE,"Yum cache was invalid and has been rebuilt.") If we got the cache, can't we just requeue the request in the backend? ERROR_NO_CACHE is designed for when we have no cache and can't get any. Ideally, the cache should be refreshed, and then the method should continue.
Richard, Yes, I think you're correct. I'll need to look at it a bit. If we do 'start over', at which point should we start over? Is it alright for us to resend signals like these: self.AllowCancel(True) self.NoPercentageUpdates() self.StatusChanged(STATUS_QUERY) ?
Yup. :-) I followed up in my email with other stuff we need to do.
*** Bug 440689 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 439735 ***