Comment 12 for bug 1840956

Revision history for this message
Christian Ehrhardt  (paelzer) wrote : Re: package qemu-user-static 1:3.1+dfsg-2ubuntu3.3 failed to install/upgrade: installed qemu-user-static package post-installation script subprocess returned error exit status 2

The "not in container" code is rather old of 2014 added by Serge back then.
Back then systemd-detect-virt wasn't really available.
I think we could just modernize this one and we'd be back working, OTOH I want to understand if there is any chance to ever work in a container to avoid re-fixing it then.