The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Accidentally removed rpm package.

Discussion in 'General Discussion' started by rvbalraj, May 13, 2008.

  1. rvbalraj

    rvbalraj Member

    Joined:
    Aug 28, 2006
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Yesterday I have removed the RPM package accidentaly. I did this in remote server, so I could not install via cd. So please help me to install the rpm package.

    Used commands:
    -------------------------
    # rpm -e rpm -e MySQL-shared-5.0.45-0.glibc23
    # rpm -e rpm -e MySQL-shared-5.0.45-0.glibc23 -nodeps
    # rpm -e rpm -e MySQL-shared-5.0.45-0.glibc23 --nodeps

    Now showing like this
    # rpm
    -bash: rpm: command not found

    Please help me out.
     
  2. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    Try running:

    yum -y install rpm

    or

    yum -y update rpm
     
  3. nickp666

    nickp666 Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    770
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    /dev/null
    yum installs via rpm, so I dont think that one will work, you will probably have to manually compile RPM to repair it
     
  4. Commrade

    Commrade Member

    Joined:
    Feb 19, 2006
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
Loading...

Share This Page