The problem is that powedit.sudoers does not contain THAT line. It contain following line, which is not valid sudoers entry: Code: user ALL = NOPASSWD: sudo /usr/bin/run-standalone.sh `dirname $0`/powedit There is no problem during (re)installing powedit because your package's postinst and postrm don't run update-sudoers to update sudoers, how it's even supposed to work?
user ALL = NOPASSWD: sudo /usr/bin/run-standalone.sh `dirname $0`/powedit