I noticed a few worrying lo-dicts bugs at Debian. Some testing on Ubuntu re
<https://bugs.debian.org/824800>:

$ dpkg-query -W hunspell-es myspell-es
hunspell-es     1:5.1.0-1ubuntu2
myspell-es      1.11-11
$ sudo apt install hunspell-es
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  hunspell
The following packages will be upgraded:
  hunspell-es
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/242 kB of archives.
After this operation, 80,9 kB of additional disk space will be used.
(Reading database ... 307265 files and directories currently installed.)
Preparing to unpack .../hunspell-es_1%3a5.1.3-1_all.deb ...
Unpacking hunspell-es (1:5.1.3-1) over (1:5.1.0-1ubuntu2) ...
dpkg: error processing archive 
/var/cache/apt/archives/hunspell-es_1%3a5.1.3-1_all.deb (--unpack):
 trying to overwrite '/usr/share/hunspell/es_ES.aff', which is also in package 
myspell-es 1.11-11
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/hunspell-es_1%3a5.1.3-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  hunspell-es myspell-es
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
$ sudo apt full-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
  hunspell-es
The following packages will be upgraded:
  myspell-es
1 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 201 kB of archives.
After this operation, 1 202 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
$ 

Guess that's something we could live with, but
<https://bugs.debian.org/824796> and <https://bugs.debian.org/824400>
appear to be more tricky. Changing back to "verification-needed" for
now.

@Mattia, would appreciate your help to consider this SRU once again.
Right now I feel there is a need to add a couple of Breaks/Replaces.

** Bug watch added: Debian Bug tracker #824800
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824800

** Bug watch added: Debian Bug tracker #824796
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824796

** Bug watch added: Debian Bug tracker #824400
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824400

** Tags removed: verification-done
** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice-dictionaries in Ubuntu.
https://bugs.launchpad.net/bugs/1574745

Title:
  Missing symlinks to match locales

Status in libreoffice-dictionaries package in Ubuntu:
  Fix Released
Status in libreoffice-dictionaries source package in Xenial:
  Fix Committed
Status in libreoffice-dictionaries package in Debian:
  Fix Released

Bug description:
  [Impact]

  Dictionaries like

  /usr/share/hunspell/es_ANY.aff
  /usr/share/hunspell/es_ANY.dic

  and

  /usr/share/hyphen/hyph_sv.dic

  are not recognized by LibreOffice, since their names don't include
  country codes. The proposed uploads in this PPA:

  https://launchpad.net/~gunnarhj/+archive/ubuntu/lo-dicts-symlinks

  renames such files, and also adds symlinks in some cases for locales
  with other country codes but the 'main' locale for a language.

  [Test Case]

  Example:

  * Install the Swedish language via Language Support

  * Start libreoffice with a Swedish locale
    LC_CTYPE=sv_SE.UTF-8 libreoffice --writer

  * Find that hyphenation is not available

  [Regression Potential]

  There is a drawback with this fix: For e.g. Spanish and Arabic users
  the symlinks will add items in the spellcheck menus of other
  applications but LibreOffice, where it would have worked without those
  symlinks. OTOH, this is the way it has been handled in Ubuntu up to
  15.10, so the fix basically restores the previous behavior.

  Other than that, the regression risk is low. This is only about files
  (including symlinks) in the /usr/share/{hunspell,hyphen,mythes}
  directories with limited affect on the system.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice-dictionaries/+bug/1574745/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to