From: Huub on
Hi,

With FC4, openoffice.org 1.9 rpm's have been installed, but despite
numerous attempts, I'm unable to remove them. Can anyone help me out please?

Thanks,

Huub
From: Moe Trin on
In the Usenet newsgroup alt.os.linux.redhat, in article
<42afc933$0$772$3a628fcd(a)reader10.nntp.hccnet.nl>, Huub wrote:

>With FC4, openoffice.org 1.9 rpm's have been installed, but despite
>numerous attempts, I'm unable to remove them.

What happens - does the computer catch on fire?

Please tell people EXACTLY what command you used, and what was the
result. One technique that might work is

rpm -e `rpm -qa | grep openoffice.org`

but watch those quotes - they're the backquote above the tab key on a
standard keyboard, not the normal quote which is next to the Enter key.
Try this command FIRST

rpm -qa | grep openoffice.org

which should list all of the 'openoffice.org' packages. If it does,
then try

rpm -e --test `rpm -qa | grep openoffice.org`

which won't actually remove the packages, but will see if anything is
going to break. If that command doesn't give an error message, run
it again, without the --test option.

NOTICE: THIS ONLY WORKS WITH INSTALLED BINARY PACKAGES (such as
openoffice.org-core-1.9.104-2) AND NOT WITH THE SOURCE PACKAGES (such
as openoffice.org-core-1.9.104-2.src.rpm). Note that when removing
packages, you don't include the architecture and 'rpm' suffix (for
example '.i386.rpm') in the command as they are part of the _file_
name and NOT part of the _package_ name.

For removing source packages, use the 'rm' command in the directory
/usr/src/redhat/SOURCES/ and /usr/src/redhat/SPECS/ as required.

Old guy
From: Honey Trap on
Moe Trin wrote:
> In the Usenet newsgroup alt.os.linux.redhat, in article
> <42afc933$0$772$3a628fcd(a)reader10.nntp.hccnet.nl>, Huub wrote:
>
>
>>With FC4, openoffice.org 1.9 rpm's have been installed, but despite
>>numerous attempts, I'm unable to remove them.
>
>
> What happens - does the computer catch on fire?
>
> Please tell people EXACTLY what command you used, and what was the
> result.

Well said.

> One technique that might work is
>
> rpm -e `rpm -qa | grep openoffice.org`
>

Or even:

yum remove openoffice*

C.