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) > > > > This is typically related to debconf database corruption. > > I've seen this bug before: around a year ago, I wiped /var/cache (or rather, > didn't have it on backup), then a number of packages refused to upgrade -- > despite failing to handle clearing of /var/cache being a RC bug. However, > this would be strange in this case as dictionaries-common has been upgraded > a number of times since then.
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? > Unless you changed it to require that key, without creating it first, during > this upload. Only debian/control changes, nothing debconf related. > > > Please see "/usr/share/doc/dictionaries-common/README.problems", section > > > "Debconf database corruption" for recovery info. > > > > Have you looked at this info? It should help recovering from debconf > > database corruption. > > debconf (developer): <-- UNREGISTER shared/packages-wordlist > debconf (developer): --> 10 shared/packages-wordlist doesn't exist > > dictionaries-common: (re)configuring ... > debconf (developer): <-- METAGET shared/packages-ispell owners > debconf (developer): --> 10 shared/packages-ispell doesn't exist Did running "/usr/share/debconf/fix_db.pl" help? 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 $ diff -u /var/cache/debconf/templates.dat{-old,} | grep ^[+-]Name > > Note that dictionaries-common just triggers the error message because it > > checks for consistency, but it does not mean that dictionaries-common is > > causing the database corruption. > > > > By the way, which was your old dictionaries-common version? > > 1.23.4 -> 1.23.5 (daily updated unstable) No related changes at all in that upload, see http://anonscm.debian.org/gitweb/?p=dict-common/dictionaries-common.git;a=summary Thanks for the feedback, -- Agustin -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org