[ILUG] RPM puzzle

Niall O Broin niall at linux.ie
Sat May 25 23:20:17 IST 2002


I have an RH6.2 box on which I want to upgrade openssh. For management
purposes, I want to install from an RPM so I downloaded the latest openssh
source rpm and did:

rpm --rebuild openssh.src.rpm

and got an rpm usage message. So I got a version 4.0.4 source RPM which of
course I couldn't  rpm --rebuild  but I installed the source RPM and built
from the source. Now  rpm --rebuild says  --rebuild: unknown option 

I have another box with RH7.2 so I copied the rpm binary from there but I
still get  --rebuild: unknown option . So now I have


[root at rh72 root]# /bin/rpm --rebuild
rpmb: no packages files given for rebuild
[root at rh72 root]# md5sum /bin/rpm
9c69deb21ef02c46c3cf41afaa646202  /bin/rpm
[root at rh72 root]# file /bin/rpm
/bin/rpm: ELF 32-bit LSB executable, Intel 80386, version 1, statically
linked, stripped


[root at rh62 /root]# ./XXrpm --rebuild
--rebuild: unknown option
[root at rh62 /root]# md5sum ./XXrpm
9c69deb21ef02c46c3cf41afaa646202  ./XXrpm
[root at rh62 /root]# file ./XXrpm
./XXrpm: ELF 32-bit LSB executable, Intel 80386, version 1, statically
linked, stripped


Ignoring the fact that I still haven't upgraded openssh on rh62, which was
the object of the exercise, what the hell is going on here ?



Niall




More information about the ILUG mailing list