Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I was trying to uninstall openssh-server with command Code: yum erase openssh-server-4.3p2-82.el5 There is a power failure before yum fully erasing the package. I tried to perform the task ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2007
    Posts
    2

    Unable to remove openssh


    Hi,

    I was trying to uninstall openssh-server with command
    Code:
    yum erase openssh-server-4.3p2-82.el5
    There is a power failure before yum fully erasing the package. I tried to perform the task again after that but I'm getting this error

    "error reading information on service sshd: No such file or directory
    Error in PREUN scriptlet in rpm package o"

    when I try to service sshd status it shows "sshd : unrecognized service"

    I do try to yum install openssh again but it says package already installed.

    Wonder is there any way to fixed this?

    Thank you.

  2. #2
    Just Joined!
    Join Date
    May 2007
    Posts
    2
    Hi,

    Issue solved.I have to remove the old package with command below
    Code:
    rpm -e --noscripts $oldpackage
    Thank you.

    Quote Originally Posted by scottralf View Post
    Hi,

    I was trying to uninstall openssh-server with command
    Code:
    yum erase openssh-server-4.3p2-82.el5
    There is a power failure before yum fully erasing the package. I tried to perform the task again after that but I'm getting this error

    "error reading information on service sshd: No such file or directory
    Error in PREUN scriptlet in rpm package o"

    when I try to service sshd status it shows "sshd : unrecognized service"

    I do try to yum install openssh again but it says package already installed.

    Wonder is there any way to fixed this?

    Thank you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •