On Thu, Jun 12, 2014 at 05:40:17PM +0200, Adam Borowski wrote: > > > 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
OK, you don't have ispell installed. I was confused by > dictionaries-common: (re)configuring ... > debconf (developer): <-- METAGET shared/packages-ispell owners > debconf (developer): --> 10 shared/packages-ispell doesn't exist but this is run regardless of ispell being or not installed. Since it is not installed it triggered no errors. > /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 Too late. After running "/usr/share/debconf/fix_db.pl" both should be different if something was fixed, but since some packages were later upgraded if there were no changes in last run both would become similar. Unless the problem was generated some day before, those snapshots are of limited utility. The pity is that if you had known the missing templates, you could have reconfigured affected packages to have expected defaults instead of who knows defaults. I was curious about "/var/cache/dictionaries-common/ispell-default" and "/var/cache/dictionaries-common" contents just before running "/usr/share/debconf/fix_db.pl" to know if they were affected. I recently added them to record defaults also outside debconf and expected them to help here. Note that this debconf database corruption is unlikely to have its origin in dictionaries-common, it is probably caused by the combination of a package and special circumstances. If dictionaries-common was to blame I would have received a flood of bug reports about this. The only thing dictionaries-common does is to detect the problem (which probably affects other templates) and complain instead of blindly change defaults to one of the possible values and continue. Thanks for your feedback. Regards, -- Agustin -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org