Package: cli-common Version: 0.9+nmu1 Severity: wishlist [I'm not sure which package to report this against, so I'm guessing. Please reassign as appropriate.]
I build Debian Live environments using debootstrap and then chroot + apt. I deliberate don't mount /proc inside the chroot, because just INSTALLING packages usually works without /proc, and with /proc mounted some postinsts get confused and trash the build host. The two notable exceptions are CLR and JVM, both of which flat out refuse to work if /proc isn't mounted: root@zygon:~# chroot /tmp/bootstrap/live apt-get install gbrainy [...] Setting up libglib2.0-cil (2.12.10-5.1) ... W: removing assembly: Mono requires /proc to be mounted. failed! E: installing Assembly /usr/share/cli-common/policies.d/libglib2.0-cil/policy.2.6.glib-sharp.dll failed E: Installation of policy.2.6.glib-sharp with /usr/share/cli-common/runtimes.d/mono failed dpkg: error processing package libglib2.0-cil (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of libgtk2.0-cil: libgtk2.0-cil depends on libglib2.0-cil (= 2.12.10-5.1); however: Package libglib2.0-cil is not configured yet. Until today, I just gave up and banned CLR entirely at my site. However I ran into a FreeBSD .NET developer who says he has fixed this for FreeBSD builds: https://github.com/dotnet/core-setup/commit/d5ce08014a174b006a3b409b8bb93d003ae583a0 https://github.com/dotnet/coreclr/commit/b306172d0545e2a292619b880a3c8d07bb46d396 Please investigate whether this work can be applied to Debian's CLR, so that CLR postinsts can be run when /proc isn't mounted.