installing OpenSSH rpm on SuSE 6.2

Faheem Mitha faheem at email.unc.edu
Tue Sep 5 03:05:43 EST 2000



On Mon, 4 Sep 2000, James Ralston wrote:

> On Sun, 3 Sep 2000, Faheem Mitha wrote:

> 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.

Well, these days I increasingly recompile my rpms. I guess I'm just a
Nervous Nellie when it comes to even the slight possibility of
trashing my system.

> 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

Er, is this a serious problem (ie. should I upgrade anyway), and I
didn't even know there was an rpm 4.0!

> > 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.

Yes, I noted that on the rpm web site.

> > 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.

rpm seemed to be having problems with the >= 0.9.5.a part (some (not
very clear) documentation on www.rpm.org seemed to suggest this might
be the case). I *know* the version of openssl is 0.9.5.a, so thats OK.

> 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.

This may be unlikely, but appears to be the case. When I type 

locate chkconfig I get precisely two files as follows (SuSE 6.2):

/opt/kde/share/apps/klyx/chkconfig.ltx
/usr/share/lyx/chkconfig.ltx

Is it possible it might be called something else on my system. If
not, should I install it? It didn't intefere with my compliation,
since chkconfig appears only to be required for the server rpm, which
I do not require since I will not be logging in from outside.

This is a *really* helpful mailing list! Thanks.

                                              Faheem.






More information about the openssh-unix-dev mailing list