Comment 5 for bug 38270

Revision history for this message
Waylan Limberg (waylan) wrote :

I just ran into this on a new system. I did a fresh, new install yesterday and began installing packages today. Upon installing the first package that uses mono I got the above error. After some playing around I determined that the base package 'mono-common' requires the ' binfmt-support' package. However when I run:

    ~$ sudo dpkg --configure -a
    Setting up binfmt-support (1.2.10) ...
    update-binfmts: warning: /usr/share/binfmts/cli: no executable /usr/bin/cli
    found, but continuing anyway as you request

It just hangs here. Checking the contents of '/usr/share/binfmts/cli':

    ~$ cat /usr/share/binfmts/cli
    package mono-common
    detector /usr/lib/cli/binfmt-detector-cli
    interpreter /usr/bin/cli
    magic MZ

The second to last line is the culprit. Its pointing to '/usr/bin/cli' which does not exist:

    ~$ /usr/bin/cli
    bash: /usr/bin/cli: No such file or directory

As I said, this is a new system. I haven't removed or deleted anything yet.