On Mon, Feb 07, 2011 at 08:36:44PM -0800, Matt Kraai wrote:
> Package: dictionaries-common
> Version: 1.9.0
> 
> Hi,
> 
> When I upgraded dictionaries-common to 1.9.0, the following messages
> were displayed:
> 
>  Preconfiguring packages ...
>  Subroutine dc_debugprint redefined at 
> /usr/share/dictionaries-common/dc-debconf-default-value.pl line 59, <STDIN> 
> line 9.
>  Subroutine dc_set redefined at 
> /usr/share/dictionaries-common/dc-debconf-default-value.pl line 67, <STDIN> 
> line 9.
>  Subroutine dc_extractlangname redefined at 
> /usr/share/dictionaries-common/dc-debconf-default-value.pl line 106, <STDIN> 
> line 9.
>  Subroutine dc_guesslang redefined at 
> /usr/share/dictionaries-common/dc-debconf-default-value.pl line 166, <STDIN> 
> line 9.
>  Subroutine dc_guess_langkey_for_link redefined at 
> /usr/share/dictionaries-common/dc-debconf-default-value.pl line 212, <STDIN> 
> line 9.
>  Subroutine dc_manual_alternative redefined at 
> /usr/share/dictionaries-common/dc-debconf-default-value.pl line 258, <STDIN> 
> line 9.
>  Subroutine dc_guess_language_country_strings redefined at 
> /usr/share/dictionaries-common/dc-debconf-default-value.pl line 301, <STDIN> 
> line 9.
>  Subroutine dc_set_default_value_for_class redefined at 
> /usr/share/dictionaries-common/dc-debconf-default-value.pl line 370, <STDIN> 
> line 9.
>  Use of uninitialized value $class in hash element at 
> /usr/share/dictionaries-common/dc-debconf-default-value.pl line 73, <STDIN> 
> line 12.
>  Can't use string ("american (American English)") as a HASH ref while "strict 
> refs" in use at /tmp/dictionaries-common.config.43173 line 614, <STDIN> line 
> 14.
>  dictionaries-common failed to preconfigure, with exit status 9
>  Use of uninitialized value $class in hash element at 
> /usr/share/dictionaries-common/dc-debconf-default-value.pl line 73, <STDIN> 
> line 7.
>  Info: dictionaries-common/default-ispell is already set to
>        [american (American English)]. Preserving it.
> 

Strange, I cannot reproduce this at all.

When upgrading,

Get:1 http://ftp.es.debian.org/debian/ sid/main dictionaries-common all 1.9.0 
[301 kB]
Get:2 http://ftp.es.debian.org/debian/ sid/main dictionaries-common-dev all 
1.9.0 [130 kB]
Fetched 431 kB in 0s (3395 kB/s)             
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 264716 files and directories currently installed.)
Preparing to replace dictionaries-common 1.5.17 (using 
.../dictionaries-common_1.9.0_all.deb) ...

I tried again from scratch (emulating first installation). No problem found.

Tried once again in a chroot (I tried a good number of times before 
uploading), both as upgrade and as first installation, no problem found. 

>From the error messages, seems that a package tries in its config to load
both dictionaries-common.config and
/usr/share/dictionaries-common/dc-debconf-default-value.pl in a same perl
script. dictionaries-common.config already contains it, so never loads 
/usr/share/dictionaries-common/dc-debconf-default-value.pl, just uses its 
availability to test if is first installation or not.

In case you keep a full upgrade log, can you please send me the full list of
packages (in particular ispell dictionaries and wordlists) being upgraded at 
that run? Info about currently installed ispell dictionaries and wordlists 
should also help.

Thanks for your feedback,

-- 
Agustin



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to