tags 459971 + confirmed thanks Hi Varun,
> > 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. You are absolutely right here, thanks for the investigation! I introduced this bug part of fixing a different remove bug, sorry. > > Also, the /usr/share/cli-common/policy-remove can use `rm -f` instead > of rm to fix this. I don't like error hiding so much, like we wouldn't have spot this issue if I would have used rm -f... > > Please correct me if I am wrong. Other packages might also fail to > purge because of this error. Only packages that use dh_cligacpolicy, which is only flickrnet and boo AFAIK. > > [1]: /usr/share/cli-common/packages.d/policy.2.1.FlickrNet.installcligac > > Regards > Varun > I will upload the fix today when I am home. -- Regards, Mirco 'meebey' Bauer PGP-Key ID: 0xEEF946C8 FOSS Developer [EMAIL PROTECTED] http://www.meebey.net/ PEAR Developer [EMAIL PROTECTED] http://pear.php.net/ Debian Developer [EMAIL PROTECTED] http://www.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]