[Pkg-fonts-devel] Bug#563703: "newconffile" causes problem (Re: Bug#563703: Bug#563703: messages upon upgrade

Hideki Yamane henrich at debian.or.jp
Sat Jan 9 15:22:29 UTC 2010


Hi,

On Tue, 5 Jan 2010 07:20:19 +0100
Christian PERRIER <bubulle at debian.org> wrote:
> I'm seeing these ones on my own system as well. Strange as I installed
> the former version of these packages just yesterday....when I was
> building the packages for adoption by the pkg-fonts team. So I'm 150%
> sure that I never modified these hints files.

 I don't know where it comes from, but "newconffile" line breaks compare code.
 Just remove and it works well on my box. Please check it.
 

diff -urN ttf-arphic-bkai00mp-2.10.orig/debian/preinst ttf-arphic-bkai00mp-2.10/debian/preinst
--- ttf-arphic-bkai00mp-2.10.orig/debian/preinst	2010-01-03 07:16:42.000000000 +0900
+++ ttf-arphic-bkai00mp-2.10/debian/preinst	2010-01-10 00:17:44.000000000 +0900
@@ -2,7 +2,7 @@
 
 set -e
 
-VERSION=2.10-7
+VERSION=2.10-8
 PKG=ttf-arphic-bkai00mp
 FILE=/etc/defoma/hints/${PKG}.hints
 
@@ -14,7 +14,7 @@
 
     local md5sum="$(md5sum $CONFFILE | sed -e 's/ .*//')"
     local old_md5sum="$(dpkg-query -W -f='${Conffiles}' $PKGNAME | \
-            sed -n -e "\' $CONFFILE ' { s/ obsolete$//; s/.* //; p }")"
+            sed -n -e "\' $CONFFILE ' { s/ obsolete$//; s/.* //; s/newconffile//;p }")"
     if [ "$md5sum" != "$old_md5sum" ]; then
         echo "Obsolete conffile $CONFFILE has been modified by you."
         echo "Saving as $CONFFILE.dpkg-bak ..."



-- 
Regards,

 Hideki Yamane     henrich @ debian.or.jp/iijmio-mail.jp
 http://wiki.debian.org/HidekiYamane





More information about the Pkg-fonts-devel mailing list