Comment 4 for bug 109840

Revision history for this message
TJ (tj) wrote :

I have experienced the same error on Feisty with Wine, trying to execute a Windows executable from an xTerm:

$ ./PHBSYS-01101528-UN.exe
Can't exec "/usr/bin/wine-auto": No such file or directory at /usr/share/binfmt-support/run-detectors line 103.
run-detectors: warning: unable to exec /usr/bin/wine-auto
(./PHBSYS-01101528-UN.exe): No such file or directory
run-detectors: unable to find an interpreter for ./PHBSYS-01101528-UN.exe

There is no '/usr/bin/wine-auto'

It is referenced in the binfmt settings file /var/lib/binfmts/wine:

wine
magic
0
MZ

/usr/bin/wine-auto

Surprisingly there is hardly any mention of "wine-auto" via a Google search, and the only comment I found reported wine-auto missing and creating a symlink to "wine":

$ sudo ln -s /usr/bin/wine /usr/bin/wine-auto

So perhaps this problem is with the binfmt-support package when it is installed and configured?