=> xz-4.999.8-0.8.beta.fc12.src.rpm => xz-lzma-compat-4.999.8-0.8.beta.fc12.i686 in rawhide-development-i386 File conflict with: lzip-1.7-1.fc12.i686 /usr/bin/lzdiff /usr/bin/lzgrep /usr/share/man/man1/lzdiff.1.gz /usr/share/man/man1/lzgrep.1.gz
This was caused by a recent lzip update. CC'ing lzip maintainer.
The way how lzip upstream decided to name these utilities is very unfortunate. It conflicts with xz-compat-lzma and with the original lzma as well. Is it possible to propose to upstream to name the utilities in a different way like: lzipdiff or lzipgrep? It makes sense IMO because lzip ships utilities like lzip and lziprecover and not lz and lzrecover.
I will ask upstream about renaming it, but can we make the tools from xz also support lzip, gz and bzip2, e.g. with something like the following and a wider pattern for the file suffix? Then it would probably easier to get upstream convinced and it should not disturb the xz tools. #! /bin/bash file="${1}" if [ "$(head -c 6 "${file}")" = "$(printf "\xFD7zXZ\x00")" ] then tool="xz" elif [ "$(head -c 4 "${file}")" = "LZIP" ] then tool="lzip" elif [ "$(head -c 3 "${file}")" = "BZh" ] then tool="bzip2" elif [ "$(head -c 3 "${file}")" = "$(printf "\x1f\x8b\x08")" ] then tool="gzip" fi echo "Tool is: ${tool}"
I like the idea to support more compression algorithms. It sounds more like a new upstream project to me where support or wrapper for diffing/grepping of all compression utilities is implemented. The problem is that if we want to support diffing/grepping etc. for every compression utility in each compression library we need to modify each of them (zdiff, bzdiff, lzdiff, etc.) what sounds more like a maintenance nightmare and I'm even not sure upstream of all of these helpers will accept that. Renaming the lzip diff/grep utilities seems to be the least-breakage way to me. (The problem that comes out if you want to implement the universal utility is that baseline LZMA compression doesn't have any lead magic bytes what makes the situation even harder)
There is now a new package with the files removed: http://koji.fedoraproject.org/koji/taskinfo?taskID=1588719 They will be inclued in zutils: http://www.nongnu.org/lzip/zutils.html I asked rel-eng to consider tagging it into F12 alpha here: https://fedorahosted.org/rel-eng/ticket/2062 Please close the rel-eng ticket, if you think it's not work it.
lzip-1.7-2.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.