T.C. Hollingsworth writes:
On Thu, Aug 1, 2013 at 4:33 PM, Sam Varshavchik
<mrsam(a)courier-mta.com>
wrote:
> I thought that it was an RPM bug, but it's really a package bug, but it's
> really really something that RPM should handle, but does not, so it should
> really be an RPM bug.
It's definitely an RPM bug, just one that is really, really hard to
fix. (IIRC it's due to a limitation in cpio, so fixing it would
require changing the format files in RPMs are used to something else,
which is...quite the undertaking.)
I don't see why using the cpio format makes it difficult to fix this. rpm
can't be just forking off cpio, and feeding it the payload inside an rpm
file. Otherwise there's no way to implement %noclobber.
rpm must be parsing the cpio format manually, and doing extraction by hand,
one file at a time, in order to be able to do %noclobber, and a few other
things.