Description of enhancement request: As a complement to #1253850, DNF should support xml.xz metadata, so that if tools can create rpm-md and comps data compressed with xml.xz, DNF can decompress them and parse it. Version-Release number of selected component (if applicable): dnf-1.1.0-2.fc22
libsolv supports lzma compression in F22. `-DENABLE_LZMA_COMPRESSION=1` is set. Which libsolv version do you use?
I use what's in Fedora 22. I did see the ENABLE_LZMA_COMPRESSION flag being set, however, I thought that DNF does not use libsolv's repository management code, and instead relies on librepo and libcomps. To the best of my knowledge, librepo and libcomps do not support xml.xz metadata.
Created attachment 1074360 [details] reproducer It would be nice if you would provide some details based on what you have reopened the bug. So far, in this and in the other bug, I can see just some guesses. As you can see, Fedora already uses xz-compressed "comps", "updateinfo" and "prestodelta" and DNF just works. I've spent a significant amount of time to re-test whether DNF works with "filelists.xml.xz", "other.xml.xz" and "primary.xml.xz" as well. See the attachment. So, if there is a particular situation where DNF doesn't seem to work with a XZ-compressed file, please share it with us including the tracebacks, coredumps and error messages. Otherwise, I'd like to spent my time with real issues.
this was changed long time ago to compile libsolv with xz support. AFAIK librepo downloads any compression format.