On Wed, Apr 13, 2011 at 07:33:25PM +0200, Bertrand Marc wrote:
> Hi,
> 
> I checked and found wamerican on my system. Therefore
> /usr/share/dict/american-english was present. But your command line
> gave me:
> $ echo metaget shared/packages-wordlist owners | debconf-communicate
> debconf: DbDriver "passwords" warning: could not open
> /var/cache/debconf/passwords.dat: Permission non accordée
> 10 shared/packages-wordlist doesn't exist

Thanks for the info, that is the behavior I expected.

> And finally I just removed wamerican (as I have no use for it) and
> the issue is gone.

Some programs may ask for a basic plain wordlist, but should pull one
through dependencies.

If that was a random corruption, you can safely reinstall wamerican if
desired. Everything should then work properly, seems not a wamerican 
problem.

I'd expect that running /usr/share/debconf/fix_db.pl and configuring later
should have also put the system in a consistent state. Since this problem
may have affected other templates, keep this in mind in case you need it
because of problems with other debconf questions. I am still surprised that
this only affected wordlists.
 
> This bug is fixed for me, although I don't really understand how I
> got a debconf database corruption. /var is definitely not full.

A nearly full /var partition has been suggested as a possible reason, but is
clear that is not the only one. Soren also had plenty of space under /var.
The most frequent reason for debconf database corruption when running
debconf seems fixed in debconf 1.5.0 (#198297), but may be other still 
unknown reasons are flying around.

For completeness, I was doing some checks in a chroot about which exact
changes in debconf database are needed to trigger the error. Starting with 
wamerican and wbritish installed I needed to do, without removing any of 
both wordlists (done in a chroot, do not try in a real system),

unregister shared/packages-wordlist as wamerican
unregister shared/packages-wordlist as wbritish
unregister dictionaries-common/default-wordlist as dictionaries-common

Every other combination did not trigger the error.

a) If dictionaries-common/default-wordlist is set, missing owners for
   shared/packages-wordlist will not cause the error, only that question 
   may be re-asked on wamerican/wbritish update.
b) If shared/packages-wordlist owners are correct, but
   dictionaries-common/default-wordlist is missing, it will be handled as
   first install for class and a locale based guess be tried.

Above three changes happening as resut of legitimate package actions
not related to package removal seems unlikely, so seems indeed some sort of
corruption of unknown origin.

If nobody else reproduces this problem, I will soon close this bug report.

Thanks, Bertrand and Soren for your help.

-- 
Agustin



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