Help - Search - Members - Calendar
Full Version: downgrade of openssh
The Planet Forums > Control Panels > Plesk
spytrdr
Hi,

I need to DOWNgrade from openssh-3.6.1p2-33.30.13 to openssh-3.6.1p2-33.30.9 in a Linux server (VPS) with Plesk.
Will the following command do the trick (automatically and safely uninstall/remove openssh-3.6.1p2-33.30.13 and install/downgrade to openssh-3.6.1p2-33.30.9?
I'm not an expert in these matters and don't want to break anything:

rpm -Uvh openssh-3.6.1p2-33.30.9.i386.rpm

Thanks for any help.
James Erickson
The ideal way to do this is to use:
CODE
rpm --oldpackage openssh-3.6.1p2-33.30.9.i386.rpm


This will tell RPM that you know the package you are installing is older than the one currently installed, and it will take the steps to ensure that everything works correctly. Alternatively, you can just add --force on your command above, and it will automatically add the --oldpackage to the command.
spytrdr
Thank you very much jerickson.
I get the following message now though:

error: Failed dependencies:
openssh = 3.6.1p2-33.30.13 is needed by (installed) openssh-server-3.6.1p2-33.30.13

Looks like something easy to solve, but I am not an expert in Linux administration so a bit more help will be appreciated. I don't want to break anything, potentially leaving many sites offline the whole weekend...
James Erickson
What you'll need to do is downgrade the openssh-server as well, so download both rpms into a directory then do this

CODE
rpm --oldpackage --aid openssh-3.6.1p2-33.30.9.i386.rpm openssh-server-3.6.1p2-33.30.9.i386.rpm


You may also need openssh-devel. This will reinstall the older package of both RPM's and also look for any dependencies that they may have in that directory.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.