PDA

View Full Version : [ubuntu] Uninstall software


webdirector
March 4th, 2010, 09:45 AM
Hi I am new to ubuntu.

I installed Ubuntu 9.10 server on a HP Proliant DL380 G3 for testing.

I neede to install some software from HP (Value add software pack)

In this software pack I was unable to get one software up and running ( called hprsm )

I tried installing several times and allways ended with " The hprsm RPM installation failed! "

I then tried to uninstall the software " dpkg --purge ... " and "rpm -e ... " and even " rpm -e --force-debian .... " but I can not uninstall it.

Now when I install other software i keep getting " The hprsm RPM installation failed! "

when I do " find / -name hprsm " I get :

/opt/compaq/hprsm
/opt/compaq/hprsm/hprsm
/etc/init.d/hprsm
/usr/share/doc/hprsm

How can I uninstall this software ? just delet these files ?

Thanks for help


any way I can uninstall this software ?

wojox
March 4th, 2010, 09:57 AM
What does this tell you:

sudo dpkg -S /opt/*

webdirector
March 4th, 2010, 10:00 AM
I get this:

cpqacuxe, hpacucli, cmanic, hpasm, hprsm: /opt/compaq
hpadu, cmanic, hp-openipmi, hpsmh, hpasm: /opt/hp


Thanks for help

wojox
March 4th, 2010, 10:08 AM
This should work:

sudo dpkg -P hprsm

Take it you came from Red Hat or Fedora?

webdirector
March 4th, 2010, 10:11 AM
Thanks that worked !

I will try to find the meaning of the "-P"

wojox
March 4th, 2010, 10:22 AM
-P means to purge. It will delete the file and all it's config files. ;)

wojox
March 4th, 2010, 10:24 AM
Look around for an alien how-to. Never used it but it converts .rpm to .deb so Ubuntu can install them correctly.