Bug#575776: binfmt-support/run-detectors tries to run binfmt-detector-cli
Hello, I seems to me that /var/lib/binfmts/cli file is still in place for some reason even after mono runtime was removed. Removing it by hand fixes the problem, so I guess we should reassing this bug to mono. -- WBR, Andrew signature.asc Description: PGP signature
Bug#575776: binfmt-support/run-detectors tries to run binfmt-detector-cli.
Package: binfmt-support Version: 1.2.17 Severity: normal Can't exec /usr/lib/cli/binfmt-detector-cli: No such file or directory at /usr/share/binfmt-support/run-detectors line 92. Basically the run-detectors script should check to see if binfmt-detector-cli exists and only exec it if it does. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) Shell: /bin/sh linked to /bin/dash Versions of packages binfmt-support depends on: ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip ii perl 5.10.1-11 Larry Wall's Practical Extraction binfmt-support recommends no packages. binfmt-support suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#575776: binfmt-support/run-detectors tries to run binfmt-detector-cli.
On Mon, Mar 29, 2010 at 06:22:43PM +1100, Erik de Castro Lopo wrote: Can't exec /usr/lib/cli/binfmt-detector-cli: No such file or directory at /usr/share/binfmt-support/run-detectors line 92. Basically the run-detectors script should check to see if binfmt-detector-cli exists and only exec it if it does. While it's true that your patch represents a trivial fix, it seems odd that this situation should ever arise. If the package providing /usr/lib/cli/binfmt-detector-cli has been removed, shouldn't all the binary formats using it as a detector also have been removed? Could you please elaborate on how you came across this problem? Thanks, -- Colin Watson [cjwat...@debian.org] -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#575776: binfmt-support/run-detectors tries to run binfmt-detector-cli.
Colin Watson wrote: On Mon, Mar 29, 2010 at 06:22:43PM +1100, Erik de Castro Lopo wrote: Can't exec /usr/lib/cli/binfmt-detector-cli: No such file or directory at /usr/share/binfmt-support/run-detectors line 92. Basically the run-detectors script should check to see if binfmt-detector-cli exists and only exec it if it does. While it's true that your patch represents a trivial fix, it seems odd that this situation should ever arise. If the package providing /usr/lib/cli/binfmt-detector-cli has been removed, shouldn't all the binary formats using it as a detector also have been removed? I did look, but I couldn't figure out how binfmt-support figured out that it should look for binfmt-detector-cli. Could you please elaborate on how you came across this problem? Well some time ago I removed the mono-runtime package which provides binfmt-detector-cli. There were no warnings of any kind. So either binfmt-support is a missing dependency on mono-runtime (which would be silly) or binfmt-support needs to be aware that mono-runtime may not be installed. Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org