2011/12/12 Agustin Martin <agmar...@debian.org>: > clone 619246 -1 > block 619246 by -1 > reassign -1 myspell-el-gr > found -1 myspell-el-gr/0.8-1 > retitle -1 myspell-el-gr: Please, do not call update-openoffice-dicts from > maintainer scripts. > severity -1 serious > thanks > > Justification: Makes package uninstallable > > On Sun, Dec 11, 2011 at 09:59:28AM +0200, Theodore Dimitriadis wrote: >> Package: dictionaries-common >> Version: 1.12.0 >> >> I am trying to install myspell-el-gr but i get this: >> >> Errors were encountered while processing: >> myspell-el-gr >> E: Sub-process /usr/bin/dpkg returned an error code (1) >> A package failed to install. Trying to recover: >> Setting up myspell-el-gr (0.8-1) ... >> /var/lib/dpkg/info/myspell-el-gr.postinst: 6: >> /var/lib/dpkg/info/myspell-el-gr.postinst: update-openoffice-dicts: not >> found >> dpkg: error processing myspell-el-gr (--configure): >> subprocess installed post-installation script returned error exit status >> 127 >> Errors were encountered while processing: >> myspell-el-gr > > Thanks for the info, > > This is a bug in myspell-el-gr, which seems to unconditionally add > update-openoffice-dicts call to maintainer scripts, without first checking > for availability. myspell-el-gr maintainer, just drop that snippets, they > are no longer needed at all even for squeeze. > > dictionaries-common does not set a break on former myspell-el-gr because > when this transition started myspell-el-gr (0.7-1) was current version and > did not call update-openoffice-dicts from maintainer scripts in any way. > I am adding this break now. > > I will wait for fixed myspell-el-gr before uploading new > dictionaries-common-dev breaking older myspell-el-gr (otherwise all > previously installed myspell-el-gr will become incompatible). Please let > me know when fixed myspell-el-gr upload happens. If you are busy now I can > prepare a NMU on your behalf.
Dear maintainer, Please find attached a diff for a NMU proposal (as git format-patch output) removing those snippets. If I do not hear from you I plan to upload it somewhere next week. Regards, -- Agustin
From a7dbe0ea8ed6f8d289989004570b5630424eba57 Mon Sep 17 00:00:00 2001 From: Agustin Martin Domingo <agmar...@debian.org> Date: Sun, 18 Dec 2011 05:39:20 +0100 Subject: [PATCH] Remove obsolete debhelper snippets calling update-openoffice-dicts (Closes: #651821). myspell-el-gr 0.8-1 unconditionally calls update-openoffice-dicts from maintainer scripts, without first checking for availability. myspell-el-gr (0.7-1) did not call update-openoffice-dicts from maintainer scripts in any way. Just drop that snippets, they are no longer needed at all even for squeeze. --- debian/changelog | 8 ++++++++ debian/postinst | 11 ----------- debian/postrm | 10 ---------- 3 files changed, 8 insertions(+), 21 deletions(-) delete mode 100644 debian/postinst delete mode 100644 debian/postrm diff --git a/debian/changelog b/debian/changelog index 42e3f00..2504c24 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +myspell-el-gr (0.8-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Remove obsolete debhelper snippets calling update-openoffice-dicts + (Closes: #651821). + + -- Agustin Martin Domingo <agmar...@debian.org> Sun, 18 Dec 2011 05:38:56 +0100 + myspell-el-gr (0.8-1) unstable; urgency=low * New upstream release diff --git a/debian/postinst b/debian/postinst deleted file mode 100644 index 089178e..0000000 --- a/debian/postinst +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -set -e - -if [ "$1" = "configure" ]; then - update-openoffice-dicts -fi - -#DEBHELPER# - -exit 0 diff --git a/debian/postrm b/debian/postrm deleted file mode 100644 index 14a7380..0000000 --- a/debian/postrm +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -set -e -if [ "$1" = "remove" ]; then - update-openoffice-dicts -fi - -#DEBHELPER# - -exit 0 -- 1.7.2.5