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) 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, -- Agustin -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org