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
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!