Package: mmdebstrap
Version: 1.1.0
When apt fails to resolve dependencies, the mmdebstrap process does not
exit, it just hangs waiting for something.
These are the last lines produced by mmdebstrap before getting stuck:
```
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
[...]
E: Unable to correct problems, you have held broken packages.
E: apt-get --yes -oDebug::pkgDpkgPm=1 -oDir::Log=/dev/null
-oAPT::Keep-Fds::=7 -oDPkg::Tools::options::'cat >&7'::InfoFD=7
-oDpkg::Pre-Install-Pkgs::=cat >&7 -oDebug::NoLocking=1
-oDpkg::Use-Pty=0 install mypackage -oAPT::Status-Fd=<$fd>
-oDpkg::Use-Pty=false failed at ./mmdebstrap line 184.
main::error("apt-get --yes -oDebug::pkgDpkgPm=1
-oDir::Log=/dev/null -oAPT"...) called at ./mmdebstrap line 861
main::run_progress(CODE(0x561c4e5e80b0), CODE(0x561c4e1abb10),
CODE(0x561c4e195af0), undef) called at ./mmdebstrap line 953
main::run_apt_progress(HASH(0x561c4e58dca8)) called at
./mmdebstrap line 1022
main::run_apt_download_progress(HASH(0x561c4e5800c0)) called at
./mmdebstrap line 2187
main::run_download(HASH(0x561c4e5fb2d8)) called at ./mmdebstrap
line 1650
main::setup(HASH(0x561c4e5fb2d8)) called at ./mmdebstrap line 5508
main::__ANON__() called at ./mmdebstrap line 653
main::get_unshare_cmd(CODE(0x561c4e5e7f18),
ARRAY(0x561c4e3fa270)) called at ./mmdebstrap line 5555
main::main() called at ./mmdebstrap line 5903
```
Interrupting the process with CTRL-C makes mmdebstrap generate this
additional output:
```
^CI: 3434314 5672 main() received signal INT: waiting for setup...
W: listening on child socket failed:
D: 3434314 5712 finish to listen for hooks
I: 3434314 5836 removing tempdir /tmp/mmdebstrap.BWrei226yQ...
E: mmdebstrap failed to run at ./mmdebstrap line 184.
main::error("mmdebstrap failed to run") called at ./mmdebstrap
line 5899
main::main() called at ./mmdebstrap line 5903
```
--
Gioele Barabucci