Problem description: Unpacking replacement libreoffice3.6-dict-en ... ERROR: unknown sub-command sync! Use unopkg --help (short -h) to print all options. ERROR: Registration of extensions failed! dpkg: warning: subprocess old post-removal script returned error exit status 1 dpkg - trying script from the new package instead ... dpkg: error processing libreoffice3.6-dict-en_3.6.1.2-2_amd64.deb (--install): there is no script in the new version of the package - giving up ERROR: unknown sub-command sync! Use unopkg --help (short -h) to print all options. ERROR: Registration of extensions failed! dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 1 Preparing to replace libreoffice3.6-dict-es 3.6.0.4-104 (using libreoffice3.6-dict-es_3.6.1.2-2_amd64.deb) ... Unpacking replacement libreoffice3.6-dict-es ... ERROR: unknown sub-command sync! Use unopkg --help (short -h) to print all options. ERROR: Registration of extensions failed! dpkg: warning: subprocess old post-removal script returned error exit status 1 dpkg - trying script from the new package instead ... dpkg: error processing libreoffice3.6-dict-es_3.6.1.2-2_amd64.deb (--install): there is no script in the new version of the package - giving up ERROR: unknown sub-command sync! Use unopkg --help (short -h) to print all options. ERROR: Registration of extensions failed! dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 1 Preparing to replace libreoffice3.6-dict-fr 3.6.0.4-104 (using libreoffice3.6-dict-fr_3.6.1.2-2_amd64.deb) ... Unpacking replacement libreoffice3.6-dict-fr ... ERROR: unknown sub-command sync! Use unopkg --help (short -h) to print all options. ERROR: Registration of extensions failed! dpkg: warning: subprocess old post-removal script returned error exit status 1 dpkg - trying script from the new package instead ... dpkg: error processing libreoffice3.6-dict-fr_3.6.1.2-2_amd64.deb (--install): there is no script in the new version of the package - giving up ERROR: unknown sub-command sync! Use unopkg --help (short -h) to print all options. ERROR: Registration of extensions failed! dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 1 Steps to reproduce: 1. Run dpkg -i on the main installer Linux Deb (x64) dutch 2. .... 3. .... Current behavior: Applications are running just fine Expected behavior: No error messages during installation. Platform (if different from the browser): Ubuntu 12.04 (up-to-date) x64 Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.81 Safari/537.1
I've found the same when trying to install LO 3.6.1.2 on Debian Squeeze. Platform (if different from the browser): Debian GNU/Linux 6.0.5 (squeeze) Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/10.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19
I have same problem on Kubuntu 12.04. I tried to install Polish dictionary from deb package.
It's not just the Dutch dictionary, it's also in the English US package as well on both 32bit and 64bit. Install errors: http://pastebin.com/3aKwSYP1 And afterwards breaks the system(s) (32bit and 64bit): $ 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) This bug appears to be a duplicate & regression of: https://bugs.freedesktop.org/show_bug.cgi?id=41237 [ Installation of dictionaries failed with ""/singletons/com.sun.star.deployment.ExtensionManager": loading component library failed""] Using the method mentioned in that bug report and Bug 41290 - dictionaries do not install in daily builds as of 28/9/2011: <http://www.piprime.fr/1480/manually-remove-broken-package-debian-ubuntu/> I was able to clean the system: $ sudo mv /var/lib/dpkg/info/libreoffice3.6-dict-en.* /tmp/ $ sudo dpkg --remove --force-remove-reinstreq libreoffice3.6-dict-en $ sudo mv /var/lib/dpkg/info/libreoffice3.6-dict-es.* /tmp/ $ sudo dpkg --remove --force-remove-reinstreq libreoffice3.6-dict-es $ sudo mv /var/lib/dpkg/info/libreoffice3.6-dict-fr.* /tmp/ $ sudo dpkg --remove --force-remove-reinstreq libreoffice3.6-dict-fr $ 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. Not sure whether to reopen 41237, or if this bug's title should be change to inclued other dictionaries as well.
Changed importance to high as the bug affects the installation of other packages via dpkg and apt-get.
Maybe this is the problem: $ debdiff libreoffice3.6-dict-en_3.6.0.4-104_i386.deb libreoffice3.6-dict-en_3.6.1.2-2_i386.deb [The following lists of changes regard files as different if they have different names, permissions or owners.] Files in first .deb but not in second ------------------------------------- -rwxr-xr-x root/root DEBIAN/postinst -rwxr-xr-x root/root DEBIAN/postrm Control files: lines which differ (wdiff format) ------------------------------------------------ Installed-Size: [-26208-] {+26224+} Version: [-3.6.0.4-104-] {+3.6.1.2-2+} Same for -es and -fr (missing postinst & postrm files) - and same on 64bit .deb files.
No issues with reinstalling 3.6.04 over 3.6.1: Setting up libreoffice3.6-dict-en (3.6.0.4-104) ... SUCCESS: unopkg returns successful! Setting up libreoffice3.6-dict-es (3.6.0.4-104) ... SUCCESS: unopkg returns successful! Setting up libreoffice3.6-dict-fr (3.6.0.4-104) ... SUCCESS: unopkg returns successful! Breaks dpkg with 3.6.1.1: Processing triggers for menu ... Errors were encountered while processing: libreoffice3.6-dict-en_3.6.1.1-1_i386.deb libreoffice3.6-dict-es_3.6.1.1-1_i386.deb libreoffice3.6-dict-fr_3.6.1.1-1_i386.deb And as with 3.6.1.2: $ debdiff libreoffice3.6-dict-en_3.6.0.4-104_i386.deb libreoffice3.6-dict-en_3.6.1.1-1_i386.deb [The following lists of changes regard files as different if they have different names, permissions or owners.] Files in first .deb but not in second ------------------------------------- -rwxr-xr-x root/root DEBIAN/postinst -rwxr-xr-x root/root DEBIAN/postrm Control files: lines which differ (wdiff format) ------------------------------------------------ Installed-Size: [-26208-] {+26220+} Version: [-3.6.0.4-104-] {+3.6.1.1-1+} Nor did I have any issues with installing 3.5.5rc3 over 3.5.6.2.
(In reply to comment #3) > It's not just the Dutch dictionary, it's also in the English US package as well > on both 32bit and 64bit. Install errors: > > http://pastebin.com/3aKwSYP1 > > And afterwards breaks the system(s) (32bit and 64bit): > > $ 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) > > This bug appears to be a duplicate & regression of: > https://bugs.freedesktop.org/show_bug.cgi?id=41237 > [ Installation of dictionaries failed with > ""/singletons/com.sun.star.deployment.ExtensionManager": loading component > library failed""] > > Using the method mentioned in that bug report and Bug 41290 - dictionaries do > not install in daily builds as of 28/9/2011: > <http://www.piprime.fr/1480/manually-remove-broken-package-debian-ubuntu/> > I was able to clean the system: > > $ sudo mv /var/lib/dpkg/info/libreoffice3.6-dict-en.* /tmp/ > $ sudo dpkg --remove --force-remove-reinstreq libreoffice3.6-dict-en > $ sudo mv /var/lib/dpkg/info/libreoffice3.6-dict-es.* /tmp/ > $ sudo dpkg --remove --force-remove-reinstreq libreoffice3.6-dict-es > $ sudo mv /var/lib/dpkg/info/libreoffice3.6-dict-fr.* /tmp/ > $ sudo dpkg --remove --force-remove-reinstreq libreoffice3.6-dict-fr > > $ 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. > > Not sure whether to reopen 41237, or if this bug's title should be change to > inclued other dictionaries as well. That happen with EN, ES, FR, AN... something is wrong with all of them or just english...
To a loonix bin.
I have the same problem with dict- in en, es, fr and an. I've try to remove from my Ubuntu 12.04 but I can't, upgrades also fails.
Check at: http://forum.mepiscommunity.org/viewtopic.php?t=33488&p=305138 To get your DEB data base back and remove completely dict packages.
*** Bug 54419 has been marked as a duplicate of this bug. ***
Recommend that this bug be closed. I can no longer reproduce and LO 3.x reached EOL in August 2013: <https://wiki.documentfoundation.org/ReleasePlan>
Worksforme as of comment 12.