On Wed, Jan 30, 2013 at 10:49:18PM +0100, Julien Cristau wrote: > On Wed, Jan 30, 2013 at 12:10:46 +0100, Andreas Beckmann wrote: > > > Followup-For: Bug #685469 > > Control: found -1 1:0.3.1-2 > > > > Hi, > > > > the missing copyright file persists after upgrading from > > squeeze+squeeze-backports with ekg2 from backports installed to wheezy. > > > > That probably means the package also does not properly cleanup when > > upgrading from an older snapshot of testing to the current testing. > > > In that case it's no longer RC... We support upgrades from a stable > release to the next, anything else is not critical.
I was also under the impression that backports are unsupported. Moreover, while technically a violation of policy, this bug is not such a big deal for users for two reasons: 1) ekg2 is a metapackage that contains just one filesystem entry: the /usr/share/doc/ekg2 symlink. While that is broken after upgrade to 1:0.3.1-2, it depends on ekg2-core, so a user would be able to see the ekg2-core directory next to ekg2 and find the copyright file. 2) when you just "aptitude install ekg2" 1:0.3.1-1~bpo60+1 (squeeze) then ekg2 will disappear during this installation, as its only sign of existence (the symlink) will get overwritten by the directory from ekg2-core. Then when you upgrade to wheezy, /usr/share/doc/ekg2 will disappear as ekg2-core is upgraded, and if you install ekg2 afterwards, all will be back to normal. However if you reinstall ekg2 before the upgrade, this bug will not auto-heal on upgrade, so I would like to get a fix out. I've prepared a fix for squeeze and I could upload it if I get release-team's blessing. Interdiff below. I think that putting a fix into squeeze is preferrable to doing one in squeeze-backports, because: 1) IIRC backports only accept package versions which are already in testing, which is frozen. 2) even if I do upload a fix to backports somehow, but a user does not upgrade to that fixed backports version, but straight to squeeze, then they will never pick up a fix please let me know what you think diff -Nru ekg2-0.3.1/debian/changelog ekg2-0.3.1/debian/changelog --- ekg2-0.3.1/debian/changelog 2012-08-21 22:01:07.000000000 +0100 +++ ekg2-0.3.1/debian/changelog 2013-01-30 22:06:12.000000000 +0000 @@ -1,3 +1,11 @@ +ekg2 (1:0.3.1-3) unstable; urgency=medium + + * RC-bugfix upload aimed at testing + * [64d17bb] Add doc directory bug cleanup steps to postinsts. + (Closes: #685469) + + -- Marcin Owsiany <porri...@debian.org> Wed, 30 Jan 2013 21:45:34 +0000 + ekg2 (1:0.3.1-2) unstable; urgency=medium * RC-bugfix upload aimed at testing diff -Nru ekg2-0.3.1/debian/ekg2-core.postinst ekg2-0.3.1/debian/ekg2-core.postinst --- ekg2-0.3.1/debian/ekg2-core.postinst 1970-01-01 01:00:00.000000000 +0100 +++ ekg2-0.3.1/debian/ekg2-core.postinst 2013-01-30 22:06:12.000000000 +0000 @@ -0,0 +1,8 @@ +#!/bin/sh +set -e +# Clean up after #685469. +DOCDIR=/usr/share/doc/ekg2 +if [ -d $DOCDIR ] && [ ! -L $DOCDIR ] ; then + rmdir $DOCDIR +fi +#DEBHELPER# diff -Nru ekg2-0.3.1/debian/ekg2.postinst ekg2-0.3.1/debian/ekg2.postinst --- ekg2-0.3.1/debian/ekg2.postinst 1970-01-01 01:00:00.000000000 +0100 +++ ekg2-0.3.1/debian/ekg2.postinst 2013-01-30 22:06:12.000000000 +0000 @@ -0,0 +1,8 @@ +#!/bin/sh +set -e +# Clean up after #685469. +DOCDIR=/usr/share/doc/ekg2 +if [ ! -e $DOCDIR ] ; then + ln -s ekg2-core $DOCDIR +fi +#DEBHELPER# -- Marcin Owsiany <porri...@debian.org> http://marcin.owsiany.pl/ GnuPG: 2048R/02F946FC 35E9 1344 9F77 5F43 13DD 6423 DBF4 80C6 02F9 46FC -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org