Red Hat Bugzilla – Bug 1274319
Put dnf's yumdb on live images
Last modified: 2015-10-30 11:28:45 EDT
Created attachment 1085506 [details]
[PATCH] live base: Migrate yum's yumdb over to dnf
Right now live iso images are all generated with livecd-creator, which internally still uses yum. The images itself only include dnf and yum is long gone.
Since livecd-creator is yum based, it creates a /var/lib/yum/yumdb as part of the installation. This however doesn't work for DNF and PackageKit which are reading and writing the yumdb in /var/lib/dnf/yumdb.
I would like to fix this for Fedora 23 by moving the yumdb to the correct location in kickstart %post script. I discussed this with jsilhan from the DNF team and he agrees this makes sense.
One visible thing it fixes is showing the source repo for installed packages in gnome-software.
Proposing as a freeze exception as it's an issue that is difficult to fix with an update, and it fixes a visible gnome-software UI problem on the live media.
Discussed at 2015-10-22 freeze exception review meeting: https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2015-10-22/f23-fe-review.2015-10-22-17.30.log.txt . Accepted as a freeze exception issue: this seems like a logical change that fixes at least one visible thing in the live image.
Er, are we sure a yum-written DB will always be compatible with DNF, though?
Thanks, pushed to spin-kickstarts f23 and master.
As for compatibility, it's supposed to be compatible. :)
Luckily we don't need to care about full compatibility with any old yumdb out there, only need to make sure that the freshly produced yumdb that's created during the image compose works.