Package: openoffice.org-voikko Version: 2.2-2 Severity: serious Unfortunately I didn't think about/notice this either, but a etch->sid dist-upgrade with openoffice.org-voikko involved now fails with the scriplets using -env.
Stripped log from the dist-upgrade: Preconfiguring packages ... [...] Preparing to replace openoffice.org-impress 2.0.4.dfsg.2-7etch4 (using .../openoffice.org-impress_1%3a2.4.0-4_i386.deb) ... Unpacking replacement openoffice.org-impress ... Preparing to replace libwpd8c2a 0.8.7-6 (using .../libwpd8c2a_0.8.14-1_i386.deb) ... Unpacking replacement libwpd8c2a ... Selecting previously deselected package libwpg-0.1-1. Unpacking libwpg-0.1-1 (from .../libwpg-0.1-1_0.1.2-1_i386.deb) ... Preparing to replace openoffice.org-draw 2.0.4.dfsg.2-7etch4 (using .../openoffice.org-draw_1%3a2.4.0-4_i386.deb) ... Unpacking replacement openoffice.org-draw ... Preparing to replace openoffice.org-math 2.0.4.dfsg.2-7etch4 (using .../openoffice.org-math_1%3a2.4.0-4_i386.deb) ... Unpacking replacement openoffice.org-math ... [...] Selecting previously deselected package openoffice.org-style-andromeda. Unpacking openoffice.org-style-andromeda (from .../openoffice.org-style-andromeda_1%3a2.4.0-4_all.deb) ... Replacing files in old package openoffice.org-common ... Preparing to replace openoffice.org-base 2.0.4.dfsg.2-7etch4 (using .../openoffice.org-base_1%3a2.4.0-4_i386.deb) ... Unpacking replacement openoffice.org-base ... Preparing to replace openoffice.org-calc 2.0.4.dfsg.2-7etch4 (using .../openoffice.org-calc_1%3a2.4.0-4_i386.deb) ... Unpacking replacement openoffice.org-calc ... dpkg: openoffice.org-java-common: dependency problems, but removing anyway as you request: openoffice.org depends on openoffice.org-java-common; however: Package openoffice.org-java-common is to be removed. (Reading database ... 15147 files and directories currently installed.) Removing openoffice.org-java-common ... (Reading database ... 15093 files and directories currently installed.) Preparing to replace openoffice.org-writer 2.0.4.dfsg.2-7etch4 (using .../openoffice.org-writer_1%3a2.4.0-4_i386.deb) ... Unpacking replacement openoffice.org-writer ... electing previously deselected package openoffice.org-java-common. Unpacking openoffice.org-java-common (from .../openoffice.org-java-common_1%3a2.4.0-4_all.deb) ... Preparing to replace openoffice.org-common 2.0.4.dfsg.2-7etch4 (using .../openoffice.org-common_1%3a2.4.0-4_all.deb) ... Unpacking replacement openoffice.org-common ... [...] Preparing to replace openoffice.org-voikko 1.1-4+b2 (using .../openoffice.org-voikko_2.2-2_i386.deb) ... locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Oo2-voikko removed from OpenOffice.org. [Java framework] The file: vnd.sun.star.expand:$URE_INTERNAL_LIB_DIR/sunjavaplugin.so does not exist.javaldx failed! [Java framework] The file: vnd.sun.star.expand:$URE_INTERNAL_LIB_DIR/sunjavaplugin.so does not exist.javaldx failed! Removing extension ...[Java framework] The file: vnd.sun.star.expand:$URE_INTERNAL_LIB_DIR/sunjavaplugin.so does not exist.javaldx failed! ERROR: unexpected option -env:UserInstallation=file:///tmp/tmp.MgnQE28200! Use unopkg --help (short -h) to print all options. dpkg: error processing /var/cache/apt/archives/openoffice.org-voikko_2.2-2_i386.deb (--unpack): subprocess pre-installation script returned error exit status 1 locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory ERROR: postinst abort-upgrade 2.2-2 Preparing to replace openoffice.org 2.0.4.dfsg.2-7etch4 (using .../openoffice.org_1%3a2.4.0-4_i386.deb) ... Unpacking replacement openoffice.org ... dpkg: regarding .../openoffice.org-core_1%3a2.4.0-4_i386.deb containing openoffice.org-core: openoffice.org-voikko conflicts with openoffice.org-core (>= 2.0.4.dfsg.2.1) openoffice.org-core (version 1:2.4.0-4) is to be installed. dpkg: error processing /var/cache/apt/archives/openoffice.org-core_1%3a2.4.0-4_i386.deb (--unpack): conflicting packages - not installing openoffice.org-core Errors were encountered while processing: /var/cache/apt/archives/openoffice.org-voikko_2.2-2_i386.deb /var/cache/apt/archives/openoffice.org-core_1%3a2.4.0-4_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) $ dpkg -l openoffice.org-core Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-=================================-====================================-======================================================== ii openoffice.org-core 2.0.4.dfsg.2-7etch4 OpenOffice.org office suite architecture dependent files As you might notice openoffice.org-core (which contains unopkg) was not even unpacked yet (although -voikko depends on it..) when openoffice.org-voikkos preinst is ran - so the old unopkg from etch is used which does not know those -env options yet... As far as I see you have two options: Option 1 -------- only run with -env when upgrading from something equal or greater than 1:2.3.0~oog680m1-1 [1] Option 2 -------- Policy 7.2 says you need a Pre-Depends for such cases... A dist-upgrade with a Pre-Depends: openoffice.org-core (>= 1:2.3.0~oog680m1-1) [1] added to openoffice.org-voikko worked (it temporarily removes... X-Debbugs-Cc'ing -devel, as Pre-Depends: should be discussed there Regards, Rene [1] the first version with supports those -env things for unopkg -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages openoffice.org-voikko depends on: ii libc6 2.7-10 GNU C Library: Shared libraries ii libgcc1 1:4.3.0-3 GCC support library ii libstdc++6 4.3.0-3 The GNU Standard C++ Library v3 ii libvoikko1 1.6-1 Finnish spell-checker and hyphenat ii openoffice.org-core 1:2.4.0-4 OpenOffice.org office suite archit Versions of packages openoffice.org-voikko recommends: ii openoffice.org 1:2.4.0-4 OpenOffice.org Office suite ii openoffice.org-calc 1:2.4.0-4 OpenOffice.org office suite - spre ii openoffice.org-draw 1:2.4.0-4 OpenOffice.org office suite - draw ii openoffice.org-impress 1:2.4.0-4 OpenOffice.org office suite - pres ii openoffice.org-writer 1:2.4.0-4 OpenOffice.org office suite - word -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]