Can't uninstall LibreOffice

Report Bugs, Issues and non- package Requests
Message
Author
Huckleberry Finn

Re: Can't uninstall LibreOffice

#11 Post by Huckleberry Finn »

CharlesV wrote: Sat Oct 08, 2022 11:20 am I believe the proper way to remove the older version would be :
apt remove --purge libreoffice7.3*
...But , there's no such package: libreoffice7.3 (or .. libreofficeX.X.... )

User avatar
oops
Posts: 2031
Joined: Tue Apr 10, 2018 5:07 pm

Re: Can't uninstall LibreOffice

#12 Post by oops »

Try to do:

Code: Select all

su root 
# or
sudo apt-get purge libreoffice? libobasis?
# or only:
sudo apt-get purge libreoffice?
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils MX Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19-23_x64 & antiX23_x32 runit

Huckleberry Finn

Re: Can't uninstall LibreOffice

#13 Post by Huckleberry Finn »

oops wrote: Sat Oct 08, 2022 12:58 pm Try to do:

Code: Select all

su root 
# or
sudo apt-get purge libreoffice? libobasis?
# or only:
sudo apt-get purge libreoffice?
...But ...

su is enough, then no need to sudo (in fact no need to su or to be root) and that will purge all (including the 7.4)

Huckleberry Finn

Re: Can't uninstall LibreOffice

#14 Post by Huckleberry Finn »

So... If you like, this will be a clean job :

Code: Select all

sudo apt purge *libreoff* -y
Then:
You do not have the required permissions to view the files attached to this post.

User avatar
CyberGhost
Posts: 210
Joined: Thu Jan 10, 2019 9:27 pm

Re: Can't uninstall LibreOffice

#15 Post by CyberGhost »

This is what worked for me: https://www.linuxexperten.com/content/h ... ibreoffice

I regularly check for updates for Libre Office and when I go to upgrade, I uninstall the old version first, then install the new version. I follow the install instructions from the README .txt file in the deb.tar.gz unzipped package and install via CLI. However, I do think there's a flatpak for Libre Office in MXPI which is usually the most up to date version. As far as uninstalling ,I use the commands listed in the above article and it has always worked for me. Hope this helps! Good luck!

Huckleberry Finn

Re: Can't uninstall LibreOffice

#16 Post by Huckleberry Finn »

The above will do it including:
However, to make sure you got all parts, run this command:

aptitude search '~i' | grep libreoffice
(Deliberately starting (not just ending) with * )


The 7.4.1 in the Debian Backports tab in MXPI is already the latest version :
You do not have the required permissions to view the files attached to this post.

User avatar
Stevo
Developer
Posts: 14879
Joined: Fri Dec 15, 2006 7:07 pm

Re: Can't uninstall LibreOffice

#17 Post by Stevo »

pdev wrote: Sat Oct 08, 2022 10:12 am Thanks for your help. I've loaded 7.4 now but I've still got a 7.3 version that I'd rather get rid of.
Is that an entry in the menu? If so, does it actually start a separate 7.3 version? I still don't have enough information on your situation.
When you loaded 7.4, was that from backports?

User avatar
dolphin_oracle
Developer
Posts: 22745
Joined: Sun Dec 16, 2007 12:17 pm

Re: Can't uninstall LibreOffice

#18 Post by dolphin_oracle »

Stevo wrote: Sat Oct 08, 2022 6:10 pm
pdev wrote: Sat Oct 08, 2022 10:12 am Thanks for your help. I've loaded 7.4 now but I've still got a 7.3 version that I'd rather get rid of.
Is that an entry in the menu? If so, does it actually start a separate 7.3 version? I still don't have enough information on your situation.
When you loaded 7.4, was that from backports?
its from libreoffice.org. see his post #1. I presume this: https://mirror.usi.edu/pub/tdf/libreoff ... deb.tar.gz

which has a bunch of debs inside a tarball.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
Stevo
Developer
Posts: 14879
Joined: Fri Dec 15, 2006 7:07 pm

Re: Can't uninstall LibreOffice

#19 Post by Stevo »

I'm just guessing, but that package may be "libreoffice7.4" instead of Debian's "libreoffice" metapackage, much like the Virtualbox situation with Oracle's and Debian's versions.

I thought the OP was going to dust off and nuke all the packages from orbit, then install 7.4 from backports to avoid this kind of mess. :confused:
Last edited by Stevo on Sat Oct 08, 2022 6:19 pm, edited 1 time in total.

User avatar
dolphin_oracle
Developer
Posts: 22745
Joined: Sun Dec 16, 2007 12:17 pm

Re: Can't uninstall LibreOffice

#20 Post by dolphin_oracle »

Stevo wrote: Sat Oct 08, 2022 6:17 pm I'm just guessing, but that package may be "libreoffice7.4" instead of Debian's "libreoffice" metapackage, much like the Virtualbox situation with Oracle's and Debian's versions.
looking at the debs in the tarball, I believe you are correct. they all have 7.4 somewhere in the deb name.

Code: Select all

tar --file LibreOffice_7.4.1_Linux_x86-64_deb.tar.gz --list
LibreOffice_7.4.1.2_Linux_x86-64_deb/
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libreoffice7.4-impress_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libreoffice7.4-draw_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libreoffice7.4-dict-es_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-extension-mediawiki-publisher_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-postgresql-sdbc_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-firebird_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-python-script-provider_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libreoffice7.4-base_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-en-us_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-math_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-ogltrans_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-base_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libreoffice7.4-dict-fr_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-extension-report-builder_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libreoffice7.4-ure_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libreoffice7.4-debian-menus_7.4.1-2_all.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-extension-beanshell-script-provider_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-core_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-graphicfilter_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-calc_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libreoffice7.4-math_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-images_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-kde-integration_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-onlineupdate_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libreoffice7.4-calc_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-gnome-integration_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-libreofficekit-data_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-writer_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libreoffice7.4-writer_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-ooofonts_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-impress_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-extension-nlpsolver_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-draw_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-pyuno_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-librelogo_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libreoffice7.4-en-us_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libreoffice7.4-dict-en_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libreoffice7.4_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-extension-pdf-import_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-xsltfilter_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-ooolinguistic_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/DEBS/libobasis7.4-extension-javascript-script-provider_7.4.1.2-2_amd64.deb
LibreOffice_7.4.1.2_Linux_x86-64_deb/readmes/
LibreOffice_7.4.1.2_Linux_x86-64_deb/readmes/README_en-US
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

Post Reply

Return to “Bugs and Non-Package Requests Forum”