[HARDY] language-support-writing-en broken

Bug #197215 reported by A. Broustet
14
Affects Status Importance Assigned to Milestone
language-support-writing-en (Ubuntu)
Confirmed
Undecided
Unassigned
Nominated for Hardy by unggnu

Bug Description

Binary package hint: apt

After updating and upgrading one hour ago, I've done one more time an update and an upgrade. Since the following package is broken : language-support-writing-en

:~$ sudo aptitude safe-upgrade
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 packages have unmet dependencies:
  language-support-writing-en: Depends: openoffice.org-hyphenation-en-us but it is not installable

:~$ sudo aptitude install language-support-writing-en
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 automatically installed:
  openoffice.org-hyphenation-en-us
The following NEW packages will be installed:
  openoffice.org-hyphenation-en-us
The following partially installed packages will be configured:
  language-support-writing-en
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/32.7kB of archives. After unpacking 127kB will be used.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
(Reading database ... 147670 files and directories currently installed.)
Unpacking openoffice.org-hyphenation-en-us (from .../openoffice.org-hyphenation-en-us_2.3.1-1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/openoffice.org-hyphenation-en-us_2.3.1-1_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.1-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of language-support-writing-en:
 language-support-writing-en depends on openoffice.org-hyphenation-en-us; however:
  Package openoffice.org-hyphenation-en-us is not installed.
dpkg: error processing language-support-writing-en (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 language-support-writing-en
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

Revision history for this message
David Hamm (davidthamm) wrote :

Having same exact problem

Changed in apt:
status: New → Confirmed
Revision history for this message
Magnus Lundborg (lundborg-magnus) wrote :

I am changing the affected package from apt to language-support-writing-en.
I think the problem is the dependency on openoffice.org-hyphenation-en-us that is the problem. I think it should depend on openoffice.org-hyphenation-en-us or openoffice.org-hyphenation.

Revision history for this message
Anupam Kamal (anupamkamal) wrote :

Same problem here. Get this:

E: /var/cache/apt/archives/openoffice.org-hyphenation-en-us_2.3.1-1_all.deb: trying to overwrite `/usr/share/myspell/dicts/hyph_en_US.dic', which is also in package openoffice.org-hyphenation

Revision history for this message
Sam Williams (sam-williams) wrote :

I am running into the exact problem as well. Mine started occurring after a dist-upgrade to hardy. It seems to also have the bad affect of preventing the gnome-settings-daemon from starting properly.

Revision history for this message
sirjoebob (sirjoebob) wrote :

i can confirm the exact same issue on a fresh install of alpha 5 on a dell vostro 1500.

Revision history for this message
sirjoebob (sirjoebob) wrote :

Sorry for the double-post but here is a screenshot of my error message

Revision history for this message
burasa (patrick-burasa) wrote :

Same problem her on Hardy Alpha 5 om my IBM T60... recently installed it with an encrypted LVM pv... I had started to suspect that it may have anything to do with cryptsetup but since you all have the same issue, I am a bit relieved.

Revision history for this message
thecure (keith-k) wrote :

confirm. 64 bit Hardy

Revision history for this message
maKA (tmsrishi) wrote :

confirm alpha 5 hardy fresh install

Revision history for this message
KWierso (kwierso) wrote :

Fresh install of Alpha 5. Same error.

Revision history for this message
unggnu (unggnu) wrote :

This both commands should fix the problem:

sudo dpkg -r openoffice.org-hyphenation
sudo apt-get -f install

Revision history for this message
fuhrysteve (fuhrysteve) wrote :

@unggnu
mom@Dell500:~$ sudo dpkg -r openoffice.org-hyphenation
[sudo] password for mom:
dpkg: dependency problems prevent removal of openoffice.org-hyphenation:
 openoffice.org-core depends on openoffice.org-hyphenation.
dpkg: error processing openoffice.org-hyphenation (--remove):
 dependency problems - not removing
Errors were encountered while processing:
 openoffice.org-hyphenation

No fix.

Revision history for this message
Alperen Yusuf Aybar (alperen) wrote :

confirmed on hardy alpha 5 64bit

Revision history for this message
unggnu (unggnu) wrote :

@fuhrysteve
Maybe a `sudo apt-get update` is needed before but it worked for me.

Revision history for this message
Andrey Yurovsky (andrey.yurovsky) wrote :

This is nasty but it will work:

sudo dpkg --force-all -r openoffice.org-hyphenation
sudo apt-get -f install

Revision history for this message
Nicolas Valcarcel (nvalcarcel) wrote :

Same error here upgrading to hardy.

(Reading database ... 119338 files and directories currently installed.)
Unpacking openoffice.org-hyphenation-en-us (from .../openoffice.org-hyphenation-en-us_2.3.1-1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/openoffice.org-hyphenation-en-us_2.3.1-1_all.deb (--unpack):
 trying to overwrite `/usr/share/myspell/dicts/hyph_en_US.dic', which is also in package openoffice.org-hyphenation
Selecting previously deselected package language-support-writing-en.
Unpacking language-support-writing-en (from .../language-support-writing-en_1%3a8.04+20080229_all.deb) ...
Errors were encountered while processing:
 /var/cache/apt/archives/openoffice.org-hyphenation-en-us_2.3.1-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
A. Broustet (ubuntu-amael) wrote :

This solution did'nt work as it :

>sudo dpkg --force-all -r openoffice.org-hyphenation
>sudo apt-get -f install

I had to do
$ cd /var/cache/apt/archives
$ sudo dpkg --force-overwrite --install openoffice.org-hyphenation_0.2_all.deb

as  /usr/share/myspell/dicts/hyph_en_US.dic is overwritten by openoffice.org-hyphenation_0.2_all.deb

It's really dirty and I can't recommand such a solution (but it was the sole solution that I have found in order to get synaptic working).

Revision history for this message
unggnu (unggnu) wrote :

I have rechecked my workaround with a new Hardy Alpha 5 installation on a different system and it works without force. I have run the follow commands:

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get -f install
sudo dpkg -r openoffice.org-hyphenation
sudo apt-get -f install

Revision history for this message
Duncan Lithgow (duncan-lithgow) wrote :

unggnu: thanks for trying to provide a workaround for this. I've just tried it and I end with:
duncan@ubuntu:~$ sudo dpkg -r openoffice.org-hyphenation
dpkg: dependency problems prevent removal of openoffice.org-hyphenation:
 openoffice.org-core depends on openoffice.org-hyphenation.
dpkg: error processing openoffice.org-hyphenation (--remove):
 dependency problems - not removing
Errors were encountered while processing:
 openoffice.org-hyphenation
duncan@ubuntu:~$

Of course that doesn't mean it won't work for other users - but it doesn't work for me. The full output is attached.

Revision history for this message
Duncan Lithgow (duncan-lithgow) wrote :

The following post on the Forum has another solution, which also uses --force-all
http://ubuntuforums.org/showthread.php?t=698041

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.