Installing openoffice.org-hyphenation-en-us invokes a conflict

Bug #192401 reported by Shirish Agarwal
2
Affects Status Importance Assigned to Milestone
openoffice.org-help-en (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: openoffice.org-help-en

Hi all,
    I tried to install the openoffice.org-hyphenation-en-us & it didn't work out. This is the output generated :-

shirish@Mugglewille:~$ sudo aptitude install openoffice.org-hyphenation-en-us
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following NEW packages will be installed:
  openoffice.org-hyphenation-en-us
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 32.5kB of archives. After unpacking 127kB will be used.
Writing extended state information... Done
Get:1 http://archive.ubuntu.com hardy/main openoffice.org-hyphenation-en-us 2.3-5 [32.5kB]
Fetched 32.5kB in 2s (12.8kB/s)
Selecting previously deselected package openoffice.org-hyphenation-en-us.
(Reading database ... 318646 files and directories currently installed.)
Unpacking openoffice.org-hyphenation-en-us (from .../openoffice.org-hyphenation-en-us_2.3-5_all.deb) ...
dpkg: error processing /var/cache/apt/archives/openoffice.org-hyphenation-en-us_2.3-5_all.deb (--unpack):
 trying to overwrite `/usr/share/myspell/dicts/hyph_en_US.dic', which is also in package openoffice.org-hyphenation
Errors were encountered while processing:
 /var/cache/apt/archives/openoffice.org-hyphenation-en-us_2.3-5_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done

Did a workaround by doing this :-

shirish@Mugglewille:~$ sudo dpkg --force-conflicts --force-overwrite -i /var/cache/apt/archives/openoffice.org-hyphenation-en-us_2.3-5_all.deb
(Reading database ... 318646 files and directories currently installed.)
Unpacking openoffice.org-hyphenation-en-us (from .../openoffice.org-hyphenation-en-us_2.3-5_all.deb) ...
dpkg - warning, overriding problem because --force enabled:
 trying to overwrite `/usr/share/myspell/dicts/hyph_en_US.dic', which is also in package openoffice.org-hyphenation
Setting up openoffice.org-hyphenation-en-us (2.3-5) ...
Updating OpenOffice.org's dictionary list... done.

Comments, suggestions anybody?

Revision history for this message
loa_rus (knight13) wrote :

Such situation:

loa@note:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libneon26 libmono-zeroconf1.0-cil libmono-cairo2.0-cil libavahi1.0-cil libdb4.4 librcc librcd
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  openoffice.org-hyphenation-en-us
The following NEW packages will be installed:
  openoffice.org-hyphenation-en-us
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
4 not fully installed or removed.
Need to get 0B/32.5kB of archives.
After this operation, 127kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 159795 files and directories currently installed.)
Unpacking openoffice.org-hyphenation-en-us (from .../openoffice.org-hyphenation-en-us_2.3-5_all.deb) ...
dpkg: error processing /var/cache/apt/archives/openoffice.org-hyphenation-en-us_2.3-5_all.deb (--unpack):
 trying to overwrite `/usr/share/myspell/dicts/hyph_en_US.dic', which is also in package openoffice.org-hyphenation
Errors were encountered while processing:
 /var/cache/apt/archives/openoffice.org-hyphenation-en-us_2.3-5_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

loa@note:~$ sudo dpkg --force-conflicts --force-overwrite -i /var/cache/apt/archives/openoffice.org-hyphenation-en-us_2.3-5_all.deb
(Reading database ... 159795 files and directories currently installed.)
Unpacking openoffice.org-hyphenation-en-us (from .../openoffice.org-hyphenation-en-us_2.3-5_all.deb) ...
dpkg - warning, overriding problem because --force enabled:
 trying to overwrite `/usr/share/myspell/dicts/hyph_en_US.dic', which is also in package openoffice.org-hyphenation
Setting up openoffice.org-hyphenation-en-us (2.3-5) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "CC"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Updating OpenOffice.org's dictionary list... done.

That's right :D

Revision history for this message
Luca Carrogu (motoplux) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 192310 , so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

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.