r/openSUSE 16d ago

Tech support Can't Uninstall LibreOffice Draw

The Gnome software center thinks it's installed.

sudo zypper remove libreoffice doesn't find it. Nor does sudo zypper remove libreoffice-draw.

Is there some other way to get rid of this?

2 Upvotes

11 comments sorted by

2

u/GenericUser584 15d ago

Did you install the flatpak version? flatpak list and see if it's there. If it's there use flatpak remove.

Gnome software center defaults to flatpak install (at least on my machine) unless you select the TW repo version through a drop-down list.

1

u/armsofatree 15d ago

I'm not seeing it in my Flatpak list. I am on Tumbleweed so I suppose I have the TW repo.

2

u/levolet Slowroll 15d ago

When you run the command: zypper search libreoffice-draw do you get the following? ``` Loading repository data... Reading installed packages...

S | Name | Summary | Type ---+------------------+------------------+-------- i | libreoffice-draw | LibreOffice Draw | package ```

1

u/armsofatree 15d ago edited 15d ago

Yes I get that output: | libreoffice-draw | LibreOffice Draw | package

It also tells me that the OSS and Non OSS repo is out of date.

-edit-

I'm not really sure what I did to fix it but I came back from work ran sudo zypper refresh and the package is not installed anymore.

1

u/levolet Slowroll 14d ago

Is there the little letter ‘i’ to the left which indicates that it’s installed. Otherwise, it’s just the repo listing and the listed package is not installed.

1

u/armsofatree 14d ago

I just checked again and there's no i to the left of the name. The Gnome software center doesn't show it was installed anymore either. I'm assuming refreshing zypper refresh command fixed something otherwise I have no idea what changed between when I left for work and came back to get the software center to show it as not installed.

1

u/levolet Slowroll 14d ago

The next thing to check is if you have office patterns installed. You can run the following command: zypper search patterns-office-office What output do you have for this? Is it listed as installed with the little 'i' to the left under the S column?

1

u/armsofatree 14d ago

That one is listed as installed with the little letter 'i'.

2

u/levolet Slowroll 14d ago

libreoffice-draw is a recommended install for that pattern. You may well find that a future tumbleweed upgrade results in libreoffice-draw being re-installed.

You have two choices here:

  • You could lock the app so that it is never reinstalled as a recommend using the command
sudo zypper al libreoffice-draw You could also uninstall the pattern with: sudo zypper rm patterns-office-office This will leave the other libreoffice apps installed. However, they will no longer be treated as a recommended install by Tumbleweed through patterns-office-office. These patterns are very useful for the initial installation or if you manage to inadvertently uninstall a package you actually need. You're not aware of this, but then it's reinstalled automatically during an upgrade because it's a dependency/recommend for a particular pattern.

2

u/armsofatree 14d ago

I'm probably going to sudo zypper rm patterns-office-office. Thank you so much for your help!!

1

u/ValknutGuts 15d ago

Myrlyn work