On Sat, Jun 18, 2005 at 05:09:01PM +0200, Agustin Martin wrote:
> On Fri, Jun 17, 2005 at 05:38:00PM -0500, Branden Robinson wrote:
> > Package: dictionaries-common
> > Version: 0.30.1
> > Severity: normal
> >
> > Upgrading from sarge:
> >
> > Preconfiguring packages ...
> > Dictionaries-common: Ispell dictionary
> > --------------------------------------
> >
> > Because more than one ispell dictionary will be available in your system,
> > please select the one you'd like applications to use by default.
> >
> > You can change the default ispell dictionary at any time by running
> > "select-default-ispell".
> >
> > 1. 2. Manual symlinks setting
> >
> > Which ispell dictionary should be the system's default? 1
>
> Hi, Branden,
>
> Seems you have no ispell dicts installed at all, so the debconf choices
> string becomes something like
>
> , Manual symlinks setting
>
> The original debconf string being
>
> ${choices}, Manual symlinks setting
>
> where ${choices} is substituted after the installed ispell dicts/wordlists
> (ispell dicts in your case). I am a bit puzzled, since nothing in that code
> has been changed since 0.25.4 (11Apr2005), and that changes are currently in
> sarge, with no bugreports.
I was re-checking the code and that section is not called when upgrading
dictionaries-common from sarge with no ispell dicts installed (I cannot check
the real upgrade now, but the only sarge+ changes in dictionaries-common were
po files and a standalone script in dictionaries-common-dev that is called
only on demand). As a mater of fact I see no possibility that the above
string is called with an empty ${choices} field, unless something became
broken in some way.
So I think of three possibilities:
a) debconf database broken
Try
# dpkg-reconfigure dictionaries-common
If the problem persists, run
# /usr/share/debconf/fix_db.pl
and try again with
# dpkg-reconfigure dictionaries-common
If the problem is still present, this is not the reason for it.
b) You have a single ispell dict installed that, when upgraded along with
dictionaries-common, has a wrong (empty) Default: field in
${dict_name}/languages template, causing the wrong string being passed
to debconf.
c) Something new in debconf is broken
This is not the case if you have no ispell dicts since, as I mentioned
above, that string is not used on upgrades from sarge. I am keeping
debconf being cc'ed, but I see no bugreports that might seem related to
this problem. But if you have ispell dicts installed, debconf subst
might not be working well.
I will try to reproduce this problem tomorrow in a sarge -> sid upgrade
*only* for dictionaries-common. If I cannot reproduce this problem, I will
need as much possible information, like installed ispell dicts and
preferrably an upgrade log with the relevant dictionaries-common
information, preferrably obtained with the
DEBCONF_DEBUG=developer
prefix. This last is very important for (b) and (c).
Cheers,
--
Agustin
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]