Me encontré con un error al intentar remover un paquete en Debian… el cual tenía que ver con los diccionarios… pero busqué en los reportes de errores de Libreoffice, ahora en adelante LO, los cuales me dieron información de como solucionar los molestos errores que arrojaba Aptitude, APT y Synaptic.
$ sudo apt-get autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: libreoffice3.6-dict-en libreoffice3.6-dict-es libreoffice3.6-dict-fr 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 3 not fully installed or removed. After this operation, 37.8 MB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 489328 files and directories currently installed.) Removing libreoffice3.6-dict-en ... ERROR: unknown sub-command sync! Use unopkg --help (short -h) to print all options. ERROR: Registration of extensions failed! dpkg: error processing libreoffice3.6-dict-en (--remove): subprocess installed post-removal script returned error exit status 1 Removing libreoffice3.6-dict-es ... ERROR: unknown sub-command sync! Use unopkg --help (short -h) to print all options. ERROR: Registration of extensions failed! dpkg: error processing libreoffice3.6-dict-es (--remove): subprocess installed post-removal script returned error exit status 1 No apport report written because MaxReports is reached already Removing libreoffice3.6-dict-fr ... ERROR: unknown sub-command sync! Use unopkg --help (short -h) to print all options. ERROR: Registration of extensions failed! dpkg: error processing libreoffice3.6-dict-fr (--remove): subprocess installed post-removal script returned error exit status 1 No apport report written because MaxReports is reached already Errors were encountered while processing: libreoffice3.6-dict-en libreoffice3.6-dict-es libreoffice3.6-dict-fr E: Sub-process /usr/bin/dpkg returned an error code (1)
$ sudo mv /var/lib/dpkg/info/libreoffice3.6-dict-* /tmp/ $ su -c 'dpkg --remove --force-remove-reinstreq libreoffice3.6-dict-en libreoffice3.6-dict-es libreoffice3.6-dict-fr libreoffice3.6-dict-an' $ sudo apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Al realizar la limpieza de esos paquetes, APT dirá que no hay nada en la ubicación de esos paquetes y te permitirá su desinstalación, yo los he removido sin problemas y comencé a usar los paquetes de la versión más reciente que tengo a mis manos, LO 3.6.1.2.
Fuente de Solución: https://bugs.freedesktop.org/show_bug.cgi?id=54202#c3