Closed dyrnq closed 2 years ago
yum remove openssh Loaded plugins: fastestmirror Resolving Dependencies --> Running transaction check ---> Package openssh.x86_64 0:7.4p1-16.el7 will be erased --> Processing Dependency: openssh = 7.4p1-16.el7 for package: openssh-server-7.4p1-16.el7.x86_64 --> Processing Dependency: openssh = 7.4p1-16.el7 for package: openssh-clients-7.4p1-16.el7.x86_64 --> Running transaction check ---> Package openssh-clients.x86_64 0:7.4p1-16.el7 will be erased --> Processing Dependency: openssh-clients for package: git-1.8.3.1-23.el7_8.x86_64 --> Processing Dependency: openssh-clients for package: systemtap-client-4.0-13.el7.x86_64 ---> Package openssh-server.x86_64 0:7.4p1-16.el7 will be erased --> Running transaction check ---> Package git.x86_64 0:1.8.3.1-23.el7_8 will be erased --> Processing Dependency: git = 1.8.3.1-23.el7_8 for package: perl-Git-1.8.3.1-23.el7_8.noarch --> Processing Dependency: git for package: gettext-devel-0.19.8.1-3.el7.x86_64 ---> Package systemtap-client.x86_64 0:4.0-13.el7 will be erased --> Processing Dependency: systemtap-client = 4.0-13.el7 for package: systemtap-4.0-13.el7.x86_64 --> Running transaction check ---> Package gettext-devel.x86_64 0:0.19.8.1-3.el7 will be erased --> Processing Dependency: gettext-devel for package: intltool-0.50.2-7.el7.noarch ---> Package perl-Git.noarch 0:1.8.3.1-23.el7_8 will be erased ---> Package systemtap.x86_64 0:4.0-13.el7 will be erased --> Running transaction check ---> Package intltool.noarch 0:0.50.2-7.el7 will be erased --> Finished Dependency Resolution Dependencies Resolved ================================================================================================================================================================================================================================================================================== Package Arch Version Repository Size ================================================================================================================================================================================================================================================================================== Removing: openssh x86_64 7.4p1-16.el7 @anaconda 1.9 M Removing for dependencies: gettext-devel x86_64 0.19.8.1-3.el7 @base 1.4 M git x86_64 1.8.3.1-23.el7_8 @base 22 M intltool noarch 0.50.2-7.el7 @base 166 k openssh-clients x86_64 7.4p1-16.el7 @anaconda 2.5 M openssh-server x86_64 7.4p1-16.el7 @anaconda 971 k perl-Git noarch 1.8.3.1-23.el7_8 @base 57 k systemtap x86_64 4.0-13.el7 @base 0.0 systemtap-client x86_64 4.0-13.el7 @base 10 M Transaction Summary ================================================================================================================================================================================================================================================================================== Remove 1 Package (+8 Dependent packages) Installed size: 40 M Is this ok [y/N]:
you shouldn't remove the openssh package
if you have the new rpm, just use yum localinstall openssh-*.rpm to upgrade the package.
yum localinstall openssh-*.rpm