installing OpenSSH rpm on SuSE 6.2
James Ralston
qralston+ml.openssh-unix-dev at andrew.cmu.edu
Mon Sep 4 17:42:16 EST 2000
On Sun, 3 Sep 2000, Faheem Mitha wrote:
> Aargh, I was afraid someone would suggest that. I am seriously
> worried I will run into problems with rpm 3.05, and then I will not
> be able to reinstall my old version of rpm because rpm is not
> working.
You're going to run into *more* problems if you don't upgrade to
rpm-3.0.5, because binary packages produced by it are frequently going
to be incompatible with previous versions of RPM, due to rpmlib()
dependencies that rpm-3.0.5 uses to track incompatible changes across
different versions of RPM.
Note, however, that nested %if's are broken in both rpm-3.0.5 and
rpm-4.0. See:
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=14463
> Also, I might need to rebuild my database, which might cause further
> problems.
You shouldn't need to, as rpm-3.0.5 uses the same db1-1.85 that rpm
has always used.
> Can't I tweak the spec file somehow?
Well, there are two versioned PreReq's in contrib/redhat/openssh.spec.
The first is in the main package, and is immediately followed by a
versioned Requires:
PreReq: openssl >= 0.9.5a
Requires: openssl >= 0.9.5a
This PreReq is actually an error, and *should* be removed. Nothing in
the installation process of openssh depends on openssl being installed
first. The "Requires" line is sufficient.
The second PreReq is in the server subpackage:
PreReq: openssh chkconfig >= 0.9
This PreReq is completely correct; the openssh.spec %post script runs
/sbin/chkconfig, so chkconfig *must* be installed on the system before
openssh.
If you absolutely cannot or will not upgrade to rpm 3.0.5, then the
safest thing to do would be to replace the above PreReq line with:
PreReq: openssh
Requires: chkconfig >= 0.9
IMO, it's very unlikely that chkconfig won't be installed on your
system, as many things depend on it.
James
More information about the openssh-unix-dev
mailing list