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

Reply via email to