package naist-jdic-utf8 1:0.4.3-7 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1676960 reported by Paul Sturbaum
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
naist-jdic (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

it seems to be a result of the Paragon UFSD driver I installed? Im not sure but I saw output to that effect.

ProblemType: Package
DistroRelease: Ubuntu 16.10
Package: naist-jdic-utf8 1:0.4.3-7
ProcVersionSignature: Ubuntu 4.8.0-41.44-generic 4.8.17
Uname: Linux 4.8.0-41-generic x86_64
NonfreeKernelModules: ufsd
ApportVersion: 2.20.3-0ubuntu8.2
Architecture: amd64
Date: Tue Mar 28 12:10:59 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-06-10 (291 days ago)
InstallationMedia: Lubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
PackageArchitecture: all
RelatedPackageVersions:
 dpkg 1.18.10ubuntu1
 apt 1.3.4
SourcePackage: naist-jdic
Title: package naist-jdic-utf8 1:0.4.3-7 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to yakkety on 2016-12-26 (91 days ago)

Revision history for this message
Paul Sturbaum (psturbs) wrote :
Revision history for this message
Paul Sturbaum (psturbs) wrote :
Download full text (4.5 KiB)

ignore earlier comments about the UFSD in kernel. I just tried uninstalling both the offending package as well as naist-jdic and got this error. Here is the output:

Gtk-WARNING **: Theme directory imported-Humanity/192 of theme Lubuntu has no size field
(Reading database ... 637916 files and directories currently installed.)
Removing chasen (2.4.5-29) ...
Removing naist-jdic-utf8 (1:0.4.3-7) ...
rm: cannot remove '/var/lib/chasen/dic/naist-jdic-utf8/*': No such file or directory
dpkg: error processing package naist-jdic-utf8 (--remove):
 subprocess installed pre-removal script returned error exit status 1
dpkg: naist-jdic: dependency problems, but removing anyway as you requested:
 naist-jdic-utf8 depends on naist-jdic (= 1:0.4.3-7).

Removing naist-jdic (1:0.4.3-7) ...
Errors were encountered while processing:
 naist-jdic-utf8
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Processing triggers for doc-base (0.10.7) ...
Processing 1 removed doc-base file...
Registering documents with scrollkeeper...
Processing triggers for man-db (2.7.5-1) ...
dpkg: dependency problems prevent configuration of naist-jdic-utf8:
 naist-jdic-utf8 depends on naist-jdic (= 1:0.4.3-7); however:
  Package naist-jdic is not installed.

dpkg: error processing package naist-jdic-utf8 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 naist-jdic-utf8

Now I tried to reinstall naist-jdic and I got the following BUT now both packages show that they are installed.

Gtk-WARNING **: Theme directory imported-Humanity/192 of theme Lubuntu has no size field
Selecting previously unselected package naist-jdic.
(Reading database ... 637893 files and directories currently installed.)
Preparing to unpack .../0-naist-jdic_1%3a0.4.3-7_all.deb ...
Unpacking naist-jdic (1:0.4.3-7) ...
Selecting previously unselected package ipadic-common.
Preparing to unpack .../1-ipadic-common_2.7.0+main-3_all.deb ...
Unpacking ipadic-common (2.7.0+main-3) ...
Selecting previously unselected package ipadic.
Preparing to unpack .../2-ipadic_2.7.0+main-3_amd64.deb ...
Unpacking ipadic (2.7.0+main-3) ...
Selecting previously unselected package chasen.
Preparing to unpack .../3-chasen_2.4.5-29_amd64.deb ...
Unpacking chasen (2.4.5-29) ...
Setting up ipadic-common (2.7.0+main-3) ...
Setting up naist-jdic (1:0.4.3-7) ...
Now generating naist-jdic data. This may take a while...
parsing grammar.cha
parsing cforms.cha
parsing ctypes.cha
parsing connect.cha
table size: 3072
lines: ...................................................................... 34760
number of states: 3289
bi-gram: ........................................ 20000
............................. 34624
tri-gram: 34760
matrix size: 3289x3072 -> 436x353
parsing grammar.cha
parsing cforms.cha
parsing table.cha
parsing dictionaries...
naist-jdic.dic
456170 entries
387067 keys

Done! Check /var/lib/chasen/dic/naist-jdic directory.
update-alternatives: using /usr/share/chasen/chasenrc to provide /etc/chasenrc (chasenrc) in auto mode
Processing triggers for doc-base (0.10.7) ...
Processing 2 added doc-base files...
Registering documents wi...

Read more...

Revision history for this message
Hideki Yamane (henrich) wrote :

> Now generating naist-jdic data. This may take a while...
> Usage: iconv [-c] [-s] [-f fromcode] [-t tocode] [file ...]
> or: iconv -l
> Try `iconv --help' for more information.
> dpkg: error processing package naist-jdic-utf8 (--configure):
> subprocess installed post-installation script returned error exit status 1
> Errors were encountered while processing:
> naist-jdic-utf8

It's strange, its postinst script just does

# convert euc-jp to UTF-8
    [ -d ${dictdir} ] || exit 1
    for data in $files
     do iconv -f eucjp -t utf8 -o ${dictdir}-utf8/${data} ${dictdir}/${data}
    done

    iconv -f eucjp -t utf8 -o ${chasenrc}-utf8 ${chasenrc}

I don't know why iconv just return help menu...

Revision history for this message
Hideki Yamane (henrich) wrote :

unreproducible with minimal sid chroot.

Revision history for this message
Hideki Yamane (henrich) wrote :

unreproducible with minimal xenial chroot

Changed in naist-jdic (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for naist-jdic (Ubuntu) because there has been no activity for 60 days.]

Changed in naist-jdic (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.