mmdebstrap: Show APT's dependency trace when in debug mode #24
Loading…
Reference in a new issue
No description provided.
Delete branch "gioele/mmdebstrap:debug-show-apt-resolution"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A dependency trace is a powerful tool to debug issues related to APT's selection of packages, especially in custom mode.
Thus it makes sense to ask APT to output a dependency trace when
mmdebstrap
is run with the--debug
flag.We never need this if apt succeeds, correct? If yes, and this is only about figuring out why apt failed to do what it was asked to do, then instead we should add some code that, if apt fails, runs apt again with better options and dumps the EDSP.
Personally, I also used this to understand why certain packages were brought it. In that case apt did not error out, but did not produce the result I was expecting.
That would be great, but I'm afraid it's above my current knowledge of
mmdebstrap
.a4b7239d71
to27fca53e1d
Added in
7ce6db0ca7
. Thanks!Pull request closed