Can't uninstall LibreOffice
Can't uninstall LibreOffice
Hi,
I had previously installed LibreOffice 7.3 and recently installed 7.4 by downloading the app from libreoffice.org. However, as I had both versions showing up in the Applications Menu and the icon I'd set up in the Panel randomly opened 7.3 instead of 7.4, I decided to delete them both and do a clean install of 7.4.
My problem is that I can't uninstall 7.3.
I started by using "sudo apt-get remove --purge libreoffice*" and this seemed to work. However, when I go into the Applications Menu, both 7.3 and 7.4 have disappeared but it still lists LibreOffice (without a version number) and the various sub apps (Writer, Calc, etc.). If I open these, version 7.3 opens.
How can I remove this from my system?
Synaptic doesn't help. If I search for LibreOffice it shows version 7.0 and it won't let me delete it. I tried the 'which' command to find the path to the executable files, nothing happens.
I just don't know what to try next and any help would be greatly appreciated.
(I'm using the latest version of MXLinux on an old MacBook.)
I had previously installed LibreOffice 7.3 and recently installed 7.4 by downloading the app from libreoffice.org. However, as I had both versions showing up in the Applications Menu and the icon I'd set up in the Panel randomly opened 7.3 instead of 7.4, I decided to delete them both and do a clean install of 7.4.
My problem is that I can't uninstall 7.3.
I started by using "sudo apt-get remove --purge libreoffice*" and this seemed to work. However, when I go into the Applications Menu, both 7.3 and 7.4 have disappeared but it still lists LibreOffice (without a version number) and the various sub apps (Writer, Calc, etc.). If I open these, version 7.3 opens.
How can I remove this from my system?
Synaptic doesn't help. If I search for LibreOffice it shows version 7.0 and it won't let me delete it. I tried the 'which' command to find the path to the executable files, nothing happens.
I just don't know what to try next and any help would be greatly appreciated.
(I'm using the latest version of MXLinux on an old MacBook.)
Re: Can't uninstall LibreOffice
(Once) I used to do the same but Synaptic would work for me, to select and remove the unwanted version ...
So, what does this show at the moment?
So, what does this show at the moment?
Code: Select all
apt list *libreoff* -i
Re: Can't uninstall LibreOffice
Hey, thanks for responding!
It shows:
liblibreoffice-java/stable,stable,now 1:7.0.4-4+deb11u3 all [installed,automatic]
N: There is 1 additional version. Please use the '-a' switch to see it
When I do that I get:
as above, plus
liblibreoffice-java/stable-security,stable-security 1:7.0.4-4+deb11u1 all
It shows:
liblibreoffice-java/stable,stable,now 1:7.0.4-4+deb11u3 all [installed,automatic]
N: There is 1 additional version. Please use the '-a' switch to see it
When I do that I get:
as above, plus
liblibreoffice-java/stable-security,stable-security 1:7.0.4-4+deb11u1 all
- dolphin_oracle
- Developer
- Posts: 22679
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Can't uninstall LibreOffice
libreoffice is just a metapackage for a whole bunch of subpackages. At least as packaged by Debian. Don’t know about the deb you downloaded direct.
Typically removing a metapackage does not remove the sub packages.
Typically removing a metapackage does not remove the sub packages.
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/
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/
Re: Can't uninstall LibreOffice
Please, more detail. Was it one big deb that you downloaded and installed, or what? We need to know exactly what you did in order to undo it.installed 7.4 by downloading the app from libreoffice.org.
Also, 7.4 is easily installable from bullseye-backports using MX Package Installer's "backports" tab. I think that would have upgraded over 7.3 and avoided a lot of the fuss.
Re: Can't uninstall LibreOffice
I presume it was one big deb as it included all the sub apps. However, 7.4 appears to have been deleted. It's 7.3 that remains. Interestingly, although 7.0 appears to be still installed, it doesn't open.
Re: Can't uninstall LibreOffice
You should be able to upgrade to 7.4 from the older Debian versions from backports now. Let us know what happens.
Re: Can't uninstall LibreOffice
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.
Re: Can't uninstall LibreOffice
I believe the proper way to remove the older version would be :
apt remove --purge libreoffice7.3*
and you MAY have to reinstall 7.4 after that too.
You can see what the remove will remove by adding the simulation tag ( -s ) to the command.
so..
apt remove --purge -s libreoffice7.3*
will show you what will be removed.
apt remove --purge libreoffice7.3*
and you MAY have to reinstall 7.4 after that too.
You can see what the remove will remove by adding the simulation tag ( -s ) to the command.
so..
apt remove --purge -s libreoffice7.3*
will show you what will be removed.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
- user-green
- Posts: 326
- Joined: Sat Mar 14, 2020 1:40 am
Re: Can't uninstall LibreOffice
As was said above that libreoffice is just a metapackage, which means it is not a libreoffice itself. It has a dependency to pull out all the related packages of libreoffice. Libleoffice does not consist of only one binary package but a lot of packages.
In order to confirm this, your system has an installation log at /var/log/apt/history.log
Please see the history.log, then remove what was installed from the list.
Best regards.
In order to confirm this, your system has an installation log at /var/log/apt/history.log
Please see the history.log, then remove what was installed from the list.
Best regards.