reassign 657643 irussian
retitle 657643 irussian: Changes info-ispell->language for no good
reason causing upgrade problems.
found 657643 irussian/0.99g5-15
found 657643 irussian/0.99g5-16
tag 657643 +patch
thanks

2012/1/27 Andreas Beckmann <[email protected]>:
> Package: dictionaries-common
> Version: 1.12.3
> Severity: important
> User: [email protected]
> Usertags: piuparts
>
> Hi,
>
> during a test with piuparts I noticed your package fails to upgrade from
> 'squeeze'.
> It installed fine in 'squeeze', then the upgrade to 'wheezy' fails.

Thanks for the test,

This is actually a problem with irussian, thus reassigning this bug report.

All ispell dictionaries and wordlists identification is done through a
unique identifier,  given at info-ispell->language, that must match
one of the entries in debconf template. That identifier must not be
changed across versions, so system knows that same dict is available,
although is possible to change the displayed string associated to that
identifier.

Seems that this unique identifier was changed in irussian/0.99g5-15,
causing this problem. Users upgrading to that version should have
found an extra debconf question. I am attaching a patch reverting that
change and putting new string in elanguages field, so old string is
used as identifier, but new string is displayed. irussian users
upgrading to this version will find yet another debconf question for
reverting things, but squeeze->wheezy upgrade should now work
seamlessly again.

Patch also removes irussian versioned ispell dependency. Since
autobuildhash is used, package should work well with old and new
ispell (that is one of the reasons of the autobuildhash stuff)

Regards,

-- 
Agustin
diff -Nru rus-ispell-0.99g5/debian/control rus-ispell-0.99g5/debian/control
--- rus-ispell-0.99g5/debian/control	2011-10-28 07:52:45.000000000 +0200
+++ rus-ispell-0.99g5/debian/control	2012-01-28 02:04:49.000000000 +0100
@@ -10,7 +10,7 @@
 
 Package: irussian
 Architecture: all
-Depends: dictionaries-common (>= 0.49.2), ispell (>= 3.3.02), debconf | debconf-2.0, ${misc:Depends}
+Depends: dictionaries-common (>= 0.49.2), ispell , debconf | debconf-2.0, ${misc:Depends}
 Provides: ispell-dictionary
 Description: Russian dictionary for Ispell
  This dictionary contains Russian wordlists for the Ispell spellchecker.
diff -Nru rus-ispell-0.99g5/debian/irussian.info-ispell rus-ispell-0.99g5/debian/irussian.info-ispell
--- rus-ispell-0.99g5/debian/irussian.info-ispell	2011-10-23 01:07:25.000000000 +0200
+++ rus-ispell-0.99g5/debian/irussian.info-ispell	2012-01-28 01:50:39.000000000 +0100
@@ -1,4 +1,5 @@
-Language: russki (Russian)
+Language: russian (Russian koi8-r)
+Elanguage: russki (Russian)
 Hash-Name: russian
 Emacsen-Name: russian
 Casechars: [АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЬЫЪЭЮЯабвгдеёжзийклмнопрстуфхцчшщьыъэюя]

Reply via email to