Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1273119 - Updated PackageKit cached metadata for Workstation live media
Summary: Updated PackageKit cached metadata for Workstation live media
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: 23
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2015-10-19 16:23 UTC by Kalev Lember
Modified: 2015-11-01 02:32 UTC (History)
7 users (show)

Fixed In Version: PackageKit-1.0.10-2.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-11-01 02:32:59 UTC
Type: Bug

Attachments (Terms of Use)

Description Kalev Lember 2015-10-19 16:23:22 UTC
A little bit of background first:

The Workstation images include a package called PackageKit-cached-metadata that ships a snapshot of yum repo metadata. This was done in order to make gnome-software initial experience better, so that it wouldn't have to go and download a huge amount of metadata just to be able to show what's currently installed in the system.

Normally, it's fine if the cached metadata package is a little bit behind, as gnome-software refreshes the metadata daily. 

However, this approach had some downsides. First, we normally don't keep the package up to date and only update it before the release. This means that during pre-release testing it is sometimes horribly out of date.

Secondly, shipping it in a subpackage of PackageKit means that whenever PackageKit is updated, post-GA, users also have to download a 100 MB cached metadata package update.

Third, the manual updating is time consuming to do manually and error prone. For example, last release we accidentally shipped x86_64 cached metadata for i686 images ...

These reports all stem from the fact that PackageKit-cached-metadata is out of date:

So, I talked to dgilmore about this today and we came up with a better solution, which is to automatically copy the metadata over from during image composes. I came up with a spin-kickstarts change, that implements this. I would like to switch to the new approach for next TC/RC; as far as my testing goes, it's working as expected and much better than the previous approach. This change would involve:

1) applying to spin-kickstarts
2) dropping PackageKit-cached-metadata from comps
3) doing a new PackageKit build that obsoletes and drops the PackageKit-cached-metadata subpackage

A test image that dgilmore built with the patch above is available at if anyone wants to try booting it and seeing if gnome-software works.

Comment 1 Kalev Lember 2015-10-19 19:20:58 UTC
As per the discussion in the blocker review meeting, I've pushed the spin-kickstarts and comps fixes, and new PackageKit build is incoming:

Comment 2 Fedora Update System 2015-10-19 19:23:14 UTC
PackageKit-1.0.10-2.fc23 has been submitted as an update to Fedora 23.

Comment 3 Adam Williamson 2015-10-19 19:55:51 UTC
Discussed at 2015-10-19 blocker review meeting: .

During the meeting this was approved as an FE (but rejected as a blocker), but AIUI, we do not in fact need to pull PackageKit-1.0.10-2.fc23 through the freeze; 1) and 2) are sufficient to address this for the release images, and both changes have now been applied (and are just waiting on a mash). Thus I'm going to 'unpropose' this, so we don't pull PK through the freeze needlessly.

Please yell if that was wrong and we actually want to include PK in the frozen images.

Comment 4 Kamil Páral 2015-10-20 08:31:55 UTC
Seems to be working as intended.

Comment 5 Fedora Update System 2015-10-20 21:58:18 UTC
PackageKit-1.0.10-2.fc23 has been pushed to the Fedora 23 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 'dnf --enablerepo=updates-testing update PackageKit'
You can provide feedback for this update here:

Comment 6 Fedora Update System 2015-11-01 02:32:56 UTC
PackageKit-1.0.10-2.fc23 has been pushed to the Fedora 23 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.