Hi Kurt, On Thu, 10 Jan, 2008 at 12:02:08AM +0100, Kurt Roeckx wrote: > notfound 459971 25277-3 > found 459971 25277-5 > > On Wed, Jan 09, 2008 at 07:08:42PM +0100, Kurt Roeckx wrote: > > Package: libflickrnet2.1.5-cil > > Version: 25277-3 > > Severity: serious > > > > Hi, > > > > After building f-spot_0.4.1-2, you package failed to remove. > > It should have said 25277-5 and 0.4.1-4. > > f-spot_0.4.1-3 with 25277-3 still didn't show the problem, and that was > uploaded 4 days earlier. > > Anyway, comparing buildd logs, I see those changes with might or might > not be relevant: > -Unpacking libgmime-2.0-2 (from .../libgmime-2.0-2_2.2.12-1_amd64.deb) ... > +Unpacking libgmime-2.0-2 (from .../libgmime-2.0-2_2.2.15-1_amd64.deb) ... > Selecting previously deselected package libgmime2.2-cil. > -Unpacking libgmime2.2-cil (from .../libgmime2.2-cil_2.2.12-1_all.deb) ... > +Unpacking libgmime2.2-cil (from .../libgmime2.2-cil_2.2.15-1_all.deb) ... > > -Unpacking libflickrnet2.1.5-cil (from > .../libflickrnet2.1.5-cil_25277-3_all.deb) ... > +Unpacking libflickrnet2.1.5-cil (from > .../libflickrnet2.1.5-cil_25277-5_all.deb) ... > > Removing libflickrnet2.1.5-cil from Mono > +Purging configuration files for libflickrnet2.1.5-cil ... > +E: File does not exist: > /usr/share/cli-common/packages.d/policy.2.1.FlickrNet.installcligac > +dpkg: error processing libflickrnet2.1.5-cil (--purge): > + subprocess post-removal script returned error exit status 1
This looks like a bug in the postrm script generated by dh_cligacpolicy. $$ cat /var/lib/dpkg/info/libflickrnet2.1.5-cil.postrm #!/bin/sh set -e # Automatically added by dh_cligacpolicy if [ -x /usr/share/cli-common/policy-remove ]; then /usr/share/cli-common/policy-remove FlickrNet 2.1 fi # End automatically added section The postrm script should start with if [ "$1" = "remove" ] or if [ "$1" = "purge" ] The file [1] is removed when dpkg calls `postrm remove`. So, at the purging stage when dpkg calls `postrm purge` the file [1] doesn't exist. Also, the /usr/share/cli-common/policy-remove can use `rm -f` instead of rm to fix this. Please correct me if I am wrong. Other packages might also fail to purge because of this error. [1]: /usr/share/cli-common/packages.d/policy.2.1.FlickrNet.installcligac Regards Varun -- Varun Hiremath Undergraduate Student, Aerospace Engineering Department, Indian Institute of Technology Madras, Chennai, India -------------------------------------- Homepage : http://varun.travisbsd.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]