Package: mono-runtime
Version: 6.14.1+ds2-1
Severity: normal
Tags: patch
X-Debbugs-Cc: [email protected]
Dear Maintainer,
I noticed that Microsoft's "dotnet-runtime" package for Debian
configures the system so that mono will be run automatically when a
dotnet .EXE file is executed. On the other hand the official Debian
package, "mono-runtime", does not do that. There should be
instructions for how to enable it should one wish to do so.
I have written up sample instructions to include in the
/usr/share/doc/mono-runtime/README.Debian file.
* Configure binfmt_misc if you want mono programs to be executable
or see error messages like:
HelloWorld.exe: cannot execute binary file: Exec format error
Create a file called /etc/binfmt.d/mono.conf containing this line:
:CLR:M::MZ::/usr/bin/mono:
and run `systemctl restart systemd-binfmt`.
That should be enough to help most folks.
-- System Information:
Debian Release: forky/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.16.12+deb14+1-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages mono-runtime depends on:
ii binutils 2.45-8
ii libc6 2.41-12
ii libgcc-s1 15.2.0-7
ii mono-libraries 6.14.1+ds2-1
ii zlib1g 1:1.3.dfsg+really1.3.1-1+b1
mono-runtime recommends no packages.
mono-runtime suggests no packages.
-- no debconf information
34c34,45
< 3a. Purge your ~/.wapi directory if you see messages like:
---
> 3a. Configure binfmt_misc if you want mono programs to be executable
> or see error messages like:
>
> HelloWorld.exe: cannot execute binary file: Exec format error
>
> Create a file called /etc/binfmt.d/mono.conf containing this line:
>
> :CLR:M::MZ::/usr/bin/mono:
>
> and run `systemctl restart systemd-binfmt`.
>
> 3b. Purge your ~/.wapi directory if you see messages like:
44c55,56
< 3b. Question:
---
>
> 3c. Question:
0a1
> :CLR:M::MZ::/usr/bin/mono: