Re: initdb faild to initialize full text search dictionaries

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Les <nagylzs(at)gmail(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: initdb faild to initialize full text search dictionaries
Date: 2023-05-19 19:55:02
Message-ID: 365657.1684526102@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Les <nagylzs(at)gmail(dot)com> writes:
> The last command "apt install -y postgresql-15" gives this error:

> Building PostgreSQL dictionaries from installed myspell/hunspell packages...
> hu_hu
> iconv: illegal input sequence at position 131
> ERROR: Conversion of /usr/share/hunspell/hu_HU.aff failed

Sadly, I do not think any of the moving parts there are under the PG
project's control. We certainly can't fix problems in either hunspell
or iconv, and even the fact that iconv is being applied during install
is not something the core project does. I gather that this is
something the Debian packaging of postgres is attempting, so I'd
suggest taking it up with those packagers. It's possible that it's
something easy like they have the wrong idea of what encoding that
particular file is in. Or maybe the best answer is to skip any
files that fail conversion, without aborting the package install
entirely. But we here on pgsql-bugs can't help you.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message David G. Johnston 2023-05-19 20:14:07 Re: Aggregation results with json(b)_agg and array_agg in a SELECT with OUTER JOIN
Previous Message Tom Lane 2023-05-19 18:50:05 Re: Clause accidentally pushed down ( Possible bug in Making Vars outer-join aware)