LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Cannot uninstall or install a specific RPM (https://www.linuxquestions.org/questions/linux-software-2/cannot-uninstall-or-install-a-specific-rpm-634039/)

HiOctane21 04-08-2008 06:14 PM

Cannot uninstall or install a specific RPM
 
Hello,

I'm trying to install a RPM but rpm says that its already installed but when I try to query it or erase it (rpm -evh) I get the rpm is not installed.

Code:

#rpm -ivh openoffice.org-base-2.3.1-9238.i586.rpm
Preparing...                ########################################### [100%]
        package openoffice.org-base-2.3.1-9238 is already installed

#rpm -qi openoffice.org-base-2.3.1-9238.i586.rpm
package openoffice.org-base-2.3.1-9238.i586.rpm is not installed


Does anyone have an idea about this issue?


Thanks

Xian 04-08-2008 06:30 PM

What is the output of this command?:

# rpm -qi openoffice.org-base

jailbait 04-08-2008 06:40 PM

You are confusing the package name with the name of the rpm package file.

You can get a list of the packages that you have installed with:

rpm -qa | sort | less

Then remove Open Office using whatever package name(s) it is actually installed as.

-------------------
Steve Stites


All times are GMT -5. The time now is 08:32 AM.