Very long story short, I'm building rpms with 188.8.131.52 on ubuntu
and need to install on RH 7.1 with rpm 4.0.2.
When you have stopped laughing, here's the problem :)
I need to tell rpm to never put a rpmlib(PartialHardlinkSets) in
the rpms it builds.
When I add a hardlink in the rpm, rpm 184.108.40.206 "helpfully" adds a
rpmlib(PartialHardlinkSets) that is not relevant to my case and prevents
installing the rpm on RH 7.1 when otherwise said rpm and hardlinks therein,
work just fine.
Currently, the only way I found to fix this is:
perl -pi -e 's|rpmlib\(PartialHardlinkSets\)|rpmlib(CompressedFileNames)|' scripts-1.1.20091028-0.i386.rpm
perl -pi -e 's|8846d64e6f6f85e7d6613958acc0a9a1464ad2ef|93d6f9fdaea5908b6693fb3235320c43d70cc15d|' scripts-1.1.20091028-0.i386.rpm
command #1: replace property with another one of the same string length
command #2: hand fix the SHA1 signature
I'm obviously hoping that there is a way to tell rpm 220.127.116.11 to just
not bother with rpmlib(PartialHardlinkSets)?
(yes, the rpm after I hack the property out, installs and works just fine in
my use case)
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/
Received on Thu Oct 29 07:30:25 2009