El 1/5/25 a las 19:16, Paul Gevers escribió:
Package: binfmtc
Version: 0.17-3
Severity: serious
Justification: fails to install
Hi,
I just saw this on one of my hosts:
$ sudo apt install -f
Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 427
1 not fully installed or removed.
Space needed: 0 B / 140 GB available
Setting up binfmtc (0.17-3) ...
/var/lib/dpkg/info/binfmtc.postinst: 6: update-binfmts: not found
dpkg: error processing package binfmtc (--configure):
installed binfmtc package post-installation script subprocess returned error
exit status 127
Errors were encountered while processing:
binfmtc
needrestart is being skipped since dpkg has failed
Error: Sub-process /usr/bin/dpkg returned an error code (1)
I think this was introduced in commit [226f58c], where the Depends
line was changed from "binfmt-support" to "binfmt-support | systemd".
Question for Michael: Is systemd supposed to provide another alternative
implementation of "update-binfmts"? Or maybe postinst should
do nothing when systemd is present?
Thanks.