Installing sdic-eijiro failed because of no eijiro CD

Bug #322697 reported by ahfuji
56
This bug affects 6 people
Affects Status Importance Assigned to Milestone
sdic (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: sdic-eijiro

$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10

~$ LANG=C apt-cache policy sdic-eijiro
sdic-eijiro:
  Installed: 2.1.3-16
  Candidate: 2.1.3-16
  Version table:
 *** 2.1.3-16 0
        500 http://archive.ubuntu.com intrepid/multiverse Packages
        100 /var/lib/dpkg/status

I tried to install sdic-eijiro from console by aptitutude, but it failed with an error.
The error displayed is as follows.

---
$ LANG=C sudo aptitude install sdic-eijiro
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
  libsufary2{a} sdic-eijiro sufary{a}
0 packages upgraded, 3 newly installed, 0 to remove and 11 not upgraded.
Need to get 0B/95.3kB of archives. After unpacking 340kB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Preconfiguring packages ...
Selecting previously deselected package libsufary2.
(Reading database ... 190550 files and directories currently installed.)
Unpacking libsufary2 (from .../libsufary2_2.1.1-8build1_i386.deb) ...
Selecting previously deselected package sdic-eijiro.
Unpacking sdic-eijiro (from .../sdic-eijiro_2.1.3-16_all.deb) ...
Selecting previously deselected package sufary.
Unpacking sufary (from .../sufary_2.1.1-8build1_i386.deb) ...
Processing triggers for man-db ...
Setting up libsufary2 (2.1.1-8build1) ...

Setting up sdic-eijiro (2.1.3-16) ...
Building /usr/share/dict/eijiro.sdic ... /media/cdrom/eijiro/eijiro*.txt: No such file or directory
done.
Building suffix array (This will take a long long time) ... ERROR: text file mapping error.
dpkg: error processing sdic-eijiro (--configure):
 subprocess post-installation script returned error exit status 1
Setting up sufary (2.1.1-8build1) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 sdic-eijiro
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up sdic-eijiro (2.1.3-16) ...
Building /usr/share/dict/eijiro.sdic ... /media/cdrom/eijiro/eijiro*.txt: No such file or directory
done.
Building suffix array (This will take a long long time) ... ERROR: text file mapping error.
dpkg: error processing sdic-eijiro (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 sdic-eijiro
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
---

I think this error results from a lack of eijiro dictionary data
because I find the following error message.
"""
Building /usr/share/dict/eijiro.sdic ... /media/cdrom/eijiro/eijiro*.txt: No such file or directory
done.
"""

Eijiro's CD is a commercial product and the debian package cannot include it without permission,
so the installation inevitably fails. I think this package is, as it is, useless for users
who want to use japanese-english and english-japanese dictionaries immediately.
I think this package needs to be reviewed again.

Revision history for this message
Alessio Treglia (quadrispro) wrote :

Can you confirm this bug with the latest package available for Karmic?

Changed in sdic (Ubuntu):
status: New → Incomplete
Revision history for this message
Steve Beattie (sbeattie) wrote :

The version in karmic prompts the user for the path of eijiro cdrom (default to /media/cdrom/eijiro); if one points it at a bogus location (e.g. the person installaing doesn't actually have the cdrom), then the package installation still fails.

Marking as Fix Released, despite the suboptimal nature of the user interface/interaction.

Changed in sdic (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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