On Thu, Jun 12, 2014 at 03:06:47PM +0200, Agustin Martin wrote:
> On Thu, Jun 12, 2014 at 01:54:22PM +0200, Adam Borowski wrote:
> > On Thu, Jun 12, 2014 at 12:55:19PM +0200, Agustin Martin wrote:
> > > On Thu, Jun 12, 2014 at 09:58:24AM +0200, Adam Borowski wrote:
> > > > Trying to upgrade dictionaries-common fails with:
> > > > 
> > > > Setting up dictionaries-common (1.23.5) ...
> > > > update-default-wordlist: Question empty but elements installed for 
> > > > class "wordlist"
> > > >   dictionaries-common/default-wordlist: return code: "0", value: ""
> > > >   Choices: , Manual symlink setting
> > > >   shared/packages-wordlist: return code: "10" owners/error: 
> > > > "shared/packages-wordlist doesn't exist"
> > > >   Installed elements: american (American English)

> Debconf database corruption might have happened for other reasons, and
> I'd expect it to have affected more packages.
> 
> By the way, what "/var/cache/dictionaries-common/ispell-default" and
> "/var/cache/dictionaries-common" contain in your box?

/var/cache/dictionaries-common/ispell-default: notexistent

/var/cache/dictionaries-common:
drwxr-xr-x 1 root root 310 Feb 24 02:00 .
drwxr-xr-x 1 root root 230 May 15 15:47 ..
-rw-r--r-- 1 root root 741 Jun 12 13:49 aspell.db
-rw-r--r-- 1 root root 173 May 29 05:42 emacsen-ispell-default.el
-rw-r--r-- 1 root root 897 Jun 12 13:49 emacsen-ispell-dicts.el
-rw-r--r-- 1 root root 188 Jun 12 13:49 hunspell.db
-rw-r--r-- 1 root root   0 May 29 05:42 ispell-dicts-list.txt
-rw-r--r-- 1 root root 188 May 29 05:42 ispell.db
-rw-r--r-- 1 root root 881 Jun 12 13:49 jed-ispell-dicts.sl
-rw-r--r-- 1 root root 366 Jun 12 13:49 sqspell.php
-rw-r--r-- 1 root root  27 May 29 05:42 wordlist-default
-rw-r--r-- 1 root root 267 Jun 12 13:49 wordlist.db


> Did running "/usr/share/debconf/fix_db.pl" help?

Yes, it did.  After running it, dictionaries-common upgraded successfully.
I do have a btrfs snapshot of the system from yesterday and before, though,
so further debugging is possible.

> As pointed out in
> "README.problems" document, you can also look about affected templates
> once run
> 
> $ diff -u /var/cache/debconf/config.dat{-old,}    | grep ^[+-]Name
empty
> $ diff -u /var/cache/debconf/templates.dat{-old,} | grep ^[+-]Name
empty


-- 
Gnome 3, Windows 8, Slashdot Beta, now Firefox Ribbon^WAustralis.  WTF is going
on with replacing usable interfaces with tabletized ones?


-- 
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