#1152859 etherwake postinst fails on kernel without file capabilities

Package:
etherwake
Source:
etherwake
Description:
tool to send magic Wake-on-LAN packets
Submitter:
Max Kellermann
Date:
2026-11-02 13:01:03 UTC
Severity:
normal
#1152859#5
Date:
2026-11-02 12:51:42 UTC
From:
To:
My kernel has no file capability support, and the etherwake update fails:

 Setting up etherwake (1.09-5+b1)…
 Failed to set capabilities on file '/usr/sbin/etherwake': Operation not supported
 dpkg: error processing package etherwake (--configure):
  old etherwake package postinst maintainer script subprocess failed with exit status 1
 Errors were encountered while processing:
  etherwake
 E: Sub-process /usr/bin/dpkg returned an error code (1)