reassign 596369 dpkg thanks Hi,
On 09/10/2010 09:06 PM, Steven Malin wrote: > Package: cron > Version: 3.0pl1-114 > Severity: normal > > if i do a dpkg-reconfigure on the cron package i get the following messages: > > ---snip--- > r...@bluewave:~# dpkg-reconfigure cron > Stopping periodic command scheduler: cron failed! > dpkg-maintscript-helper: error: couldn't identify the package > r...@bluewave:~# echo $? > 1 cron 3.0pl1-114 added calls to dpkg-maintscript-helper to safely remove an obsolete conffile. The following snippet is present in preinst, postinst and postrm: dpkg-maintscript-helper rm_conffile \ /etc/cron.monthly/standard "3.0pl1-113" -- "$@" As dpkg-maintscript-helper(1) says that the package name is optional, it was ommitted. Guessing this as a possible cause for this bug, I added it in a test build: dpkg-maintscript-helper rm_conffile \ /etc/cron.monthly/standard "3.0pl1-113" cron -- "$@" with the following result: r...@devel:/tmp/cron# dpkg-reconfigure cron Stopping periodic command scheduler: cron failed! dpkg-maintscript-helper: error: environment variable DPKG_MAINTSCRIPT_NAME is required DPKG_MAINTSCRIPT_NAME not being set would explain why the first approach failed, I guess... #546577 looks related to this. Regards, Christian
signature.asc
Description: OpenPGP digital signature