found 341470 2.1.6-6 retitle -1 libgphoto2-2: Fails to preserve local changes to a config file thanks
The source of the originally-reported problem is that files are generated at install time which are not removed on purge: postinst: /usr/lib/$PACKAGE/print-usb-usermap $PACKAGE >/etc/hotplug/usb/$PACKAGE.usermap ln -sf ../$PACKAGE.rules /etc/udev/rules.d/025_$PACKAGE.rules /usr/lib/$PACKAGE/print-udev-rules /etc/hotplug/usb/$PACKAGE >/etc/udev/$PACKAGE.rules There is another problem; these overwrite local changes to the file. The files shouldn't be written if they exist; or, you should use a ucf style mechanism to prompt the user with a diff. It *might* be considered sufficient to mark the file as generated, in the style of /etc/modules.conf; this isn't clear to me, though: { echo "# Do not edit .. This is a generated file .. run .. to regenerate it";\ print-usb-usermap; } >$PACKAGE.usermap Also, please explain what is special about 2.1.6-5.1, used in postinst for version comparison. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]