Your message dated Tue, 8 Sep 2009 16:06:11 +0200
with message-id <[email protected]>
and subject line Re: Bug#545418: dictionaries-common is not installable
has caused the Debian Bug report #545418,
regarding dictionaries-common is not installable
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
545418: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545418
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dictionaries-common
Version: 1.2.1
Severity: grave
Justification: renders package unusable


Below is the bash session for installing the new version:

Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done The following packages will be upgraded: dictionaries-common 1 packages upgraded, 0 newly installed, 0 to remove and 2 not upgraded. Need to get 0B/289kB of archives. After unpacking 151kB will be used. Do you want to continue? [Y/n/?] y Writing extended state information... Done Preconfiguring packages ... (Reading database ... 136255 files and directories currently installed.)
Preparing to replace dictionaries-common 1.2.1 (using
.../dictionaries-common_1.3.1_all.deb) ... Adding `diversion of /usr/share/dict/words to /usr/share/dict/words.pre-dictionaries-common by dictionaries-common' dpkg-divert: rename involves overwriting `/usr/share/dict/words.pre-dictionaries-common' with different file `/usr/share/dict/words', not allowed dpkg: error processing /var/cache/apt/archives/dictionaries-common_1.3.1_all.deb (--unpack): subprocess new pre-installation script returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/dictionaries-common_1.3.1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done

-- System Information:
Debian Release: squeeze/sid
 APT prefers testing
 APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dictionaries-common depends on:
ii debconf [debconf-2.0] 1.5.27 Debian configuration management sy ii libtext-iconv-perl 1.7-2 converts between character sets in
ii  perl-base                     5.10.0-25  minimal Perl system

dictionaries-common recommends no packages.

-- debconf information:
 dictionaries-common/default-wordlist:
 dictionaries-common/invalid_debconf_value:
 dictionaries-common/ispell-autobuildhash-message:
 dictionaries-common/selecting_ispell_wordlist_default:
 dictionaries-common/default-ispell:
 dictionaries-common/old_wordlist_link: true
 dictionaries-common/move_old_usr_dict: true
 dictionaries-common/remove_old_usr_dict_link: false




--- End Message ---
--- Begin Message ---
On Mon, Sep 07, 2009 at 08:26:54AM -0400, Gary Dale wrote:
> Agustin Martin wrote:
> >Like in #505541, I tend to think that your alternatives database got

s/alternatives/diversions/

> >corrupted. What is the output of
> >
> >$ grep -n -e words -e dictionaries-common /var/lib/dpkg/diversions
> >
> >Here that outputs
> >
> >130:/usr/share/dict/words
> >131:/usr/share/dict/words.pre-dictionaries-common
> >132:dictionaries-common
> >
> >(numbers are just to check that they are consecutive, no exact match
> >intended)
> I get no output. There are no files in my diversions directory.

That should be a file, not a directory. No output from the above command 
means dictionaries-common diversion was not registered or the registration
was lost. That is indeed what I expected to cause the problem.

> Here's the original contents of the /usr/share/dict directory:
> 
> transponder:/home/garydale# ls -l /usr/share/dict
> total 3704
> -rw-r--r-- 1 root root  931467 2007-08-20 13:03 american-english
> -rw-r--r-- 1 root root     417 2008-02-24 18:51 connectives.gz
> -rw-r--r-- 1 root root    4551 2008-02-24 18:51 propernames.gz
> -rw-r--r-- 1 root root     199 2009-04-23 06:35 README.select-wordlist
> -rw-r--r-- 1 root root 2486824 2008-02-24 18:51 web2
> -rw-r--r-- 1 root root  339463 2008-02-24 18:51 web2a.gz
> lrwxrwxrwx 1 root root      30 2009-05-04 23:13 words -> 
> /etc/dictionaries-common/words
> lrwxrwxrwx 1 root root      30 2008-06-13 22:37 words.pre-dictionaries-common 
> -> /etc/dictionaries-common/words

Thanks for the info, that should be something like

-rw-r--r--  1 root root     199 Aug  6  2008 README.select-wordlist
-rw-r--r--  1 root root  931467 Jul  4  2008 american-english
-rw-r--r--  1 root root     417 Feb 24  2008 connectives.gz
-rw-r--r--  1 root root    4551 Feb 24  2008 propernames.gz
-rw-r--r--  1 root root 2486824 Feb 24  2008 web2
-rw-r--r--  1 root root  339463 Feb 24  2008 web2a.gz
lrwxrwxrwx  1 root root      30 Sep  8 13:36 words -> 
/etc/dictionaries-common/words
lrwxrwxrwx  1 root root      16 Sep  8 13:38 words.pre-dictionaries-common -> 
american-english

I have tried to reproduce the problem in a chroot with no success at all. I
have also looked at the dpkg git repo for changes involving dpkg-divert, but
got no clue there. Regarding the different target for
words.pre-dictionaries-common symlink the only thing I can think is that
short before the date of the link perl transition to 5.10 happened. Not sure
if that is or not related, but that is not the important part of the problem.

> Removing the words.pre-dictionaries-common link worked. The package
> was then installable.

I'd reinstall wamerican and see if the link points to the right place. If
the diversion is registered the link should no longer be a problem.

Anyway, the main problem is the diversion not being registered, and that seems
either a problem with a particular dpkg version (not with the current one)
or a problem in your local system that corrupted /var/lib/dpkg/diversions file.
Since none of them can be fixed in dictionaries-common, I am closing this bug
report.

Thanks a lot for your feedback.

Cheers,

-- 
Agustin


--- End Message ---

Reply via email to