Control: tags -1 moreinfo Am 27.05.2015 um 11:49 schrieb Wolfgang Silbermayr:
> When installing the package, then purging and removing it using dpkg, a > dangling symlink is left on the system: > > /etc/systemd/system/multi-user.target.wants/<package>.service -> > /lib/systemd/system/<package>.service > > A snippet like this should basically do the work (similar to what can be > found in lxdm 0.5.1-1 postrm in current unstable): > >> # Test if /etc/systemd/system/<package>.service is broken now >> SERVICE_FILE=/etc/systemd/system/<service>.service >> if [ -L $SERVICE_FILE ] && [ ! -e $SERVICE_FILE ]; then >> echo "WARN: clearing dangling symlink $SERVICE_FILE" >&2 >> rm -f $SERVICE_FILE >> fi Is it possible, that you/piuparts removed the init-system-helpers package, before you purged your test package? The cleanup routine relies on init-system-helpers to be around. Since init-system-helpers is quasi-essential, it will never be uninstall on a real system, so this shouldn't be a problem in practice. Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature

