Bug 17458

Summary: gpk-repos should refresh cash afterwards
Product: PackageKit Reporter: Sebastian Heinlein <devel>
Component: GeneralAssignee: Richard Hughes <richard>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Sebastian Heinlein 2008-09-06 02:45:53 UTC
If changes have been made to the repository information, gpk-repo should call a refresh of the cash after closing.
Comment 1 Richard Hughes 2008-09-06 03:04:33 UTC
It should do already. If you enable or disable a repo, you get a StateHasChanged method called, which forces Pk to drop caches. Can you describe in detail what you are seeing please? Thanks.
Comment 2 Sebastian Heinlein 2008-10-13 23:34:56 UTC
But StateHasChanged only affects the internal cache of packagekitd. For apt we would have to make a Refresh call to the backend. This is not the case for other backends?

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.