Click to See Complete Forum and Search --> : need help upgrading openssh3.7.1p1.rpm
joesbox
10-13-2003, 01:20 PM
i am in dire need of upgrading my openssh. my lan shop has pinged my puter with having unsecure ssh and they want me to have 3.7.1p1. i went to the RH site and found 3.1p1-13.i386.rpm for RH7.1(the server i want to upgrade)
now if this will create the same patches as 3.7.1p1 then that is all fine and dandy but my lan shop only worries about numbers. if they don't get 3.7* then i will be locked out of the system until i get the upgrade that they want.
when i try and upgrade my RH9 server i get dependencies problems
#rpm -Uvhi openssh.new.rpm
openssh-server.old requires openssh.old.rpm
openssh-client.old requires openssh.old.rpm
openssh-askpass.old requires openssh.old.rpm
openssh-askpass-gnome.old requires openssh.old.rpm
when i try and upgrad the new sshd or client or askpass's i get that they require openssh.new.rpm
what can i do???
fredg
10-13-2003, 01:57 PM
You aren't upgrading properly - you can't do these one at a time since they are interdependant.
For RH 9 for example,, download all the relavent packages to an empty directory
openssh-3.5p1-11.i386.rpm
openssh-askpass-3.5p1-11.i386.rpm
openssh-askpass-gnome-3.5p1-11.i386.rpm
openssh-clients-3.5p1-11.i386.rpm
openssh-server-3.5p1-11.i386.rpm
Then, as root, cd into that directory and run:
rpm -Fvh *.rpm
As for Red Hat 7.1, you will have to settle for backported patches into openssh 3.1. There is nothing yet for any Red Hat Linux in the openssh 3.7 series.
If you must have openssh 3.7, then you will have to seek out other third party rpm packages, build them yourself, or install from source yourself.
An openssh 3.7.1p2 SRPM that may or may not be useful is located here:
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/rpm/SRPMS/
joesbox
10-13-2003, 02:02 PM
if i just use the src rpms will it upgrade the sshd and what not?? i tried to use a tarball once and i am not sure what it installed but
ssh-v <ip in question>
reveiled that 2.5* was still the server version
fredg
10-13-2003, 02:19 PM
Originally posted by JOES_BOX
if i just use the src rpms will it upgrade the sshd and what not?? i tried to use a tarball once and i am not sure what it installed but
ssh-v <ip in question>
reveiled that 2.5* was still the server version
The only way to find out would be to try and build from the SRPM and see what you get.
For grins, I just rebuilt from openssh-3.7.1p2-1.src.rpm on my Red Hat 7.3 box and got these binary RPMs:
openssh-3.7.1p2-1.i386.rpm
openssh-clients-3.7.1p2-1.i386.rpm
openssh-server-3.7.1p2-1.i386.rpm
openssh-askpass-3.7.1p2-1.i386.rpm
openssh-askpass-gnome-3.7.1p2-1.i386.rpm
Looks like a complete set to me :-)
joesbox
10-13-2003, 02:35 PM
update******
i was able to upgrade the rh9 server. all i got to do is upgrade about a few hundred packages for the rh7.1 server that the new openssh depends on. thanks for everything guys/gals. thanks for the help.
oh yeah, what was the fix?? i was trying to
code:--------------------------------------------------------------------------------
rpm -Uvh
'instead of '
rpm -Fvh
--------------------------------------------------------------------------------
the rpms.
fredg
10-13-2003, 02:53 PM
You may want to install apt for RPM to bring that 7.1 box up to date easily.
I don't see one for 7.1, but either the 7.0 or 7.2 should work, just match it up to the version of rpm on the machine.
http://apt.freshrpms.net/
You'll have to hand edit the /etc/apt/sources.list file to enable just the 7.1 repositories.
Btw, the latest is 3.7.1p2.
fredg
10-13-2003, 04:23 PM
Originally posted by serz
Btw, the latest is 3.7.1p2.
3.7.1p2 is the SRPM I downloaded and built, but it's not a Red Hat provided package. Red Hat is still backporting patches into earlier releases. If you want the latest (3.7.1p2), you have to roll your own.