Bug 137384 - Error on uninstalling process
Summary: Error on uninstalling process
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
7.0.1.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-10 19:32 UTC by abelardolg
Modified: 2020-10-15 07:21 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description abelardolg 2020-10-10 19:32:07 UTC
Description:
When I want to uninstall Libreoffice, an error is showed.

sudo apt --fix-broken install
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias       
Leyendo la información de estado... Hecho
Corrigiendo dependencias... Listo
Se instalarán los siguientes paquetes adicionales:
  libreoffice-common
Se instalarán los siguientes paquetes NUEVOS:
  libreoffice-common
0 actualizados, 1 nuevos se instalarán, 0 para eliminar y 18 no actualizados.
9 no instalados del todo o eliminados.
Se necesita descargar 0 B/33,7 MB de archivos.
Se utilizarán 94,3 MB de espacio de disco adicional después de esta operación.
¿Desea continuar? [S/n] S
(Leyendo la base de datos ... 423389 ficheros o directorios instalados actualmente.)
Preparando para desempaquetar .../libreoffice-common_1%3a6.3.5-0ubuntu0.19.10.1_all.deb ...
Desempaquetando libreoffice-common (1:6.3.5-0ubuntu0.19.10.1) ...
dpkg: error al procesar el archivo /var/cache/apt/archives/libreoffice-common_1%
3a6.3.5-0ubuntu0.19.10.1_all.deb (--unpack):
 intentando sobreescribir `/usr/bin/soffice', que está también en el paquete openoffice-debian-menus 4.1.7-9800
rmdir: fallo al borrar '/var/lib/libreoffice/share/prereg/': No existe el archivo o el directorio
rmdir: fallo al borrar '/var/lib/libreoffice/share/': No existe el archivo o el 
directorio
rmdir: fallo al borrar '/var/lib/libreoffice/program/': No existe el archivo o el directorio
rmdir: fallo al borrar '/var/lib/libreoffice': No existe el archivo o el directorio
Se encontraron errores al procesar:
 /var/cache/apt/archives/libreoffice-common_1%3a6.3.5-0ubuntu0.19.10.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Actual Results:
Libreoffice doesn't uninstall

Expected Results:
Libreoffice uninstalled


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.0.1.2
Build ID: 7cbcfc562f6eb6708b5ff7d7397325de9e764452
CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded
Comment 1 [REDACTED] 2020-10-11 17:17:27 UTC
(In reply to abelardolg from comment #0)
> Description:
> When I want to uninstall Libreoffice, an error is showed.
> 
> sudo apt --fix-broken install

*sudo apt --fix-broken install* is not the command to uninstall libreoffice. This is the command to try to repair a broken installation to get back to a clean state. Won't assume this a bug of LibreOffice.
Comment 2 abelardolg 2020-10-11 18:23:58 UTC
(In reply to Uwe Auer from comment #1)
> (In reply to abelardolg from comment #0)
> > Description:
> > When I want to uninstall Libreoffice, an error is showed.
> > 
> > sudo apt --fix-broken install
> 
> *sudo apt --fix-broken install* is not the command to uninstall libreoffice.
> This is the command to try to repair a broken installation to get back to a
> clean state. Won't assume this a bug of LibreOffice.

Hi there, 

With 'sudo apt --fix-broken install' I tried to repair an error (in this case from libreoffice package) but it couldn't be repaired. So, this is a bug from libreoffice package, not from 'sudo apt --fix-broken install' command.

The script executed by a libreoffice library (common) is responsible for this issue.

I should to correctly uninstall libreoffice with no problems.
Could I know what the right command to uninstall libreoffice?

Due to this error I can't install any package into my Ubuntu distro. I urgently need to completely remove libreoffice and to cleanly reinstall it. 

Any help would be welcome, please. 

Best regards.
Comment 3 Timur 2020-10-12 13:51:46 UTC
This doesn't look like LO bug, but rather a situation you crated yourself, which pertains to general packet handling on certain OS.
Comment 4 abelardolg 2020-10-12 17:04:16 UTC
(In reply to Timur from comment #3)
> This doesn't look like LO bug, but rather a situation you crated yourself,
> which pertains to general packet handling on certain OS.


It's a bug which comes from libreoffice installation process. The libs implicated during this process belong to libreoffice, they don't come from another package.
Comment 5 abelardolg 2020-10-12 17:04:36 UTC Comment hidden (obsolete)
Comment 6 Timur 2020-10-13 06:31:29 UTC
I'm from QA in LO and I set Not LO bug. 
You have 2 reports in total, both NoOtABug.
If you think it is, do *not* wrongly change status, but invite someone else from QA to review.
Comment 7 abelardolg 2020-10-13 15:30:19 UTC
(In reply to Timur from comment #6)
> I'm from QA in LO and I set Not LO bug. 
> You have 2 reports in total, both NoOtABug.
> If you think it is, do *not* wrongly change status, but invite someone else
> from QA to review.

By inspecting the output of the log I copied here, what could be the reason why I can't uninstall LO?
Is it a bug from my OS? Is it due to another software?

The log only displays information regards to LO, not to another software. So, how could it be solved, please?

Any help would be welcome.

PS: how could I invite someone else from QA to review the output?
Comment 8 Timur 2020-10-14 09:53:50 UTC
I suggest you don't waist time focusing on LO as the cause but look for as general Ubuntu problem with wrong installation and removal. 
Next time, if not sure it's LO bug, plese first use http://ask.libreoffice.org/.
Comment 9 abelardolg 2020-10-15 07:21:26 UTC
(In reply to Timur from comment #8)
> I suggest you don't waist time focusing on LO as the cause but look for as
> general Ubuntu problem with wrong installation and removal. 
> Next time, if not sure it's LO bug, plese first use
> http://ask.libreoffice.org/.

To my mind, it's a LO bug because it's a problem which comes from a LO package according to the log.

If you don't want to provide support that's another subject.

It doesn't come from Ubuntu.