the fix is to remove/purge pm-utils and reinstall it. specificaly, i did this and it helped:
$ sudo aptitude purge pm-utils
it will complain that it needs to remove acpi-support. i accept it.
then i also removed remaining scripts in pm-utils directory:
$ sudo rm -rf /usr/lib/pm-utils/*
and then reinstall acpi-support which will install also pm-utils:
$ sudo aptitude install acpi-support
now it works like charm.
i have no idea what was the problem. didn't backed up the scripts dir or something, so i don't know the diff. if somebody with the same will try the above, backup first /usr/lib/pm-utils/* and when reinstalled make a diff. then post the diff here...
the fix is to remove/purge pm-utils and reinstall it. specificaly, i did this and it helped:
$ sudo aptitude purge pm-utils
it will complain that it needs to remove acpi-support. i accept it.
then i also removed remaining scripts in pm-utils directory:
$ sudo rm -rf /usr/lib/pm-utils/*
and then reinstall acpi-support which will install also pm-utils:
$ sudo aptitude install acpi-support
now it works like charm.
i have no idea what was the problem. didn't backed up the scripts dir or something, so i don't know the diff. if somebody with the same will try the above, backup first /usr/lib/pm-utils/* and when reinstalled make a diff. then post the diff here...