Agustin Martin wrote:
severity 545418 normal
tag 545418 unreproducible
thanks

On Sun, Sep 06, 2009 at 09:45:08PM -0400, Gary Dale wrote:
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):

Thanks for the info,

This seems to be something similar to http://bugs.debian.org/505541 and,
like there, is somewhat strange, since relevant code did not change for more
than one year.

Like in #505541, I tend to think that your alternatives database got
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.

Because that code is there from 2008-03-28, dictionaries-common is a widely
used package and the only other problem was #505541, who turned to be
unreproducible, I am tagging this bug report also as unreproducible, as well
as lowering severity.

Please let me know the output of above command. Since you are upgrading from
1.2.1 to 1.3.1, diversion should already be there, so should not try to
overwrite /usr/share/dict/words.pre-dictionaries-common.

I am also surprised about this info in your bug report,

 dictionaries-common/default-wordlist:

That seems to imply that no wordlist is installed, but
words.pre-dictionaries-common is there, and it is only a words->american symlink
provided by wamerican and diverted by dictionaries-common, so seems that
wamerican (is|was) there..
The workaround for this possible corruption is

 (a) If wamerican is there purge it.
(b) Look if /usr/share/dict/words.pre-dictionaries-common is present and if so remove it.
 (c) Reinstall dictionaries-common.
 (d) If wamerican was previously there reinstall it. Look at /usr/share/dict
     dir, both 'words' and 'words.pre-dictionaries-common' should be
     present.
 (e) Reinstall dictionaries-common to verify that everything is OK.

Do not know what has caused this corruption, may be a particular buggy dpkg
version, but with current dpkg I cannot reproduce this problem at all.

Cheers
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


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

Thanks.



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to