#470559 package install fails in chroot

Package:
binfmt-support
Source:
binfmt-support
Description:
Support for extra binary formats
Submitter:
Harald Dunkel
Date:
2021-01-31 06:45:02 UTC
Severity:
normal
#470559#5
Date:
2008-03-11 22:00:33 UTC
From:
To:
If I try to install binfmt-support in a chroot, then I get


Setting up binfmt-support (1.2.10) ...
FATAL: Could not load /lib/modules/2.6.24.3/modules.dep: No such file or directory
update-binfmts: warning: Couldn't load the binfmt_misc module.
FATAL: Could not load /lib/modules/2.6.24.3/modules.dep: No such file or directory
update-binfmts: warning: Couldn't load the binfmt_misc module.

2.6.24.3 is the kernel of the _host_ system, of course. Not to mention
that the setup script should not run anything, if the appropriate
policy-rc.d script is installed.


Regards

Harri