Package: apmd
Version: 3.2.2-15+b2
Severity: grave
Justification: renders package unusable
Hi!
The daemon's init script has the following line:
apm_available || exit 0
which makes it always silently fail, as apm_available contains:
.--====
#!/bin/sh -e
if [ "$@" ]; then
echo "Usage: $0"
exit 2
fi
# APM support was removed from kernel 2.6.40 in 2011.
exit 1
`----
The comment is untrue:
[/tmp/linux-4.15.4/debian]$ sgrep APM
./config/i386/config:CONFIG_APM=m
./config/armhf/config:CONFIG_APM_EMULATION=y
but regardless whether APM still works or not, the daemon will not.
Meow!
-- System Information:
Debian Release: buster/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'),
(150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.16.0-rc3-debug-00028-gf63d823da681 (SMP w/6 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages apmd depends on:
ii debconf [debconf-2.0] 1.5.65
ii libapm1 3.2.2-15+b2
ii libc6 2.26-6
ii lsb-base 9.20170808
ii powermgmt-base 1.31+nmu1
apmd recommends no packages.
Versions of packages apmd suggests:
ii xapm 3.2.2-15+b2
-- no debconf information