hunspell-ro should conflict with myspell-ro

Bug #517582 reported by Lucian Adrian Grijincu
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
myspell-ro (Ubuntu)
Invalid
Undecided
Unassigned
openoffice.org-dictionaries (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: hunspell-ro

Recently openoffice got a Romanian dictionary/thesaurus/etc.

As in other languages these dictionaries are used to create the hunspell-ro package which is set as a dependency for language-support-writing-ro

Until this change language-support-writing-ro depended on myspell-ro (an older now outdated package that should not be installed in Lucid).

At my last Lucid update I received a new language-support-writing-ro package depending on hunspell-ro.

The updater could not install this because it wanted to create a file that had been previously created by myspell-ro:
    trying to overwrite '/usr/share/myspell/dicts/ro_RO.dic', which is also in package myspell-ro 0:20070502-0ubuntu1

myspell-ro was marked as "no longer needed" by apt, but I could not remove it until I fixed the broken install, and I could not fix the broken install until I got myspell-ro removed.

I believe the solution is to add a "Conflicts: myspell-ro" line to the hunspell-ro package description.

Tags: patch
Revision history for this message
Lucian Adrian Grijincu (lucian.grijincu) wrote :

A quick fix if you get stuck and cannot proceed with installing hunspell-ro because of the cyclic dependency

  gedit /var/lib/dpkg/status

and in the list of dependencies for language-support-writing-ro remove the "hunspell-ro" entry.

Run
  sudo apt-get -f install
to make everything install without hunspell-ro

Remove the old myspell-ro package, update the package list and dependency list and upgrade to have hunspell-ro automatically installed:
  sudo apt-get remove myspell-ro
  sudo apt-get update
  sudo apt-get upgrade

Revision history for this message
Lucian Adrian Grijincu (lucian.grijincu) wrote :

I believe that to smooth updates from older Ubuntu releases where myspell-ro was used, hunspell-ro should say that it replaces myspell-ro.

Revision history for this message
Lucian Adrian Grijincu (lucian.grijincu) wrote :

In https://code.edge.launchpad.net/~lucian.grijincu/+junk/openoffice.org-dictionaries I have a patch.
I don't how to propose it for merging in Launchpad

tags: added: patch
Changed in myspell-ro (Ubuntu):
status: New → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openoffice.org-dictionaries - 1:3.2.0~rc2-1ubuntu2

---------------
openoffice.org-dictionaries (1:3.2.0~rc2-1ubuntu2) lucid; urgency=low

  * Drop all language-support-writing-* except for language-support-writing-en.
  * Mark hunspell-ro conflicting with myspell-ro. Closes LP: #517582
 -- Chris Cheney <email address hidden> Fri, 19 Feb 2010 12:30:00 -0600

Changed in openoffice.org-dictionaries (Ubuntu):
status: New → Fix Released
Revision history for this message
Cristian Klein (cristiklein) wrote :

Hello,

After this fix, hunspell-ro replaces myspell-ro (<= 20070502-0ubuntu1). I am not quite sure this is enough. There are some other version of myspell-ro out there [1][2], which would not be replaced this way. Is there any good reason why hunspell-ro should not replace all versions of myspell-ro?

[1] https://edge.launchpad.net/~cristiklein/+archive/ppa
[2] https://edge.launchpad.net/~lucian.grijincu/+archive/myspell-ro

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.