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

2017-08-29 Thread Launchpad Bug Tracker
[Expired for naist-jdic (Ubuntu) because there has been no activity for
60 days.]

** Changed in: naist-jdic (Ubuntu)
   Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1676960

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/naist-jdic/+bug/1676960/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2017-06-30 Thread Hideki Yamane
unreproducible with minimal xenial chroot

** Changed in: naist-jdic (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1676960

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/naist-jdic/+bug/1676960/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2017-06-30 Thread Hideki Yamane
unreproducible with minimal sid chroot.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1676960

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/naist-jdic/+bug/1676960/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2017-06-30 Thread Hideki Yamane
> 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...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1676960

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/naist-jdic/+bug/1676960/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2017-03-28 Thread Paul Sturbaum
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:  2
. 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 with scrollkeeper...
Setting up ipadic (2.7.0+main-3) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up naist-jdic-utf8 (1:0.4.3-7) ...
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
Setting up chasen (2.4.5-29) ...
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:
Setting up naist-jdic-utf8 (1:0.4.3-7) ...
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



Even when I attempt complete removal it fails.  It then showed that the
package naist-jdic-utf8 was broken.  I attempted to reinstall it and got
an internal error that said the file name didn't exist and now Synaptic
shows the package as installed again.  apt-get says it is neither
installed nor removed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1676960

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

To manage notifications about this bug go to: