Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q06Bx-0000XZ-9V for pgsql-bugs@arkaria.postgresql.org; Fri, 19 May 2023 19:55:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q06Bw-0000c8-5Z for pgsql-bugs@arkaria.postgresql.org; Fri, 19 May 2023 19:55:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q06Bv-0000bz-T9 for pgsql-bugs@lists.postgresql.org; Fri, 19 May 2023 19:55:07 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q06Bs-000mez-3l for pgsql-bugs@lists.postgresql.org; Fri, 19 May 2023 19:55:07 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 34JJt2FN365658; Fri, 19 May 2023 15:55:02 -0400 From: Tom Lane To: Les cc: pgsql-bugs@lists.postgresql.org Subject: Re: initdb faild to initialize full text search dictionaries In-reply-to: References: Comments: In-reply-to Les message dated "Fri, 19 May 2023 12:29:15 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <365656.1684526102.1@sss.pgh.pa.us> Date: Fri, 19 May 2023 15:55:02 -0400 Message-ID: <365657.1684526102@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Les 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